Skip to content

Commit

Permalink
reorder tasks so the old behevior of tagging is kept
Browse files Browse the repository at this point in the history
before the reorder of these tasks the version-tag/tag was set by the latest task in this case the fips build.
  • Loading branch information
ramonskie committed Dec 4, 2023
1 parent dd3ea8a commit d492042
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions pipelines/ubuntu-jammy/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ jobs:
params:
OPERATING_SYSTEM_NAME: ubuntu
OPERATING_SYSTEM_VERSION: (@= stemcell.os @)
#! UBUNTU_ADVANTAGE_TOKEN: ((ubuntu_advantage_token))
privileged: true
vars:
image_os_tag: (@= stemcell.os @)
Expand Down Expand Up @@ -551,6 +550,22 @@ jobs:
trigger: true
- task: assert-version-aligns
file: bosh-stemcells-ci/tasks/assert-version-aligns.yml
- task: copy-fips-artifacts
file: bosh-stemcells-ci/tasks/publish.yml
params:
AWS_ACCESS_KEY_ID: ((hmac_accesskey))
AWS_SECRET_ACCESS_KEY: ((hmac_secret))
COMMIT_PREFIX: candidate
COPY_KEYS: |
aws/bosh-stemcell-%s-aws-xen-hvm-ubuntu-(@= stemcell.os @)-fips-go_agent.tgz
FROM_BUCKET_NAME: bosh-core-stemcells-candidate-fips
FROM_INDEX: dev
OS_NAME: ubuntu
OS_VERSION: (@= stemcell.os @)-fips
TO_BUCKET_NAME: bosh-core-stemcells-candidate-fips
TO_INDEX: candidate
AWS_ENDPOINT: "https://storage.googleapis.com"
S3_API_ENDPOINT: storage.googleapis.com
- task: copy-artifacts
file: bosh-stemcells-ci/tasks/publish.yml
params:
Expand All @@ -574,22 +589,6 @@ jobs:
TO_INDEX: candidate
AWS_ENDPOINT: "https://storage.googleapis.com"
S3_API_ENDPOINT: storage.googleapis.com
- task: copy-fips-artifacts
file: bosh-stemcells-ci/tasks/publish.yml
params:
AWS_ACCESS_KEY_ID: ((hmac_accesskey))
AWS_SECRET_ACCESS_KEY: ((hmac_secret))
COMMIT_PREFIX: candidate
COPY_KEYS: |
aws/bosh-stemcell-%s-aws-xen-hvm-ubuntu-(@= stemcell.os @)-fips-go_agent.tgz
FROM_BUCKET_NAME: bosh-core-stemcells-candidate-fips
FROM_INDEX: dev
OS_NAME: ubuntu
OS_VERSION: (@= stemcell.os @)-fips
TO_BUCKET_NAME: bosh-core-stemcells-candidate-fips
TO_INDEX: candidate
AWS_ENDPOINT: "https://storage.googleapis.com"
S3_API_ENDPOINT: storage.googleapis.com
- in_parallel:
- put: bosh-linux-stemcell-builder-push-(@= stemcell.version @)
params:
Expand Down

0 comments on commit d492042

Please sign in to comment.