Last active
February 21, 2023 07:47
-
-
Save akshayamaldhure/e3615969f8839af0fa7f951310236d19 to your computer and use it in GitHub Desktop.
CI templates - Demo
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
.functional_test_template: | |
variables: | |
ENV: "integration" | |
LOCALE: "ID" | |
UPSTREAM_JOB_NAME: $CI_JOB_NAME | |
UPSTREAM_BRANCH_NAME: $CI_COMMIT_REF_NAME | |
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA | |
UPSTREAM_PROJECT_NAME: $CI_PROJECT_NAME | |
UPSTREAM_PIPELINE_URL: $CI_PIPELINE_URL | |
UPSTREAM_PROJECT_ID: $CI_PROJECT_ID | |
allow_failure: false | |
needs: | |
- deploy-integration |
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
include: | |
- local: .functional-test-template.yml | |
functional-test-suite-1: | |
stage: functional_test | |
variables: | |
LOCALE: "VN" | |
trigger: | |
project: qa/gitlab-ci-test-project | |
branch: main | |
strategy: depend |
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
include: | |
- local: /.functional-test-template.yml | |
functional-test-suite-2: | |
stage: functional_test | |
variables: | |
LOCALE: "US" | |
trigger: | |
project: qa/gitlab-ci-test-project | |
branch: main | |
strategy: depend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment