Skip to content

Commit

Permalink
[bot] update konflux configuration (#80)
Browse files Browse the repository at this point in the history
Co-authored-by: openshift-pipelines-bot <[email protected]>
  • Loading branch information
openshift-pipelines-bot and openshift-pipelines-bot authored Oct 9, 2024
1 parent 8bf13e9 commit b4f0e06
Show file tree
Hide file tree
Showing 7 changed files with 586 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .konflux/main/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
name: tekton-caches-main
spec:
displayName: tekton-caches main
17 changes: 17 additions & 0 deletions .konflux/main/component-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
annotations:
build.appstudio.openshift.io/pipeline: '{"name":"docker-build","bundle":"latest"}'
name: tekton-caches-main-cache
spec:
componentName: cache
application: tekton-caches-main
build-nudges-ref:
- operator-main-bundle
source:
git:
url: https://github.com/openshift-pipelines/tekton-caches
dockerfileUrl: openshift/dockerfiles/cache.Dockerfile
revision: main
14 changes: 14 additions & 0 deletions .konflux/main/image-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: ImageRepository
metadata:
name: tekton-caches-main-cache
annotations:
image-controller.appstudio.redhat.com/update-component-image: "true"
labels:
appstudio.redhat.com/component: tekton-caches-main-cache
appstudio.redhat.com/application: tekton-caches-main
spec:
image:
name: tekton-caches-main/cache
visibility: public
22 changes: 22 additions & 0 deletions .konflux/main/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: tekton-caches-main-enterprise-contract
spec:
application: tekton-caches-main
contexts:
- description: Application testing
name: application
params:
- name: POLICY_CONFIGURATION
value: tekton-ecosystem-tenant/tekton-ecosystem-tenant-containers
resolverRef:
params:
- name: url
value: "https://github.com/konflux-ci/build-definitions"
- name: revision
value: main
- name: pathInRepo
value: pipelines/enterprise-contract.yaml
resolver: git
Loading

0 comments on commit b4f0e06

Please sign in to comment.