Skip to content

Commit 0086b71

Browse files
author
serverless-qe
committed
[release-v1.16] Sync Konflux configurations
1 parent 27969e8 commit 0086b71

20 files changed

+199
-48
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
name: Dependabot
3+
4+
on:
5+
pull_request:
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
update-deps:
12+
name: Update deps
13+
runs-on: ubuntu-latest
14+
if: ${{ github.actor == 'dependabot[bot]' }}
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.head_ref }}
20+
path: ./src/github.com/${{ github.repository }}
21+
fetch-depth: 0
22+
23+
- name: Setup Golang
24+
uses: openshift-knative/hack/actions/setup-go@main
25+
26+
- name: Install yq
27+
run: |
28+
go install github.com/mikefarah/yq/v3@latest
29+
30+
- name: Generate files
31+
working-directory: ./src/github.com/${{ github.repository }}
32+
run: make generate-release
33+
34+
- name: git push
35+
working-directory: ./src/github.com/${{ github.repository }}
36+
run: |
37+
if ! git diff --exit-code --quiet
38+
then
39+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
40+
git config --local user.name "github-actions[bot]"
41+
git add .
42+
git commit -m "Run make generate-release"
43+
git push
44+
fi

.konflux/applications/serverless-operator-136/components/kn-client-cli-artifacts-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-cli-artifacts-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.konflux/applications/serverless-operator-136/components/kn-client-kn-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-kn-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.konflux/applications/serverless-operator-136/components/kn-client-test-grpc-ping-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-test-grpc-ping-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.konflux/applications/serverless-operator-136/components/kn-client-test-helloworld-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-test-helloworld-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.konflux/applications/serverless-operator-136/components/kn-client-test-servingcontainer-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-test-servingcontainer-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.konflux/applications/serverless-operator-136/components/kn-client-test-sidecarcontainer-116.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ spec:
99
componentName: kn-client-test-sidecarcontainer-116
1010
application: serverless-operator-136
1111

12-
build-nudges-ref:
13-
14-
- "serverless-bundle-136"
15-
16-
1712
source:
1813
git:
1914
url: https://github.com/openshift-knative/client.git

.tekton/docker-build.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: tekton.dev/v1
22
kind: Pipeline
33
metadata:
4-
creationTimestamp:
4+
creationTimestamp: null
55
labels:
66
pipelines.openshift.io/runtime: generic
77
pipelines.openshift.io/strategy: docker
@@ -33,7 +33,8 @@ spec:
3333
- linux/arm64
3434
- linux/ppc64le
3535
- linux/s390x
36-
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.
36+
description: List of platforms to build the container images on. The available
37+
set of values is determined by the configuration of the multi-platform-controller.
3738
name: build-platforms
3839
type: array
3940
- default: --all-projects --org=3e1a4cca-ebfb-495f-b64c-3cc960d566b4 --exclude=test*,vendor,third_party
@@ -45,7 +46,8 @@ spec:
4546
name: build-source-image
4647
type: string
4748
- default: "false"
48-
description: 'Enable in-development package managers. WARNING: the behavior may change at any time without notice. Use at your own risk.'
49+
description: 'Enable in-development package managers. WARNING: the behavior may
50+
change at any time without notice. Use at your own risk.'
4951
name: prefetch-input-dev-package-managers
5052
- default: []
5153
description: Additional image tags
@@ -62,11 +64,13 @@ spec:
6264
name: output-image
6365
type: string
6466
- default: .
65-
description: Path to the source code of an application's component from where to build image.
67+
description: Path to the source code of an application's component from where
68+
to build image.
6669
name: path-context
6770
type: string
6871
- default: Dockerfile
69-
description: Path to the Dockerfile inside the context specified by parameter path-context
72+
description: Path to the Dockerfile inside the context specified by parameter
73+
path-context
7074
name: dockerfile
7175
type: string
7276
- default: "false"
@@ -86,7 +90,8 @@ spec:
8690
name: prefetch-input
8791
type: string
8892
- default: ""
89-
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
93+
description: Image tag expiration time, time values could be something like 1h,
94+
2d, 3w for hours, days, and weeks, respectively.
9095
name: image-expires-after
9196
- default: "true"
9297
description: Add built image into an OCI image index

.tekton/kn-client-cli-artifacts-116-pull-request.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ spec:
2121
value: openshift/ci-operator/knative-images/cli-artifacts/Dockerfile
2222
- name: build-args
2323
value:
24-
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
24+
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
2525
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
2626
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
2727
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
28+
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
29+
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
2830
- VERSION=1.36.0
2931
- name: git-url
3032
value: '{{source_url}}'
@@ -39,6 +41,15 @@ spec:
3941
- linux/x86_64
4042
- name: revision
4143
value: '{{revision}}'
44+
taskRunSpecs:
45+
- pipelineTaskName: sast-shell-check
46+
stepSpecs:
47+
- name: sast-shell-check
48+
computeResources:
49+
requests:
50+
memory: 4Gi
51+
limits:
52+
memory: 4Gi
4253
pipelineRef:
4354
name: docker-build
4455
taskRunTemplate: {}

.tekton/kn-client-cli-artifacts-116-push.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ spec:
2020
value: openshift/ci-operator/knative-images/cli-artifacts/Dockerfile
2121
- name: build-args
2222
value:
23-
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.22
23+
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
2424
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
2525
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
2626
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
27+
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
28+
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
2729
- VERSION=1.36.0
2830
- name: git-url
2931
value: '{{source_url}}'
@@ -38,6 +40,15 @@ spec:
3840
- $(context.pipelineRun.uid)-{{revision}}
3941
- 1.36.0
4042
- latest
43+
taskRunSpecs:
44+
- pipelineTaskName: sast-shell-check
45+
stepSpecs:
46+
- name: sast-shell-check
47+
computeResources:
48+
requests:
49+
memory: 4Gi
50+
limits:
51+
memory: 4Gi
4152
pipelineRef:
4253
name: docker-build
4354
taskRunTemplate: {}

0 commit comments

Comments
 (0)