Skip to content

[release-v1.17] Update Konflux configurations #494

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

Open
wants to merge 1 commit into
base: release-v1.17
Choose a base branch
from
Open
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
24 changes: 18 additions & 6 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
creationTimestamp:
creationTimestamp: null
labels:
pipelines.openshift.io/runtime: generic
pipelines.openshift.io/strategy: docker
Expand Down Expand Up @@ -33,7 +33,8 @@ spec:
- linux/arm64
- linux/ppc64le
- linux/s390x
description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller.
description: List of platforms to build the container images on. The available
set of values is determined by the configuration of the multi-platform-controller.
name: build-platforms
type: array
- default: --all-projects --org=3e1a4cca-ebfb-495f-b64c-3cc960d566b4 --exclude=test*,vendor,third_party
Expand All @@ -45,7 +46,8 @@ spec:
name: build-source-image
type: string
- default: "false"
description: 'Enable in-development package managers. WARNING: the behavior may change at any time without notice. Use at your own risk.'
description: 'Enable in-development package managers. WARNING: the behavior may
change at any time without notice. Use at your own risk.'
name: prefetch-input-dev-package-managers
- default: []
description: Additional image tags
Expand All @@ -62,11 +64,13 @@ spec:
name: output-image
type: string
- default: .
description: Path to the source code of an application's component from where to build image.
description: Path to the source code of an application's component from where
to build image.
name: path-context
type: string
- default: Dockerfile
description: Path to the Dockerfile inside the context specified by parameter path-context
description: Path to the Dockerfile inside the context specified by parameter
path-context
name: dockerfile
type: string
- default: "false"
Expand All @@ -86,7 +90,8 @@ spec:
name: prefetch-input
type: string
- default: ""
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
description: Image tag expiration time, time values could be something like 1h,
2d, 3w for hours, days, and weeks, respectively.
name: image-expires-after
- default: "true"
description: Add built image into an OCI image index
Expand All @@ -100,6 +105,11 @@ spec:
description: Path to a file with build arguments for buildah, see https://www.mankier.com/1/buildah-build#--build-arg-file
name: build-args-file
type: string
- default: "false"
description: Whether to enable privileged mode, should be used only with remote
VMs
name: privileged-nested
type: string
results:
- description: ""
name: IMAGE_URL
Expand Down Expand Up @@ -259,6 +269,8 @@ spec:
- $(params.build-args[*])
- name: BUILD_ARGS_FILE
value: $(params.build-args-file)
- name: PRIVILEGED_NESTED
value: $(params.privileged-nested)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
Expand Down
13 changes: 12 additions & 1 deletion .tekton/kn-eventing-istio-controller-117-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ spec:
value: openshift/ci-operator/knative-images/controller/Dockerfile
- name: build-args
value:
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
- 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
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
- VERSION=1.37.0
- name: git-url
value: '{{source_url}}'
Expand All @@ -39,6 +41,15 @@ spec:
- linux/x86_64
- name: revision
value: '{{revision}}'
taskRunSpecs:
- pipelineTaskName: sast-shell-check
stepSpecs:
- name: sast-shell-check
computeResources:
requests:
memory: 4Gi
limits:
memory: 4Gi
pipelineRef:
name: docker-build
taskRunTemplate: {}
Expand Down
13 changes: 12 additions & 1 deletion .tekton/kn-eventing-istio-controller-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ spec:
value: openshift/ci-operator/knative-images/controller/Dockerfile
- name: build-args
value:
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
- 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
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
- VERSION=1.37.0
- name: git-url
value: '{{source_url}}'
Expand All @@ -38,6 +40,15 @@ spec:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- latest
taskRunSpecs:
- pipelineTaskName: sast-shell-check
stepSpecs:
- name: sast-shell-check
computeResources:
requests:
memory: 4Gi
limits:
memory: 4Gi
pipelineRef:
name: docker-build
taskRunTemplate: {}
Expand Down