Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodbindal committed Oct 9, 2024
2 parents 17f67f6 + b4f0e06 commit ef8cba6
Show file tree
Hide file tree
Showing 36 changed files with 756 additions and 393 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 ef8cba6

Please sign in to comment.