Skip to content

Commit 7d4d7d1

Browse files
authored
Merge pull request #265 from chetna14manku/RHTAP-3274
RHTAP-3363: Add integration tests to run tssc-test
2 parents 9569dff + 1ad4130 commit 7d4d7d1

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

integration-tests/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Integration tests
2+
3+
This folder is required for running integration tests in the Konflux CI.
4+
5+
- The [rhads-config](./config/rhads-config) file specifies the components to be integrated during the installation of RHADS using [rhtap-cli](https://github.com/redhat-appstudio/rhtap-cli).
6+
7+
- The [testplan.json](./config/testplan.json) file contains the component matrix used to run [tssc-tests](https://github.com/redhat-appstudio/tssc-test).
8+
9+
- Modify testplan.json file to match your testing requirements. Refer [here](https://github.com/redhat-appstudio/tssc-test/blob/main/README.md#configuration-fields) for valid values of each component.
10+
11+
## How integrations tests works
12+
13+
- Konflux pipeline will generate a snapshot image based on the latest commit changes. This image will be used by [tssc-tests](https://github.com/redhat-appstudio/tssc-test) to replace the existing rhtap-task-runner image in CI file.
14+
15+
For more details about the pipeline used for integration tests in Konflux, refer to [this link](https://github.com/redhat-appstudio/rhtap-cli/blob/main/integration-tests/README.md#pipelines-used).

integration-tests/config/rhads-config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
OCP="4.18"
2+
ACS="remote"
3+
REGISTRY="quay.io,artifactory,nexus"
4+
TPA="remote"
5+
SCM="github,gitlab,bitbucket"
6+
PIPELINE="tekton,actions,gitlabci"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"templates": ["dotnet-basic"],
3+
"tssc": [{
4+
"git": "github",
5+
"ci": "githubactions",
6+
"registry": "quay.io",
7+
"tpa": "remote",
8+
"acs": "remote"
9+
},
10+
{
11+
"git": "gitlab",
12+
"ci": "gitlabci",
13+
"registry": "artifactory",
14+
"tpa": "remote",
15+
"acs": "remote"
16+
}],
17+
"tests": ["test1", "test2"]
18+
}

0 commit comments

Comments
 (0)