Skip to content

Commit

Permalink
[bot] update konflux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openshift-pipelines-bot committed Oct 30, 2024
1 parent 237ed08 commit 27bb2d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .konflux/main/component-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
annotations:
build.appstudio.openshift.io/pipeline: '{"name":"docker-build","bundle":"latest"}'
build.appstudio.openshift.io/pipeline: '{"name":"docker-build-ta","bundle":"latest"}'
name: tekton-caches-main-cache
spec:
componentName: cache
Expand All @@ -14,5 +14,5 @@ spec:
source:
git:
url: https://github.com/openshift-pipelines/tekton-caches
dockerfileUrl: openshift/dockerfiles/cache.Dockerfile
dockerfileUrl: .konflux/dockerfiles/cache.Dockerfile
revision: main
2 changes: 2 additions & 0 deletions .konflux/main/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spec:
params:
- name: POLICY_CONFIGURATION
value: tekton-ecosystem-tenant/tekton-ecosystem-tenant-containers
- name: TIMEOUT
value: "15m0s"
resolverRef:
params:
- name: url
Expand Down
6 changes: 3 additions & 3 deletions .tekton/tekton-caches-main-cache-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" &&
("***".pathChanged() ||
"openshift/dockerfiles/cache.Dockerfile".pathChanged() ||
".konflux/dockerfiles/cache.Dockerfile".pathChanged() ||
".tekton/tekton-caches-main-cache-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
Expand All @@ -32,13 +32,13 @@ spec:
- name: image-expires-after
value: 5d
- name: dockerfile
value: openshift/dockerfiles/cache.Dockerfile
value: .konflux/dockerfiles/cache.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": "openshift/rpms"}
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
Expand Down
6 changes: 3 additions & 3 deletions .tekton/tekton-caches-main-cache-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main" &&
("***".pathChanged() ||
"openshift/dockerfiles/cache.Dockerfile".pathChanged() ||
".konflux/dockerfiles/cache.Dockerfile".pathChanged() ||
".tekton/tekton-caches-main-cache-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
Expand All @@ -29,10 +29,10 @@ spec:
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tekton-caches-main/cache:{{revision}}
- name: dockerfile
value: openshift/dockerfiles/cache.Dockerfile
value: .konflux/dockerfiles/cache.Dockerfile
- name: prefetch-input
value: |
{"type": "rpm", "path": "openshift/rpms"}
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
Expand Down

0 comments on commit 27bb2d8

Please sign in to comment.