Last active
November 18, 2022 13:44
-
-
Save karthikjeeyar/ce5a1038209565e5ecf0f3a9719609be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: IntegrationTestScenario | |
metadata: | |
name: component-integration-test-one | |
spec: | |
application: test-application | |
bundle: "quay.io/kpavic/test-bundle:component-pipeline-pass" | |
contexts: | |
- description: Runs only during application testing | |
name: component | |
environment: | |
name: test-environment | |
params: [] | |
type: workspace | |
params: | |
- name: test-param | |
value: | |
- test | |
pipeline: component-pipeline-pass | |
--- | |
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: IntegrationTestScenario | |
metadata: | |
name: application-test-one | |
spec: | |
application: test-application | |
bundle: "quay.io/kpavic/test-bundle:component-pipeline-pass" | |
pipeline: component-pipeline-pass | |
--- | |
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: IntegrationTestScenario | |
metadata: | |
name: application-test-two | |
spec: | |
application: test-application | |
bundle: "quay.io/kpavic/test-bundle:component-pipeline-pass" | |
pipeline: component-pipeline-pass | |
--- | |
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: Environment | |
metadata: | |
name: development | |
spec: | |
type: poc | |
deploymentController: appstudio | |
deploymentStrategy: Manual | |
displayName: Development | |
tags: | |
- dev | |
clusterCredentials: | |
apiServerURL: http://example.com/prod | |
configuration: | |
env: | |
- name: env | |
value: development | |
--- | |
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: Environment | |
metadata: | |
name: staging | |
spec: | |
type: poc | |
deploymentController: appstudio | |
deploymentStrategy: Manual | |
displayName: Staging Environment | |
parentEnvironment: development | |
tags: | |
- stage | |
clusterCredentials: | |
apiServerURL: http://example.com/stage | |
configuration: | |
env: | |
- name: env | |
value: staging | |
--- | |
apiVersion: appstudio.redhat.com/v1alpha1 | |
kind: Environment | |
metadata: | |
name: production | |
spec: | |
type: poc | |
deploymentController: appstudio | |
deploymentStrategy: Manual | |
displayName: Production Environment | |
parentEnvironment: staging | |
tags: | |
- prod | |
clusterCredentials: | |
apiServerURL: http://example.com/prod | |
configuration: | |
env: | |
- name: env | |
value: staging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment