From 54adf9e2edfcef12a24105450813dfb671467431 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Tue, 3 Dec 2019 11:48:42 +0000 Subject: [PATCH] Restore builder/home for publish nightly This was changes in https://github.com/tektoncd/pipeline/pull/1628, however since this task runs on Tekton 0.3.1, we need to stick with /builder/home there, at least until we get rid of Tekton 0.3.1 in the Prow cluster. --- tekton/publish-nightly.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tekton/publish-nightly.yaml b/tekton/publish-nightly.yaml index 32b20cdb080..ef3841c346d 100644 --- a/tekton/publish-nightly.yaml +++ b/tekton/publish-nightly.yaml @@ -105,7 +105,7 @@ spec: DATE=$(date +"%Y%m%d") VERSION_TAG="$DATE-$COMMIT" - echo $VERSION_TAG > "/tekton/home/version" + echo $VERSION_TAG > "/builder/home/version" - name: run-ko # TODO(#639) we should be able to use the image built by an upstream Task here instead of hardcoding @@ -126,7 +126,7 @@ spec: set -x # TODO(https://github.com/tektoncd/triggers/issues/87) if the versionTag could be generated dynamically, we could use the same Task for nightly + official releases - export VERSION_TAG="$(cat /tekton/home/version)" + export VERSION_TAG="$(cat /builder/home/version)" # Auth with CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE gcloud auth configure-docker @@ -170,7 +170,7 @@ spec: cd /workspace/bucket # TODO(https://github.com/tektoncd/triggers/issues/87) if the versionTag could be generated dynamically, we could use the same Task for nightly + official releases - export VERSION_TAG="$(cat /tekton/home/version)" + export VERSION_TAG="$(cat /builder/home/version)" mkdir -p /workspace/bucket/previous/$VERSION_TAG/ cp /workspace/bucket/latest/release.yaml /workspace/bucket/previous/$VERSION_TAG/release.yaml @@ -186,7 +186,7 @@ spec: set -x # TODO(https://github.com/tektoncd/triggers/issues/87) if the versionTag could be generated dynamically, we could use the same Task for nightly + official releases - export VERSION_TAG="$(cat /tekton/home/version)" + export VERSION_TAG="$(cat /builder/home/version)" REGIONS=(us eu asia) IMAGES=(