From a46cf2b512ca7017232e1ef492a3a445197b6c02 Mon Sep 17 00:00:00 2001 From: Alex Rocha Date: Thu, 6 Oct 2022 21:12:06 +0000 Subject: [PATCH] Previously these were stored in the private ci repo Co-authored-by: Alex Rocha Co-authored-by: David Alvarado --- ci/pipeline.yml | 1 + ci/update-packages/update_golang_package.sh | 2 +- ci/update-packages/update_golang_package.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 214a6e66..4aeb53f4 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -521,6 +521,7 @@ jobs: - task: update-golang-package params: GO_VERSION: 1 + PRIVATE_YAML: ((capi_release_private_yaml)) file: capi-ci/ci/update-packages/update_golang_package.yml - put: capi-release-develop params: diff --git a/ci/update-packages/update_golang_package.sh b/ci/update-packages/update_golang_package.sh index e03d886b..e4af64cd 100755 --- a/ci/update-packages/update_golang_package.sh +++ b/ci/update-packages/update_golang_package.sh @@ -2,7 +2,7 @@ set -e -x -cp $PWD/capi-ci-private/ci/private.yml $PWD/capi-release/config/private.yml +echo "${PRIVATE_YAML}" > $PWD/capi-release/config/private.yml pushd golang-release new_go_version=$(bosh blobs | grep linux | grep go${GO_VERSION} | cut -d . -f 1-3 | sort | tail -1) diff --git a/ci/update-packages/update_golang_package.yml b/ci/update-packages/update_golang_package.yml index c48ef6b7..ea7f6d00 100644 --- a/ci/update-packages/update_golang_package.yml +++ b/ci/update-packages/update_golang_package.yml @@ -17,6 +17,7 @@ image_resource: params: GO_VERSION: + PRIVATE_YAML: run: path: capi-ci/ci/update-packages/update_golang_package.sh