mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-28 06:30:40 +00:00
Use workingDir instead of workingdir 🐺
Just use the correct camelcase field. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
This commit is contained in:
parent
c1dcad81d5
commit
55033bb02a
@ -21,7 +21,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: conftest
|
- name: conftest
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
image: instrumenta/conftest:latest
|
image: instrumenta/conftest:latest
|
||||||
command:
|
command:
|
||||||
- conftest
|
- conftest
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: helm-conftest
|
- name: helm-conftest
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
image: instrumenta/helm-conftest:latest
|
image: instrumenta/helm-conftest:latest
|
||||||
command:
|
command:
|
||||||
- helm
|
- helm
|
||||||
|
@ -32,7 +32,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:$(inputs.params.version)
|
image: golang:$(inputs.params.version)
|
||||||
workingdir: /workspace/src/$(inputs.params.package)
|
workingDir: /workspace/src/$(inputs.params.package)
|
||||||
script: |
|
script: |
|
||||||
go build $(inputs.params.flags) $(inputs.params.packages)
|
go build $(inputs.params.flags) $(inputs.params.packages)
|
||||||
env:
|
env:
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:$(inputs.params.version)
|
image: golangci/golangci-lint:$(inputs.params.version)
|
||||||
workingdir: /workspace/src/$(inputs.params.package)
|
workingDir: /workspace/src/$(inputs.params.package)
|
||||||
script: |
|
script: |
|
||||||
golangci-lint run $(inputs.params.flags)
|
golangci-lint run $(inputs.params.flags)
|
||||||
env:
|
env:
|
||||||
|
@ -32,7 +32,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: unit-test
|
- name: unit-test
|
||||||
image: golang:$(inputs.params.version)
|
image: golang:$(inputs.params.version)
|
||||||
workingdir: /workspace/src/$(inputs.params.package)
|
workingDir: /workspace/src/$(inputs.params.package)
|
||||||
script: |
|
script: |
|
||||||
go test $(inputs.params.flags) $(inputs.params.packages)
|
go test $(inputs.params.flags) $(inputs.params.packages)
|
||||||
env:
|
env:
|
||||||
|
@ -27,7 +27,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
image: $(inputs.params.BUILDER_IMAGE)
|
image: $(inputs.params.BUILDER_IMAGE)
|
||||||
# specifying DOCKER_CONFIG is required to allow kaniko to detect docker credential
|
# specifying DOCKER_CONFIG is required to allow kaniko to detect docker credential
|
||||||
# https://github.com/tektoncd/pipeline/pull/706
|
# https://github.com/tektoncd/pipeline/pull/706
|
||||||
|
@ -19,7 +19,7 @@ spec:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: kubeval
|
- name: kubeval
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
image: garethr/kubeval:latest
|
image: garethr/kubeval:latest
|
||||||
command:
|
command:
|
||||||
- kubeval
|
- kubeval
|
||||||
|
@ -27,7 +27,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: gcr.io/makisu-project/makisu:v0.1.10
|
image: gcr.io/makisu-project/makisu:v0.1.10
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
command:
|
command:
|
||||||
- /makisu-internal/makisu
|
- /makisu-internal/makisu
|
||||||
- build
|
- build
|
||||||
|
@ -110,7 +110,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: mvn-settings
|
- name: mvn-settings
|
||||||
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
|
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||||
workingdir: /.m2
|
workingDir: /.m2
|
||||||
command:
|
command:
|
||||||
- '/bin/bash'
|
- '/bin/bash'
|
||||||
- '-c'
|
- '-c'
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: mvn-settings
|
- name: mvn-settings
|
||||||
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
|
image: registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||||
workingdir: /.m2
|
workingDir: /.m2
|
||||||
command:
|
command:
|
||||||
- '/bin/bash'
|
- '/bin/bash'
|
||||||
- '-c'
|
- '-c'
|
||||||
|
@ -38,7 +38,7 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /gen-source
|
- mountPath: /gen-source
|
||||||
name: gen-source
|
name: gen-source
|
||||||
workingdir: /workspace/source
|
workingDir: /workspace/source
|
||||||
- command:
|
- command:
|
||||||
- buildah
|
- buildah
|
||||||
- bud
|
- bud
|
||||||
@ -58,7 +58,7 @@ spec:
|
|||||||
name: varlibcontainers
|
name: varlibcontainers
|
||||||
- mountPath: /gen-source
|
- mountPath: /gen-source
|
||||||
name: gen-source
|
name: gen-source
|
||||||
workingdir: /gen-source
|
workingDir: /gen-source
|
||||||
- command:
|
- command:
|
||||||
- buildah
|
- buildah
|
||||||
- push
|
- push
|
||||||
|
Loading…
Reference in New Issue
Block a user