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

[release-v1.16] Add Konflux configurations #1040

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
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: serverless-operator-136-enterprise-contract
name: serverless-operator-136-ec
spec:
params:
- name: POLICY_CONFIGURATION
value: rhtap-releng-tenant/registry-standard-stage
- name: TIMEOUT
value: "120m"
- name: WORKERS
value: "8"
application: serverless-operator-136
contexts:
- description: Application testing
name: application
name: push
resolverRef:
params:
- name: url
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: serverless-operator-136-ec-override-snapshot
spec:
params:
- name: POLICY_CONFIGURATION
value: rhtap-releng-tenant/registry-ocp-serverless-prod
- name: TIMEOUT
value: "120m"
- name: WORKERS
value: "8"
application: serverless-operator-136
contexts:
- description: Override Snapshot testing
name: override
resolverRef:
params:
- name: url
value: 'https://github.com/redhat-appstudio/build-definitions'
- name: revision
value: main
- name: pathInRepo
value: pipelines/enterprise-contract.yaml
resolver: git
50 changes: 50 additions & 0 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,56 @@ spec:
operator: in
values:
- "false"
- name: sast-shell-check
params:
- name: image-digest
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
runAfter:
- build-image-index
taskRef:
params:
- name: name
value: sast-shell-check-oci-ta
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:7553ec6925d0586b286502669b8e31a39dc73501f657426bac99019ac598d6ab
- name: kind
value: task
resolver: bundles
when:
- input: $(params.skip-checks)
operator: in
values:
- "false"
- name: sast-unicode-check
params:
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
runAfter:
- build-image-index
taskRef:
params:
- name: name
value: sast-shell-check-oci-ta
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:7553ec6925d0586b286502669b8e31a39dc73501f657426bac99019ac598d6ab
- name: kind
value: task
resolver: bundles
when:
- input: $(params.skip-checks)
operator: in
values:
- "false"
- name: push-dockerfile
params:
- name: IMAGE
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-activator-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/activator/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-activator-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/activator/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-autoscaler-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/autoscaler/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-autoscaler-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/autoscaler/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-autoscaler-hpa-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/autoscaler-hpa/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-autoscaler-hpa-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/autoscaler-hpa/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-cleanup-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/cleanup/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-cleanup-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/cleanup/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-controller-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/controller/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-controller-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/controller/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-default-domain-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/default-domain/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-default-domain-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/default-domain/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-queue-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/queue/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-queue-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/queue/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-images/migrate/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
3 changes: 2 additions & 1 deletion .tekton/kn-serving-storage-version-migration-116-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ spec:
value: openshift/ci-operator/knative-images/migrate/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -35,6 +35,7 @@ spec:
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-serving-test-autoscale-116-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
value: openshift/ci-operator/knative-test-images/autoscale/Dockerfile
- name: build-args
value:
- VERSION=1.36.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- VERSION=1.36.0
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
Loading
Loading