Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
path: ./src/github.com/${{ github.repository }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-cli-artifacts-117
spec:
componentName: kn-client-cli-artifacts-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-kn-117
spec:
componentName: kn-client-kn-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-test-grpc-ping-117
spec:
componentName: kn-client-test-grpc-ping-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-test-helloworld-117
spec:
componentName: kn-client-test-helloworld-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-test-servingcontainer-117
spec:
componentName: kn-client-test-servingcontainer-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
name: kn-client-test-sidecarcontainer-117
spec:
componentName: kn-client-test-sidecarcontainer-117
application: serverless-operator-137

application: serverless-operator-137
source:
git:
url: https://github.com/openshift-knative/client.git
Expand Down
16 changes: 16 additions & 0 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ spec:
- default: "false"
description: Enable cache proxy configuration
name: enable-cache-proxy
- default: "true"
description: Use the package registry proxy when prefetching dependencies
name: enable-package-registry-proxy
- default: .
description: Target directories in component's source code to scan with SAST tools.
Multiple values should be separated with commas.
name: sast-target-dirs
type: string
- default: []
description: Array of --build-arg values ("arg=value" strings) for buildah
name: build-args
Expand Down Expand Up @@ -122,6 +130,8 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: TARGET_DIRS
value: $(params.sast-target-dirs)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
Expand All @@ -148,6 +158,8 @@ spec:
value: $(params.prefetch-input-dev-package-managers)
- name: input
value: $(params.prefetch-input)
- name: enable-package-registry-proxy
value: $(params.enable-package-registry-proxy)
- name: SOURCE_ARTIFACT
value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
- name: ociStorage
Expand Down Expand Up @@ -434,6 +446,8 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: TARGET_DIRS
value: $(params.sast-target-dirs)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
Expand All @@ -460,6 +474,8 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: TARGET_DIRS
value: $(params.sast-target-dirs)
- name: SOURCE_ARTIFACT
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
- name: CACHI2_ARTIFACT
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 @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-cli-artifacts-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
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 @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-kn-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
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 @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-grpc-ping-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
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 @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-helloworld-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-servingcontainer-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
2 changes: 1 addition & 1 deletion .tekton/kn-client-test-sidecarcontainer-117-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: build-args
value:
- CLI_ARTIFACTS=brew.registry.redhat.io/rh-osbs/openshift-serverless-1-kn-cli-artifacts-rhel8:1.16.0
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25
- GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi9/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi9/openjdk-21-runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /workspace
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:7213f40b00c34011a2abfe834d52902305f86d8c76be0143d8d9ac9ba1300c59
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:51844c9f14680b29b072e2b26bba0f5cc2fb9206adc207a2e1d3e5330d512f6d
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:42315b1d7b2ef141ae3b6bf92c59406ff242b7177c907b89186b507dc2c29b02
# Build binaries
# RUN make build-cross-package
RUN ./hack/build.sh -p linux amd64
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/kn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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:7213f40b00c34011a2abfe834d52902305f86d8c76be0143d8d9ac9ba1300c59
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:51844c9f14680b29b072e2b26bba0f5cc2fb9206adc207a2e1d3e5330d512f6d
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel9@sha256:42315b1d7b2ef141ae3b6bf92c59406ff242b7177c907b89186b507dc2c29b02
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/kn

FROM $GO_RUNTIME
Expand Down
Loading