Skip to content

Commit

Permalink
Attempt to fix TestYamls
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored and tekton-robot committed Apr 15, 2022
1 parent c84c0fe commit ba2e7f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
steps:
- name: clone
image: ko://github.com/tektoncd/pipeline/cmd/git-init
securityContext:
runAsUser: 0 # This needs root, and git-init is nonroot by default
script: |
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"
Expand Down
2 changes: 2 additions & 0 deletions test/yamls/v1beta1/pipelineruns/pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
steps:
- name: clone
image: ko://github.com/tektoncd/pipeline/cmd/git-init
securityContext:
runAsUser: 0 # This needs root, and git-init is nonroot by default
script: |
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"
cleandir() {
Expand Down

0 comments on commit ba2e7f3

Please sign in to comment.