Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples): Fix golang build for CI examples #5039

Merged
merged 1 commit into from
Feb 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/ci-output-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions examples/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down