Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Initial definitions of the OpenShift Lightspeed Konflux objects
Browse files Browse the repository at this point in the history
  • Loading branch information
syedriko committed Jul 24, 2024
1 parent 4f5c515 commit 5329a46
Show file tree
Hide file tree
Showing 13 changed files with 251 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
name: ols
namespace: crt-nshift-lightspeed-tenant
spec:
displayName: ols
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: bundle
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
componentName: bundle
source:
git:
dockerfileUrl: bundle.Dockerfile
revision: main
url: https://github.com/openshift/lightspeed-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-console
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-console
source:
git:
dockerfileUrl: Dockerfile
url: https://github.com/openshift/lightspeed-console
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-operator
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-operator
source:
git:
dockerfileUrl: Dockerfile
url: https://github.com/openshift/lightspeed-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-rag-content
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- lightspeed-service
componentName: lightspeed-rag-content
source:
git:
context: ./
dockerfileUrl: Containerfile
revision: main
url: https://github.com/openshift/lightspeed-rag-content
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-service
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-service
source:
git:
context: ./
dockerfileUrl: Containerfile
revision: main
url: https://github.com/openshift/lightspeed-service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
app.kubernetes.io/instance: crt-nshift-lightspeed-tenant-stone-prd-rh01
release.appstudio.openshift.io/author: system_serviceaccount_remote-argocd_remote-argocd
release.appstudio.openshift.io/auto-release: "true"
release.appstudio.openshift.io/standing-attribution: "true"
name: ols-releaseplan
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: integration-tests
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
contexts:
- description: Application testing
name: application
resolverRef:
params:
- name: url
value: https://github.com/openshift/lightspeed-operator
- name: revision
value: main
- name: pathInRepo
value: /konflux-integration/pipeline.yaml
resolver: git
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: ols-enterprise-contract
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
contexts:
- description: Application testing
name: application
resolverRef:
params:
- name: url
value: https://github.com/redhat-appstudio/build-definitions
- name: revision
value: main
- name: pathInRepo
value: pipelines/enterprise-contract.yaml
resolver: git
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
name: ols
namespace: crt-nshift-lightspeed-tenant
spec:
displayName: ols
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: bundle
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
componentName: bundle
source:
git:
dockerfileUrl: bundle.Dockerfile
revision: main
url: https://github.com/openshift/lightspeed-operator
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-console
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-console
source:
git:
dockerfileUrl: Dockerfile
url: https://github.com/openshift/lightspeed-console
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-operator
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-operator
source:
git:
dockerfileUrl: Dockerfile
url: https://github.com/openshift/lightspeed-operator
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-service
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- bundle
componentName: lightspeed-service
source:
git:
context: ./
dockerfileUrl: Containerfile
revision: main
url: https://github.com/openshift/lightspeed-service
---
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
name: lightspeed-rag-content
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
build-nudges-ref:
- lightspeed-service
componentName: lightspeed-rag-content
source:
git:
context: ./
dockerfileUrl: Containerfile
revision: main
url: https://github.com/openshift/lightspeed-rag-content
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: ols-enterprise-contract
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
contexts:
- description: Application testing
name: application
resolverRef:
params:
- name: url
value: https://github.com/redhat-appstudio/build-definitions
- name: revision
value: main
- name: pathInRepo
value: pipelines/enterprise-contract.yaml
resolver: git
---
apiVersion: appstudio.redhat.com/v1beta2
kind: IntegrationTestScenario
metadata:
name: integration-tests
namespace: crt-nshift-lightspeed-tenant
spec:
application: ols
contexts:
- description: Application testing
name: application
resolverRef:
params:
- name: url
value: https://github.com/openshift/lightspeed-operator
- name: revision
value: main
- name: pathInRepo
value: /konflux-integration/pipeline.yaml
resolver: git
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- release-plan.yaml
- app-components.yaml
- integration-tests.yaml
namespace: crt-nshift-lightspeed-tenant
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
app.kubernetes.io/instance: crt-nshift-lightspeed-tenant-stone-prd-rh01
release.appstudio.openshift.io/author: system_serviceaccount_remote-argocd_remote-argocd
release.appstudio.openshift.io/auto-release: 'true'
release.appstudio.openshift.io/standing-attribution: 'true'
name: ols-releaseplan
Expand Down

0 comments on commit 5329a46

Please sign in to comment.