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-1.35] Update Konflux configurations #3373

Open
wants to merge 1 commit into
base: release-1.35
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
13 changes: 9 additions & 4 deletions .github/workflows/dependabot-deps.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: Dependabot

on:
Expand All @@ -7,7 +8,7 @@ permissions:
contents: write

jobs:
generate_some_code:
update-deps:
name: Update deps
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
Expand All @@ -22,9 +23,13 @@ jobs:
- name: Setup Golang
uses: openshift-knative/hack/actions/setup-go@main

- name: Run ./hack/update-deps.sh
- name: Install yq
run: |
go install github.com/mikefarah/yq/v3@latest

- name: Generate files
working-directory: ./src/github.com/${{ github.repository }}
run: ./hack/update-deps.sh
run: make generated-files

- name: git push
working-directory: ./src/github.com/${{ github.repository }}
Expand All @@ -34,6 +39,6 @@ jobs:
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 ./hack/update-deps.sh"
git commit -m "Run make generated-files"
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:7553ec6925d0586b286502669b8e31a39dc73501f657426bac99019ac598d6ab
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.1@sha256:3a128580c41abdac5bd76d0d1e066f2f3473278ba9fab90639878a27ced7a0e6
- name: kind
value: task
resolver: bundles
Expand Down
26 changes: 26 additions & 0 deletions .tekton/fbc-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,32 @@ spec:
operator: in
values:
- "false"
- name: fbc-target-index-pruning-check
params:
- name: IMAGE_URL
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: IMAGE_DIGEST
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
- name: TARGET_INDEX
value: registry.redhat.io/redhat/redhat-operator-index
- name: RENDERED_CATALOG_DIGEST
value: $(tasks.validate-fbc.results.RENDERED_CATALOG_DIGEST)
runAfter:
- validate-fbc
taskRef:
params:
- name: name
value: fbc-target-index-pruning-check
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-fbc-target-index-pruning-check:0.1@sha256:299c44a5d6930f7a2c878f20853c705f155231cae36d9f37add4cdb7e75e2e12
- name: kind
value: task
resolver: bundles
when:
- input: $(params.skip-checks)
operator: in
values:
- "false"
workspaces:
- name: git-auth
optional: true
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-bundle-135-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && ( files.all.exists(x, x.matches('^olm-catalog/serverless-operator/')) || files.all.exists(x, x.matches('^.tekton/')) )
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-bundle-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && ( files.all.exists(x, x.matches('^olm-catalog/serverless-operator/')) || files.all.exists(x, x.matches('^.tekton/')) )
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-ingress-135-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-ingress-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-kn-operator-135-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-kn-operator-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-metadata-webhook-135-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-metadata-webhook-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-must-gather-135-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-must-gather-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
1 change: 0 additions & 1 deletion .tekton/serverless-openshift-kn-operator-135-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.35" && files.all.exists(x, !x.matches('^olm-catalog/') && !x.matches('^.konflux-release/'))
build.appstudio.openshift.io/build-nudge-files: ".*Dockerfile.*,olm-catalog/.*.yaml,olm-catalog/.*.yml,.*Containerfile.*"
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-135
Expand Down
Loading