From 462d494f0861a327ff6a3caf345f866ce47f4689 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 27 Jun 2024 11:19:05 -0400 Subject: [PATCH] Add a policy check test for OLS team --- ..._integrationtestscenario_policy-check.yaml | 22 +++++++++++++++++++ .../kustomization.yaml | 1 + .../policy-check.yaml | 22 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 auto-generated/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/appstudio.redhat.com_v1beta1_integrationtestscenario_policy-check.yaml create mode 100644 cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/policy-check.yaml diff --git a/auto-generated/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/appstudio.redhat.com_v1beta1_integrationtestscenario_policy-check.yaml b/auto-generated/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/appstudio.redhat.com_v1beta1_integrationtestscenario_policy-check.yaml new file mode 100644 index 00000000..b8e5168e --- /dev/null +++ b/auto-generated/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/appstudio.redhat.com_v1beta1_integrationtestscenario_policy-check.yaml @@ -0,0 +1,22 @@ +apiVersion: appstudio.redhat.com/v1beta1 +kind: IntegrationTestScenario +metadata: + name: policy-check + namespace: crt-nshift-lightspeed-tenant +spec: + application: ols + contexts: + - description: Application testing + name: application + params: + - name: POLICY_CONFIGURATION + value: rhtap-releng-tenant/registry-crt-nshift-lightspeed + 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 diff --git a/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/kustomization.yaml b/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/kustomization.yaml index 119d2f27..2b073e3e 100644 --- a/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/kustomization.yaml +++ b/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - release-plan.yaml + - policy-check.yaml namespace: crt-nshift-lightspeed-tenant diff --git a/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/policy-check.yaml b/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/policy-check.yaml new file mode 100644 index 00000000..8617e06b --- /dev/null +++ b/cluster/stone-prd-rh01/tenants/crt-nshift-lightspeed-tenant/policy-check.yaml @@ -0,0 +1,22 @@ +apiVersion: appstudio.redhat.com/v1beta1 +kind: IntegrationTestScenario +metadata: + name: policy-check + namespace: crt-nshift-lightspeed-tenant +spec: + application: ols + contexts: + - description: Application testing + name: application + params: + - name: POLICY_CONFIGURATION + value: rhtap-releng-tenant/registry-crt-nshift-lightspeed + 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