Skip to content

Commit

Permalink
Restore builder/home for publish nightly
Browse files Browse the repository at this point in the history
This was changes in tektoncd#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.
  • Loading branch information
afrittoli committed Dec 3, 2019
1 parent f4ce23c commit 54adf9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tekton/publish-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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=(
Expand Down

0 comments on commit 54adf9e

Please sign in to comment.