Skip to content
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
39 changes: 22 additions & 17 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
creationTimestamp:
labels:
pipelines.openshift.io/runtime: generic
pipelines.openshift.io/strategy: docker
Expand All @@ -19,7 +18,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 @@ -31,7 +31,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 @@ -48,11 +49,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 @@ -72,17 +75,22 @@ 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
type: string
- default: "true"
description: Add built image into an OCI image index
name: build-image-index
type: string
- default: docker
description: The format for the resulting image's mediaType. Valid values are oci or docker.
description: The format for the resulting image's mediaType. Valid values are
oci or docker.
name: buildah-format
type: string
- default: "false"
description: Enable cache proxy configuration
name: enable-cache-proxy
- default: []
description: Array of --build-arg values ("arg=value" strings) for buildah
name: build-args
Expand All @@ -92,13 +100,10 @@ spec:
name: build-args-file
type: string
- default: "false"
description: Whether to enable privileged mode, should be used only with remote VMs
description: Whether to enable privileged mode, should be used only with remote
VMs
name: privileged-nested
type: string
- name: enable-cache-proxy
default: 'false'
description: Enable cache proxy configuration
type: string
results:
- description: ""
name: IMAGE_URL
Expand Down Expand Up @@ -268,16 +273,16 @@ spec:
value: $(tasks.clone-repository.results.url)
- name: BUILDAH_FORMAT
value: $(params.buildah-format)
- name: HTTP_PROXY
value: $(tasks.init.results.http-proxy)
- name: NO_PROXY
value: $(tasks.init.results.no-proxy)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
- name: IMAGE_APPEND_PLATFORM
value: "true"
- name: HTTP_PROXY
value: $(tasks.init.results.http-proxy)
- name: NO_PROXY
value: $(tasks.init.results.no-proxy)
runAfter:
- prefetch-dependencies
taskRef:
Expand Down Expand Up @@ -544,7 +549,7 @@ spec:
- name: name
value: rpms-signature-scan
- name: bundle
value: quay.io/konflux-ci/konflux-vanguard/task-rpms-signature-scan:0.2@sha256:da66f14b1a3f2c2ec1e02a3183941ee4230ea4ac4a36515342c97bdb2fe905e0
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:f2df541f49b5310f343b55f58b0881a46a2b46c5df39a9c34563c5042b106f6f
- name: kind
value: task
resolver: bundles
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-cli-artifacts-117-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-cli-artifacts-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-kn-117-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-kn-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-grpc-ping-117-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-test-grpc-ping-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-helloworld-117-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-test-helloworld-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-test-servingcontainer-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand Down
4 changes: 2 additions & 2 deletions .tekton/kn-client-test-sidecarcontainer-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi9/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi9/nodejs-20
- VERSION=1.37.0
- VERSION=1.37.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -39,7 +39,7 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.37.0
- 1.37.1
- latest
- name: prefetch-input
value: '[{"type":"rpm"}]'
Expand Down
4 changes: 2 additions & 2 deletions openshift/ci-operator/knative-images/cli-artifacts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ WORKDIR /workspace
# Allow copying from higher directory when context is limited
COPY . .
ENV TAG="v1.17.0"
ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel9@sha256:13db3b2ff6284a4c41dcc15b720d9f462fcc08086202d112fab1a7b19a9ff6b4
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:cf299500dd7b83635239d5c239ce1bd77d8d9011268b84947b73142d82355c13
ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel9@sha256:41f67d622cb50a005817ed20a6ecbb464a2a636117ce5581366843025a97960f
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:5e79333421f8fd9a330f2529394f8434cc9d5983d100d96ac228c69cdeb875cd
# Build binaries
# RUN make build-cross-package
RUN ./hack/build.sh -p linux amd64
Expand Down
4 changes: 2 additions & 2 deletions openshift/ci-operator/knative-images/kn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ COPY . .
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel9@sha256:13db3b2ff6284a4c41dcc15b720d9f462fcc08086202d112fab1a7b19a9ff6b4
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:cf299500dd7b83635239d5c239ce1bd77d8d9011268b84947b73142d82355c13
ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel9@sha256:41f67d622cb50a005817ed20a6ecbb464a2a636117ce5581366843025a97960f
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:5e79333421f8fd9a330f2529394f8434cc9d5983d100d96ac228c69cdeb875cd
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/kn

FROM $GO_RUNTIME
Expand Down
Loading