Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRVKP-6715 Build tutorial api UI #520

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions specs/triggers/tutorial.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,15 @@ Steps:
|3 |https://raw.githubusercontent.com/openshift/pipelines-tutorial/{OSP_TUTORIAL_BRANCH}/01_pipeline/03_persistent_volume_claim.yaml |
|4 |https://raw.githubusercontent.com/openshift/pipelines-tutorial/{OSP_TUTORIAL_BRANCH}/01_pipeline/04_pipeline.yaml |
|5 |https://raw.githubusercontent.com/openshift/pipelines-tutorial/{OSP_TUTORIAL_BRANCH}/02_pipelinerun/01_build_deploy_api_pipelinerun.yaml |
|6 |https://raw.githubusercontent.com/openshift/pipelines-tutorial/{OSP_TUTORIAL_BRANCH}/02_pipelinerun/02_build_deploy_ui_pipelinerun.yaml|
* Verify pipelinerun
|S.NO|pipeline_run_name |status |check_label_propagation|
|----|----------------------------|----------|-----------------------|
|1 |build-deploy-api-pipelinerun|successful|no |
* Create remote
|S.NO|resource_dir |
|----|---------------------------------------------------------------------------------------------------------------------------------------|
|1 |https://raw.githubusercontent.com/openshift/pipelines-tutorial/{OSP_TUTORIAL_BRANCH}/02_pipelinerun/02_build_deploy_ui_pipelinerun.yaml|
* Verify pipelinerun
|S.NO|pipeline_run_name |status |check_label_propagation|
|----|---------------------------|----------|-----------------------|
|1 |build-deploy-ui-pipelinerun|successful|no |
|2 |build-deploy-ui-pipelinerun |successful|no |
* Get route url of the route "pipelines-vote-ui"
* Wait for pipelines-vote-ui deployment
* Wait for "pipelines-vote-api" deployment
* Wait for "pipelines-vote-ui" deployment
* Validate that route URL contains "Cat 🐺 vs Dog 🐶"

## Run pipelines tutorial using triggers: PIPELINES-06-TC02
Expand Down Expand Up @@ -71,5 +66,5 @@ Steps:
* "2" pipelinerun(s) should be present within "15" seconds
* Verify the latest pipelinerun for "successful" state
* Get route url of the route "pipelines-vote-ui"
* Wait for pipelines-vote-ui deployment
* Wait for "pipelines-vote-ui" deployment
* Validate that route URL contains "Cat 🐺 vs Dog 🐶"
4 changes: 2 additions & 2 deletions steps/utility/utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ var _ = gauge.Step("Validate that route URL contains <expectedOutput>", func(exp
}
})

var _ = gauge.Step("Wait for pipelines-vote-ui deployment", func() {
k8s.ValidateDeployments(store.Clients(), store.Namespace(), "pipelines-vote-ui")
var _ = gauge.Step("Wait for <deploymentName> deployment", func(deploymentName string) {
k8s.ValidateDeployments(store.Clients(), store.Namespace(), deploymentName)
})