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.15] Update Konflux configurations #623

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
44 changes: 44 additions & 0 deletions .github/workflows/dependabot-deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

name: Dependabot

on:
pull_request:

permissions:
contents: write

jobs:
update-deps:
name: Update deps
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
path: ./src/github.com/${{ github.repository }}
fetch-depth: 0

- name: Setup Golang
uses: openshift-knative/hack/actions/setup-go@main

- name: Install yq
run: |
go install github.com/mikefarah/yq/v3@latest

- name: Generate files
working-directory: ./src/github.com/${{ github.repository }}
run: make generate-release

- name: git push
working-directory: ./src/github.com/${{ github.repository }}
run: |
if ! git diff --exit-code --quiet
then
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -m "Run make generate-release"
git push
fi
4 changes: 2 additions & 2 deletions .tekton/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,9 @@ spec:
taskRef:
params:
- name: name
value: sast-shell-check-oci-ta
value: sast-unicode-check-oci-ta
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-sast-shell-check-oci-ta:0.1@sha256:9b0138a597445f3887697da69c9b8b91368f0b72b98e9304fa209b43523bd6fb
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.1@sha256:7ff6753af9bc30b1f1ae982abe174ee50d2467e3e33a8618fd858c64dea6167b
- name: kind
value: task
resolver: bundles
Expand Down
11 changes: 10 additions & 1 deletion .tekton/kn-client-cli-artifacts-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-cli-artifacts-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
11 changes: 10 additions & 1 deletion .tekton/kn-client-kn-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-kn-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
11 changes: 10 additions & 1 deletion .tekton/kn-client-test-grpc-ping-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-test-grpc-ping-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
11 changes: 10 additions & 1 deletion .tekton/kn-client-test-helloworld-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-test-helloworld-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
11 changes: 10 additions & 1 deletion .tekton/kn-client-test-servingcontainer-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-test-servingcontainer-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
11 changes: 10 additions & 1 deletion .tekton/kn-client-test-sidecarcontainer-115-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -40,6 +40,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: 11 additions & 2 deletions .tekton/kn-client-test-sidecarcontainer-115-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- 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.35.0
- VERSION=1.35.1
- name: git-url
value: '{{source_url}}'
- name: hermetic
Expand All @@ -37,8 +37,17 @@ spec:
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.35.0
- 1.35.1
- 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
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-rhel8@sha256:bc3c82113b8f55720720bdba8c4357d6ba5a0c4f4597252648718c64588e9a85
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel8@sha256:08f0b4151edd6d777e2944c6364612a5599e5a775e5150a76676a45f753c2e23
ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel8@sha256:edb7e9d04d424dbe7e15d059fd4217298036ca299e7a358f6edb21bb404aeb6c
ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel8@sha256:0d703ce10eea8a9ef7432bb331a9ded3e39617994f47cfcb686d73a204042f9b
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/kn

FROM $GO_RUNTIME
Expand Down
Loading