Skip to content

Commit 3811cb2

Browse files
committed
CI: add bump-deps job for golang (acceptance-tests)
1 parent 40e96e4 commit 3811cb2

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

ci/pipelines/builder.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ groups:
2323
- name: auto-bumps
2424
jobs:
2525
- bump-deps
26+
- bump-golang-deps
2627
- bump-bosh-agent
2728
#@ for blobstore_type in data.values.blobstore_types:
2829
- bump-bosh-blobstore-(@= blobstore_type @)
@@ -765,6 +766,43 @@ jobs:
765766
repository: bosh-linux-stemcell-builder
766767
rebase: true
767768

769+
- name: bump-golang-deps
770+
plan:
771+
- get: weekly
772+
trigger: true
773+
- get: bosh-stemcells-ci
774+
- get: bosh-linux-stemcell-builder
775+
- get: bosh-integration-image
776+
- get: golang-release
777+
- task: bump-deps
778+
file: golang-release/ci/tasks/shared/bump-deps.yml
779+
input_mapping:
780+
input_repo: bosh-linux-stemcell-builder
781+
output_mapping:
782+
output_repo: bosh-linux-stemcell-builder
783+
params:
784+
SOURCE_PATH: acceptance-tests/
785+
- task: acceptance-tests-dry-run
786+
image: bosh-integration-image
787+
config:
788+
platform: linux
789+
inputs:
790+
- name: bosh-linux-stemcell-builder
791+
run:
792+
path: /bin/bash
793+
args:
794+
- -c
795+
- |
796+
set -eu -o pipefail
797+
cd bosh-linux-stemcell-builder/acceptance-tests/
798+
go run github.com/onsi/ginkgo/v2/ginkgo run -r --dry-run .
799+
outputs:
800+
- name: os-image-stemcell-builder-dockerfile
801+
- put: bosh-linux-stemcell-builder-push
802+
params:
803+
repository: bosh-linux-stemcell-builder
804+
rebase: true
805+
768806
- name: bump-bosh-agent
769807
plan:
770808
- get: bosh-agent
@@ -1081,6 +1119,12 @@ resources:
10811119
source:
10821120
uri: https://github.com/cloudfoundry/bosh-package-ruby-release.git
10831121

1122+
- name: golang-release
1123+
type: git
1124+
source:
1125+
uri: https://github.com/cloudfoundry/bosh-package-golang-release.git
1126+
branch: main
1127+
10841128
- name: ubuntu_base
10851129
type: registry-image
10861130
source:

0 commit comments

Comments
 (0)