@@ -503,63 +503,62 @@ jobs:
503503 params :
504504 image : image/image.tar
505505 additional_tags : candidate-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/.resource/version
506- - in_parallel :
507- - put : published-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)
508- params :
509- files :
510- - candidate-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/*.tgz
511- options :
512- author_email : *ci_bot_email
513- author_name : *ci_bot_name
514- message : ' publish (heavy): (@= data.values.stemcell_details.os_name @)/(@= str(data.values.stemcell_details.major_version) @).x'
515- rename : ' {{.Version}}/stemcells.meta4'
516- version : candidate-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/.resource/version
517- # @ if len(data.values.stemcell_details.include_fips_iaas) > 0 :
518- - put : published-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)
519- params :
520- files :
521- - candidate-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)/*.tgz
522- options :
523- author_email : *ci_bot_email
524- author_name : *ci_bot_name
525- message : ' publish (heavy): (@= data.values.stemcell_details.os_name @)-fips/(@= str(data.values.stemcell_details.major_version) @).x'
526- rename : ' {{.Version}}/stemcells.meta4'
527- version : candidate-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)/.resource/version
528- # @ end
529- - params :
530- files :
531- - candidate-aws-light-stemcell/*.tgz
532- options :
533- author_email : *ci_bot_email
534- author_name : *ci_bot_name
535- message : ' publish (light aws): (@= data.values.stemcell_details.os_name @)/(@= str(data.values.stemcell_details.major_version) @).x'
536- rename : ' {{.Version}}/stemcells.aws.meta4'
537- version : candidate-aws-light-stemcell/.resource/version
538- put : published-aws-light-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)
539-
540- # ! once we release all regions with the same account, we can unify these again
541- - file : bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
542- image : bosh-ecosystem-concourse-registry-image
543- task : tag-published-aws-ami-light-stemcells
544- params :
545- AWS_PAGER :
546- AWS_ACCESS_KEY_ID : ((aws_publish_us_access_key))
547- AWS_SECRET_ACCESS_KEY : ((aws_publish_us_secret_key))
548- GREP_PATTERN : grep -v 'gov-\|cn-'
549- - file : bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
550- image : bosh-ecosystem-concourse-registry-image
551- task : tag-gov-published-aws-ami-light-stemcells
552- params :
553- AWS_PAGER :
554- AWS_ACCESS_KEY_ID : ((aws_publish_us-gov_access_key))
555- AWS_SECRET_ACCESS_KEY : ((aws_publish_us-gov_secret_key))
556- GREP_PATTERN : grep 'gov-'
557- # ! - file: bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
558- # ! task: tag-china-published-aws-ami-light-stemcells
559- # ! params:
560- # ! AWS_ACCESS_KEY_ID: ((aws_publish_cn_access_key))
561- # ! AWS_SECRET_ACCESS_KEY: ((aws_publish_cn_secret_key))
562- # ! GREP_PATTERN: grep 'cn-'
506+ - put : published-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)
507+ params :
508+ files :
509+ - candidate-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/*.tgz
510+ options :
511+ author_email : *ci_bot_email
512+ author_name : *ci_bot_name
513+ message : ' publish (heavy): (@= data.values.stemcell_details.os_name @)/(@= str(data.values.stemcell_details.major_version) @).x'
514+ rename : ' {{.Version}}/stemcells.meta4'
515+ version : candidate-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/.resource/version
516+ # @ if len(data.values.stemcell_details.include_fips_iaas) > 0 :
517+ - put : published-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)
518+ params :
519+ files :
520+ - candidate-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)/*.tgz
521+ options :
522+ author_email : *ci_bot_email
523+ author_name : *ci_bot_name
524+ message : ' publish (heavy): (@= data.values.stemcell_details.os_name @)-fips/(@= str(data.values.stemcell_details.major_version) @).x'
525+ rename : ' {{.Version}}/stemcells.meta4'
526+ version : candidate-(@= data.values.stemcell_details.os_name @)-fips-stemcell-(@= str(data.values.stemcell_details.major_version) @)/.resource/version
527+ # @ end
528+ - params :
529+ files :
530+ - candidate-aws-light-stemcell/*.tgz
531+ options :
532+ author_email : *ci_bot_email
533+ author_name : *ci_bot_name
534+ message : ' publish (light aws): (@= data.values.stemcell_details.os_name @)/(@= str(data.values.stemcell_details.major_version) @).x'
535+ rename : ' {{.Version}}/stemcells.aws.meta4'
536+ version : candidate-aws-light-stemcell/.resource/version
537+ put : published-aws-light-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)
538+
539+ # ! once we release all regions with the same account, we can unify these again
540+ - file : bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
541+ image : bosh-ecosystem-concourse-registry-image
542+ task : tag-published-aws-ami-light-stemcells
543+ params :
544+ AWS_PAGER :
545+ AWS_ACCESS_KEY_ID : ((aws_publish_us_access_key))
546+ AWS_SECRET_ACCESS_KEY : ((aws_publish_us_secret_key))
547+ GREP_PATTERN : grep -v 'gov-\|cn-'
548+ - file : bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
549+ image : bosh-ecosystem-concourse-registry-image
550+ task : tag-gov-published-aws-ami-light-stemcells
551+ params :
552+ AWS_PAGER :
553+ AWS_ACCESS_KEY_ID : ((aws_publish_us-gov_access_key))
554+ AWS_SECRET_ACCESS_KEY : ((aws_publish_us-gov_secret_key))
555+ GREP_PATTERN : grep 'gov-'
556+ # ! - file: bosh-stemcells-ci/ci/tasks/light-aws/tag-aws-ami-light.yml
557+ # ! task: tag-china-published-aws-ami-light-stemcells
558+ # ! params:
559+ # ! AWS_ACCESS_KEY_ID: ((aws_publish_cn_access_key))
560+ # ! AWS_SECRET_ACCESS_KEY: ((aws_publish_cn_secret_key))
561+ # ! GREP_PATTERN: grep 'cn-'
563562 - params :
564563 files :
565564 - candidate-google-light-(@= data.values.stemcell_details.os_name @)-stemcell-(@= str(data.values.stemcell_details.major_version) @)/*.tgz
0 commit comments