11# @ load("@ytt:data", "data")
22# @yaml/text-templated-strings
3+ anchors :
4+ ci_bot :
5+ email : &ci_bot_email bots@cloudfoundry.org
6+ name : &ci_bot_name CI Bot
37
48groups :
59- name : build
@@ -256,9 +260,9 @@ jobs:
256260 - usn-log/usn-log.json
257261 rename : (@= data.values.stemcell_details.branch @)/(@= data.values.stemcell_details.os_name @).meta4
258262 options :
259- author_email : ci@localhost
260- author_name : CI Bot
261- message : ' [ci skip] bump OS image'
263+ author_email : *ci_bot_email
264+ author_name : *ci_bot_name
265+ message : ' Bump os- image tgz '
262266 version : version/version
263267 - put : os-image-version
264268 params :
@@ -493,8 +497,8 @@ jobs:
493497 - stemcell/*.tgz
494498 rename : " {{.Version}}/(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)-go_agent.meta4"
495499 options :
496- author_email : ci@localhost
497- author_name : CI Bot
500+ author_email : *ci_bot_email
501+ author_name : *ci_bot_name
498502 message : ' dev: (@= data.values.stemcell_details.os_name @)'
499503 version : candidate-build-number/number
500504# @ end
@@ -627,7 +631,10 @@ jobs:
627631 - task : commit-build-time
628632 file : bosh-stemcells-ci/ci/tasks/commit-build-time.yml
629633 image : os-image-stemcell-builder-registry-image
630- # @ if len(data.values.stemcell_details.include_fips_iaas) > 0:
634+ params :
635+ GIT_USER_EMAIL : *ci_bot_email
636+ GIT_USER_NAME : *ci_bot_name
637+ # @ if len(data.values.stemcell_details.include_fips_iaas) > 0:
631638 - task : copy-fips-artifacts
632639 file : bosh-stemcells-ci/ci/tasks/publish.yml
633640 image : bosh-integration-image
@@ -647,7 +654,9 @@ jobs:
647654 TO_INDEX : candidate
648655 AWS_ENDPOINT : " https://storage.googleapis.com"
649656 S3_API_ENDPOINT : storage.googleapis.com
650- # @ end
657+ GIT_USER_EMAIL : *ci_bot_email
658+ GIT_USER_NAME : *ci_bot_name
659+ # @ end
651660 - task : copy-artifacts
652661 file : bosh-stemcells-ci/ci/tasks/publish.yml
653662 image : bosh-integration-image
@@ -667,6 +676,8 @@ jobs:
667676 TO_INDEX : candidate
668677 AWS_ENDPOINT : " https://storage.googleapis.com"
669678 S3_API_ENDPOINT : storage.googleapis.com
679+ GIT_USER_EMAIL : *ci_bot_email
680+ GIT_USER_NAME : *ci_bot_name
670681 - in_parallel :
671682 - put : bosh-linux-stemcell-builder-push-tags
672683 no_get : true
@@ -753,8 +764,8 @@ jobs:
753764 output_mapping :
754765 output-repo : bosh-linux-stemcell-builder
755766 params :
756- GIT_USER_NAME : CI Bot
757- GIT_USER_EMAIL : bots@cloudfoundry.org
767+ GIT_USER_EMAIL : *ci_bot_email
768+ GIT_USER_NAME : *ci_bot_name
758769 PACKAGE : ruby-((.:ruby_version))
759770 VENDOR : true
760771 - task : test-unit
@@ -817,6 +828,9 @@ jobs:
817828 - task : bump
818829 file : bosh-stemcells-ci/ci/tasks/bump-bosh-agent.yml
819830 image : bosh-integration-image
831+ params :
832+ GIT_USER_EMAIL : *ci_bot_email
833+ GIT_USER_NAME : *ci_bot_name
820834 - put : bosh-linux-stemcell-builder-push
821835 params :
822836 rebase : true
@@ -837,6 +851,8 @@ jobs:
837851 image : bosh-integration-image
838852 params :
839853 BLOBSTORE_TYPE : (@= blobstore_type @)
854+ GIT_USER_EMAIL : *ci_bot_email
855+ GIT_USER_NAME : *ci_bot_name
840856 - put : bosh-linux-stemcell-builder-push
841857 params :
842858 rebase : true
0 commit comments