forked from openshift-pipelines/tekton-caches
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "As There is no upstream this repo should build on every change."
This reverts commit 14f4051.
- Loading branch information
1 parent
14f4051
commit a93704d
Showing
4 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Generated by openshift-pipelines/hack. DO NOT EDIT. | ||
apiVersion: tekton.dev/v1 | ||
kind: PipelineRun | ||
metadata: | ||
annotations: | ||
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tekton-caches?rev={{revision}} | ||
build.appstudio.redhat.com/commit_sha: '{{revision}}' | ||
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' | ||
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 | ||
== "main" && | ||
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || | ||
".konflux/dockerfiles/cache.Dockerfile".pathChanged() || | ||
".tekton/tekton-caches-next-cache-pull-request.yaml".pathChanged() || | ||
".tekton/docker-build-ta.yaml".pathChanged()) | ||
creationTimestamp: null | ||
labels: | ||
appstudio.openshift.io/application: tekton-caches-next | ||
appstudio.openshift.io/component: tekton-caches-next-cache | ||
pipelines.appstudio.openshift.io/type: build | ||
name: tekton-caches-next-cache-on-pull-request | ||
namespace: tekton-ecosystem-tenant | ||
spec: | ||
params: | ||
- name: git-url | ||
value: '{{source_url}}' | ||
- name: revision | ||
value: '{{revision}}' | ||
- name: output-image | ||
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tekton-caches-next/cache:on-pr-{{revision}} | ||
- name: image-expires-after | ||
value: 5d | ||
- name: dockerfile | ||
value: .konflux/dockerfiles/cache.Dockerfile | ||
- name: build-platforms | ||
value: | ||
- linux/x86_64 | ||
- name: prefetch-input | ||
value: | | ||
{"type": "rpm", "path": ".konflux/rpms"} | ||
pipelineRef: | ||
name: docker-build-ta | ||
workspaces: | ||
- name: git-auth | ||
secret: | ||
secretName: '{{ git_auth_secret }}' | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Generated by openshift-pipelines/hack. DO NOT EDIT. | ||
apiVersion: tekton.dev/v1 | ||
kind: PipelineRun | ||
metadata: | ||
annotations: | ||
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tekton-caches?rev={{revision}} | ||
build.appstudio.redhat.com/commit_sha: '{{revision}}' | ||
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 | ||
== "main" && | ||
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() || | ||
".konflux/dockerfiles/cache.Dockerfile".pathChanged() || | ||
".tekton/tekton-caches-next-cache-push.yaml".pathChanged() || | ||
".tekton/docker-build-ta.yaml".pathChanged()) | ||
creationTimestamp: null | ||
labels: | ||
appstudio.openshift.io/application: tekton-caches-next | ||
appstudio.openshift.io/component: tekton-caches-next-cache | ||
pipelines.appstudio.openshift.io/type: build | ||
name: tekton-caches-next-cache-on-push | ||
namespace: tekton-ecosystem-tenant | ||
spec: | ||
params: | ||
- name: git-url | ||
value: '{{source_url}}' | ||
- name: revision | ||
value: '{{revision}}' | ||
- name: output-image | ||
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tekton-caches-next/cache:{{revision}} | ||
- name: dockerfile | ||
value: .konflux/dockerfiles/cache.Dockerfile | ||
- name: build-platforms | ||
value: | ||
- linux/x86_64 | ||
- linux-m2xlarge/arm64 | ||
- name: prefetch-input | ||
value: | | ||
{"type": "rpm", "path": ".konflux/rpms"} | ||
pipelineRef: | ||
name: docker-build-ta | ||
workspaces: | ||
- name: git-auth | ||
secret: | ||
secretName: '{{ git_auth_secret }}' | ||
status: {} |