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

Update pipeline for new ws #75

Merged
merged 10 commits into from
Oct 18, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .tekton/cloudsqlproxy-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/cloudsqlproxy-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createcerts-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createcerts-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createctconfig-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createctconfig-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createdb-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createdb-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createtree-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/createtree-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: '{"path": ".", "type": "gomod"}'
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/ct-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: [{"path": ".", "type": "gomod"}, {"path": "./hack/build-assets", "type": "gomod"}]
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -367,6 +371,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
19 changes: 19 additions & 0 deletions .tekton/ct-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: hermetic
value: "true"
- name: prefetch-input
value: [{"path": ".", "type": "gomod"}, {"path": "./hack/build-assets", "type": "gomod"}]
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -364,6 +368,21 @@ spec:
operator: in
values:
- "false"
- name: run-unit-test
runAfter:
- prefetch-dependencies
taskRef:
params:
- name: name
value: go-unit-test
- name: bundle
value: quay.io/securesign/scaffolding-unit-test@sha256:0cc9a9c7c2c452f42eb7877c0d09888d0716e9689cce4abf980f57d8b7d3a995
- name: kind
value: task
resolver: bundles
workspaces:
- name: source
workspace: workspace
workspaces:
- name: workspace
- name: git-auth
Expand Down
Loading