From 5824fc6bb4fbee74d9016e4da97bc177b4d1f081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Este-Gracias?= Date: Sat, 6 Feb 2021 16:11:07 +0100 Subject: [PATCH] Fix golang build (#5039) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Este-Gracias --- examples/ci-output-artifact.yaml | 1 + examples/ci.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/ci-output-artifact.yaml b/examples/ci-output-artifact.yaml index 591fec3cea39..1a73f939e856 100644 --- a/examples/ci-output-artifact.yaml +++ b/examples/ci-output-artifact.yaml @@ -45,6 +45,7 @@ spec: path: /go/src/github.com/golang/example git: repo: https://github.com/golang/example.git + revision: cfe12d6 container: image: golang:1.8 command: [sh, -c] diff --git a/examples/ci.yaml b/examples/ci.yaml index cacbf972246e..b8e88927c6a8 100644 --- a/examples/ci.yaml +++ b/examples/ci.yaml @@ -5,12 +5,12 @@ metadata: spec: # entrypoint is the name of the template used as the starting point of the workflow entrypoint: ci-example - # the 'ci-example' template accepts an parameter 'revision', with a default of 'master'. + # the 'ci-example' template accepts an parameter 'revision', with a default of 'cfe12d6'. # this can be overridden via argo CLI (e.g. `argo submit ci.yaml -p revision=0dea2d0`) arguments: parameters: - name: revision - value: master + value: cfe12d6 # a temporary volume, named workdir, will be used as a working directory # for this workflow. This volume is passed around from step to step. volumeClaimTemplates: