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)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zeid, Assigned: zeid)

Details

(Keywords: conduit-triaged)

Attachments

(2 files)

No description provided.

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.

Attached file GitHub Pull Request
Attached file GitHub Pull Request
Keywords: conduit-triaged
Priority: -- → P2
Summary: Only push `latest` to Docker Hub for new release tags → Only push `release-*` to Docker Hub for new release tags

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
}

This has been applied

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: