Closed
Bug 1704897
Opened 4 years ago
Closed 3 years ago
Only push `release-*` to Docker Hub for new release tags
Categories
(Conduit :: Lando, enhancement, P2)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zeid, Assigned: zeid)
Details
(Keywords: conduit-triaged)
Attachments
(2 files)
No description provided.
Comment 1•4 years ago
|
||
Per discussion elsewhere, the goal is to push to dockerhub only for revisions on the default branch which have a signed tag of a specific format.
Untagged references may be built, but will not be published to dockerhub.
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Keywords: conduit-triaged
Priority: -- → P2
Assignee | ||
Updated•4 years ago
|
Summary: Only push `latest` to Docker Hub for new release tags → Only push `release-*` to Docker Hub for new release tags
Comment 4•4 years ago
|
||
We can test this tomorrow - updating the Jenkins syntax to match the new image tags will be similar to:
if (Tag ==~ /release-\d+/) {
build job: 'gcp-pipelines/landoui/landoui-dev', parameters: [
[$class: 'StringParameterValue', name: 'ImageTag', value: Tag]], wait: false
}
Comment 5•3 years ago
|
||
And the location to update this snippet is https://ops-master.jenkinsv2.prod.mozaws.net/job/dockerhub/job/mozilla/job/landoui/configure and https://ops-master.jenkinsv2.prod.mozaws.net/job/dockerhub/job/mozilla/job/landoapi/configure
Comment 6•3 years ago
|
||
This has been applied
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Comment 7•3 years ago
|
||
if (Tag == 'develop-latest') {
build job: 'gcp-pipelines/landoui/landoui-dev', parameters: [
[$class: 'StringParameterValue', name: 'ImageTag', value: "develop-latest"]], wait: false
} else if (Tag ==~ /release-\d+/) {
build job: 'gcp-pipelines/landoui/landoui', parameters: [
[$class: 'StringParameterValue', name: 'ImageTag', value: Tag]], wait: false
}
if (Tag == 'develop-latest') {
build job: 'gcp-pipelines/landoui/landoapi-dev', parameters: [
[$class: 'StringParameterValue', name: 'ImageTag', value: "develop-latest"]], wait: false
} else if (Tag ==~ /release-\d+/) {
build job: 'gcp-pipelines/landoui/landoapi', parameters: [
[$class: 'StringParameterValue', name: 'ImageTag', value: Tag]], wait: false
}
You need to log in
before you can comment on or make changes to this bug.
Description
•