Skip to content

Commit 988eff0

Browse files
MarcinGinsztAllda
authored andcommitted
applying comments
1 parent b76b871 commit 988eff0

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

docs/ci-cd.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ The following secrets should be kept in the repository:
1313
| KUBECONFIG | Kubeconfig of the cluster, where E2E tests should run | E2E tests- resources are deployed to the namespace $SHORT_COMMIT_HASH in this cluster |
1414
| VAULT_PASSWORD | Password to the Ansible Vault stored in the repository | E2E tests- password is needed to decrypt the secrets and thus- recreate the resources |
1515

16+
## Run order
17+
18+
- Validation- run always.
19+
- Build and Push Image/ ppc64le Image- run always. That is intended
20+
to help for the developers to test the image in case of changes.
21+
- E2E-CI- runs only on the merge to main (or on manual trigger)
22+
- Deployment- run only after successful E2E-CI running on main.
23+
1624
## E2E tests
1725

18-
### When they run?
26+
### When do they run?
1927

2028
E2E tests are stage of the CI/CD that runs only in two cases:
2129
- On merge to main and before deployment
@@ -28,7 +36,13 @@ There are future plans to run them in cronjob as a part of the QA workflow.
2836
- prepare the environment- script [ansible/init-custom-env.sh](../ansible/init-custom-env.sh):
2937
- prepare the custom project in OpenShift preprod cluster
3038
- install all of the pipelines dependencies in this project
31-
- run the pipelines with `tkn`
39+
- prepare the test data by copying operator from branch `e2e-test-operator`-
40+
with custom version
41+
- run the CI pipeline with `tkn` against the prepared branch.
42+
On success, it creates the PR on this branch.
43+
- run the Hosted pipeline with `tkn` against PR created by CI pipeline. On success,
44+
this PR is merged.
45+
- TODO: Release pipeline.
3246
- check if pipelines passed- using `oc`
3347
- remove the project, and thus- clean up all associated resources
3448

@@ -51,4 +65,3 @@ in the test data (see point 2.).
5165
This Cert Project should:
5266
- be accessible to the test partner account (credentials stored in ansbile vault),
5367
- meet the Hydra checklist requirements
54-
- meet the preflight tests requirements.

0 commit comments

Comments
 (0)