Commit ee8b1718 authored by Kamlesh Todai's avatar Kamlesh Todai
Browse files

Changes to reflect the current behavior of generate pipeline script and...

Changes to reflect the current behavior of generate pipeline script and execution of pipelines and test in CI/CD environment
parent 14f0bbf0
Pipeline #5475 canceled with stages
in 7 seconds
...@@ -85,36 +85,16 @@ The collections files name are as follows: ...@@ -85,36 +85,16 @@ The collections files name are as follows:
> >
> Trajectory CI-CD v1.3.3.postman_collection.json > Trajectory CI-CD v1.3.3.postman_collection.json
Python script generates following files in build environment to run the Python script generates “test-execution.gitlab-ci.yml” file in build
jobs. One file for each configured platform. environment to run execute pipelines and run the tests. The generated
file would have stages for each cloud platform and then each stage would
> aws.OSDU R3 PROD v2.4.gitlab-ci.yml have tests to run each collection using “newman”
>
> azure.OSDU R3 PROD v2.4.gitlab-ci.yml “.gitlab-ci.yml” file has two stages - generate and test. The generate
> stage executes the above-mentioned python script that configures the
> gcp.OSDU R3 PROD v2.4.gitlab-ci.yml pipelines and tests to be run for each collection and on each cloud
> platform. The test stage uses the generated file to run the pipelines
> ibm.OSDU R3 PROD v2.4.gitlab-ci.yml and execute the tests
When adding the new environment file or changing the name of the
existing environment file is, one needs to update the file
.gitlab-ci.yml manually. This should not happen too often, but when it
does then one needs to add the section if the file is new or modify the
existing section to reflect the changed name. The artifact of the
include section needs to reflect the changed name as well as the stage
name needs to include the changed name. e.g.
> azure **v2.4**:
>
> trigger:
>
> strategy: depend
>
> include:
>
> \- artifact: azure.**OSDU R3 PROD v2.4**.gitlab-ci.yml
>
> job: generate-pipeline
Detail reference for GitLab Ci/CD refer to following link Detail reference for GitLab Ci/CD refer to following link
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment