Skip to content

Commit

Permalink
Use workingDir instead of workingdir 🐺
Browse files Browse the repository at this point in the history
Just use the correct camelcase field.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Mar 4, 2020
1 parent c1dcad8 commit 55033bb
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion conftest/conftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:

steps:
- name: conftest
workingdir: /workspace/source
workingDir: /workspace/source
image: instrumenta/conftest:latest
command:
- conftest
Expand Down
2 changes: 1 addition & 1 deletion conftest/helm-conftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:

steps:
- name: helm-conftest
workingdir: /workspace/source
workingDir: /workspace/source
image: instrumenta/helm-conftest:latest
command:
- helm
Expand Down
2 changes: 1 addition & 1 deletion golang/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
steps:
- name: build
image: golang:$(inputs.params.version)
workingdir: /workspace/src/$(inputs.params.package)
workingDir: /workspace/src/$(inputs.params.package)
script: |
go build $(inputs.params.flags) $(inputs.params.packages)
env:
Expand Down
2 changes: 1 addition & 1 deletion golang/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
steps:
- name: lint
image: golangci/golangci-lint:$(inputs.params.version)
workingdir: /workspace/src/$(inputs.params.package)
workingDir: /workspace/src/$(inputs.params.package)
script: |
golangci-lint run $(inputs.params.flags)
env:
Expand Down
2 changes: 1 addition & 1 deletion golang/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
steps:
- name: unit-test
image: golang:$(inputs.params.version)
workingdir: /workspace/src/$(inputs.params.package)
workingDir: /workspace/src/$(inputs.params.package)
script: |
go test $(inputs.params.flags) $(inputs.params.packages)
env:
Expand Down
2 changes: 1 addition & 1 deletion kaniko/kaniko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:

steps:
- name: build-and-push
workingdir: /workspace/source
workingDir: /workspace/source
image: $(inputs.params.BUILDER_IMAGE)
# specifying DOCKER_CONFIG is required to allow kaniko to detect docker credential
# https://github.com/tektoncd/pipeline/pull/706
Expand Down
2 changes: 1 addition & 1 deletion kubeval/kubeval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:

steps:
- name: kubeval
workingdir: /workspace/source
workingDir: /workspace/source
image: garethr/kubeval:latest
command:
- kubeval
Expand Down
2 changes: 1 addition & 1 deletion makisu/makisu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
steps:
- name: build-and-push
image: gcr.io/makisu-project/makisu:v0.1.10
workingdir: /workspace/source
workingDir: /workspace/source
command:
- /makisu-internal/makisu
- build
Expand Down
2 changes: 1 addition & 1 deletion maven/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ spec:
steps:
- name: mvn-settings
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
workingdir: /.m2
workingDir: /.m2
command:
- '/bin/bash'
- '-c'
Expand Down
2 changes: 1 addition & 1 deletion maven/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
steps:
- name: mvn-settings
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
workingdir: /.m2
workingDir: /.m2
command:
- '/bin/bash'
- '-c'
Expand Down
4 changes: 2 additions & 2 deletions s2i/s2i.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
volumeMounts:
- mountPath: /gen-source
name: gen-source
workingdir: /workspace/source
workingDir: /workspace/source
- command:
- buildah
- bud
Expand All @@ -58,7 +58,7 @@ spec:
name: varlibcontainers
- mountPath: /gen-source
name: gen-source
workingdir: /gen-source
workingDir: /gen-source
- command:
- buildah
- push
Expand Down

0 comments on commit 55033bb

Please sign in to comment.