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

Red Hat Konflux update client-server-cg #141

Closed
wants to merge 1 commit into from
Closed
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
21 changes: 5 additions & 16 deletions .tekton/client-server-cg-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && ( "Dockerfile.client-server-cg.rh".pathChanged() || ".tekton/.tekton/client-server-cg-pull-request.yaml".pathChanged())
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: cli
Expand All @@ -20,23 +21,15 @@ spec:
- name: dockerfile
value: Dockerfile.client-server-cg.rh
- name: git-url
value: '{{repo_url}}'
value: '{{source_url}}'
- name: image-expires-after
value: 5d
- name: output-image
value: quay.io/redhat-user-workloads/rhtas-tenant/cli/client-server-cg:on-pr-{{revision}}
- name: path-context
value: images
value: .
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: ''
- name: hermetic
# Temporary workaround related to https://github.com/securesign/sigstore-ocp/pull/160
value: "false"
# value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -100,10 +93,6 @@ spec:
description: Skip checks against built image
name: skip-checks
type: string
- default: "true"
description: Skip optional checks, set false if you want to run optional checks
name: skip-optional
type: string
- default: "false"
description: Execute the build with network isolation
name: hermetic
Expand Down Expand Up @@ -398,4 +387,4 @@ spec:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
status: {}
18 changes: 3 additions & 15 deletions .tekton/client-server-cg-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,13 @@ spec:
- name: dockerfile
value: Dockerfile.client-server-cg.rh
- name: git-url
value: '{{repo_url}}'
value: '{{source_url}}'
- name: output-image
value: quay.io/redhat-user-workloads/rhtas-tenant/cli/client-server-cg:{{revision}}
- name: path-context
value: images
value: .
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: ''
- name: hermetic
# Temporary workaround related to https://github.com/securesign/sigstore-ocp/pull/160
value: "false"
# value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -98,10 +90,6 @@ spec:
description: Skip checks against built image
name: skip-checks
type: string
- default: "true"
description: Skip optional checks, set false if you want to run optional checks
name: skip-optional
type: string
- default: "false"
description: Execute the build with network isolation
name: hermetic
Expand Down Expand Up @@ -396,4 +384,4 @@ spec:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
status: {}
Loading