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

Commit

Permalink
Add integration scenarios and ReleasePlan in the ProjectDevelopmentSt…
Browse files Browse the repository at this point in the history
…reamTemplate
  • Loading branch information
aleskandro committed Jul 12, 2024
1 parent bd028d3 commit 0efd262
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,43 @@ spec:
source:
git:
context: ./
devfileUrl: https://raw.githubusercontent.com/openshift/multiarch-tuning-operator/fbc-4.16/devfile.yaml
devfileUrl: https://raw.githubusercontent.com/openshift/multiarch-tuning-operator/fbc-{{.version}}/devfile.yaml
revision: fbc-{{.version}}
url: https://github.com/openshift/multiarch-tuning-operator
targetPort: 50051
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
release.appstudio.openshift.io/auto-release: "false"
release.appstudio.openshift.io/releasePlanAdmission: multiarch-tuning-operator-fbc-prod-index
release.appstudio.openshift.io/standing-attribution: "true"
name: fbc-{{.versionName}}-release-as-fbc
namespace: multiarch-tuning-ope-tenant
spec:
application: fbc-{{.versionName}}
target: rhtap-releng-tenant
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
release.appstudio.openshift.io/auto-release: "false"
release.appstudio.openshift.io/releasePlanAdmission: multiarch-tuning-operator-fbc-staging-index
release.appstudio.openshift.io/standing-attribution: "true"
name: fbc-{{.versionName}}-release-as-staging-fbc
namespace: multiarch-tuning-ope-tenant
spec:
application: fbc-{{.versionName}}
target: rhtap-releng-tenant
- apiVersion: appstudio.redhat.com/v1beta1
kind: IntegrationTestScenario
metadata:
name: fbc-{{.versionName}}-enterprise-contract
spec:
application: fbc-{{.versionName}}
params:
- name: POLICY_CONFIGURATION
value: rhtap-releng-tenant/fbc-stage
variables:
- description: A version number for a new OCP stream
name: version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,40 @@ spec:
source:
git:
context: ./
devfileUrl: https://raw.githubusercontent.com/openshift/multiarch-tuning-operator/fbc-4.16/devfile.yaml
devfileUrl: "https://raw.githubusercontent.com/openshift/multiarch-tuning-operator/fbc-{{.version}}/devfile.yaml"
revision: "fbc-{{.version}}"
url: https://github.com/openshift/multiarch-tuning-operator
targetPort: 50051
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
name: "fbc-{{.versionName}}-release-as-fbc"
namespace: multiarch-tuning-ope-tenant
labels:
release.appstudio.openshift.io/auto-release: 'false'
release.appstudio.openshift.io/standing-attribution: 'true'
release.appstudio.openshift.io/releasePlanAdmission: multiarch-tuning-operator-fbc-prod-index
spec:
application: "fbc-{{.versionName}}"
target: rhtap-releng-tenant
- apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
name: "fbc-{{.versionName}}-release-as-staging-fbc"
namespace: multiarch-tuning-ope-tenant
labels:
release.appstudio.openshift.io/auto-release: 'false'
release.appstudio.openshift.io/standing-attribution: 'true'
release.appstudio.openshift.io/releasePlanAdmission: multiarch-tuning-operator-fbc-staging-index
spec:
application: "fbc-{{.versionName}}"
target: rhtap-releng-tenant
- apiVersion: appstudio.redhat.com/v1beta1
kind: IntegrationTestScenario
metadata:
name: "fbc-{{.versionName}}-enterprise-contract"
spec:
application: "fbc-{{.versionName}}"
params:
- name: POLICY_CONFIGURATION
value: rhtap-releng-tenant/fbc-stage

0 comments on commit 0efd262

Please sign in to comment.