Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
101 changes: 31 additions & 70 deletions update.sh/vars.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def defaultRepoMeta = [
['url', '[email protected]:docker-library/%%REPO%%.git'],
['oi-fork', '[email protected]:docker-library-bot/official-images.git'],
['pipeline-script', 'update.sh/target-pipeline.groovy'],
['pipeline-script', 'update.sh/versions-pipeline.groovy'],
['env', '.+_VERSION'], // gawk regex, anchored
['otherEnvs', []],
['branch-base', 'master'], // branch to check out from
Expand All @@ -13,91 +13,51 @@ def defaultRepoMeta = [
['bot-branch', true],
]
def rawReposData = [
['buildpack-deps', []],
['busybox', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'env': 'BUSYBOX_VERSION',
'update-script': 'true', // TODO determine if more can/should be done here
]],
['cassandra', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['docker', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['drupal', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['gcc', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['cassandra', []],
['docker', []],
['drupal', []],
['gcc', []],
['ghost', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'env': 'GHOST_VERSION',
'otherEnvs': [
['ghost-cli', 'GHOST_CLI_VERSION'],
],
]],
Comment on lines 26 to 32
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker-library/ghost#456 will make this nice and clean too 👀

Suggested change
['ghost', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'env': 'GHOST_VERSION',
'otherEnvs': [
['ghost-cli', 'GHOST_CLI_VERSION'],
],
]],
['ghost', []],

['golang', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['haproxy', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
['golang', []],
['haproxy', []],
['hello-world', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'update-script': 'true',
]],
['httpd', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'env': 'HTTPD_VERSION',
'otherEnvs': [
['nghttp2', 'NGHTTP2_VERSION'],
['openssl', 'OPENSSL_VERSION'],
],
]],
['julia', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['memcached', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['mongo', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['mysql', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['openjdk', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['php', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['postgres', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['pypy', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['python', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['rabbitmq', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['redmine', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['ruby', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['tomcat', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['wordpress', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],

// versionless
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This diff is a little bit more annoying than it might otherwise have been because I moved these up since "versionless" doesn't really have as much meaning as it did now that we don't scrape version numbers from metadata stored here.)

['buildpack-deps', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
]],
['hello-world', [
'update-script': 'true',
]],
['julia', []],
['memcached', []],
['mongo', []],
['mysql', []],
['openjdk', []],
['php', []],
['postgres', []],
['pypy', []],
['python', []],
['rabbitmq', []],
['redmine', []],
['ruby', []],
['tomcat', []],
['wordpress', []],

// TODO it would be great to have one of these jobs per namespace ("mcr.microsoft.com/windows", "redhat", etc.)
['external-pins', [
Expand All @@ -106,28 +66,29 @@ def rawReposData = [

// tianon
['bash', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
'url': '[email protected]:tianon/docker-bash.git',
]],
['cirros', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'url': '[email protected]:tianon/docker-brew-cirros.git',
'update-script': 'true',
]],
['irssi', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'url': '[email protected]:jessfraz/irssi.git',
'env': 'IRSSI_VERSION',
]],

// pierreozoux
['matomo', [
'pipeline-script': 'update.sh/legacy-pipeline.groovy',
'url': '[email protected]:matomo-org/docker.git',
'env': 'MATOMO_VERSION',
'bot-branch': false,
]],

// paultag
['hylang', [
'pipeline-script': 'update.sh/versions-pipeline.groovy',
'url': '[email protected]:hylang/docker-hylang.git',
]],
]
Expand Down