diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2023-05-04 13:17:28 +0000 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2023-05-04 13:17:28 +0000 |
commit | ffa4c6efa805ee7df0819acc6def1e0589533de0 (patch) | |
tree | a86297abd299f7eea8c5ce8cf2c4f235050d1078 | |
parent | 2e69e21d4674675748a5181f2ac618505d9a73a7 (diff) | |
parent | 02b15f52033fd31417f2500a88009a1e10c9f00d (diff) | |
download | gitlab-shell-ffa4c6efa805ee7df0819acc6def1e0589533de0.tar.gz |
Merge branch 'add-package-build-and-qa' into 'main'
Add build-package-and-qa job
Closes #645
See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/728
Merged-by: Igor Drozdov <idrozdov@gitlab.com>
Approved-by: Igor Drozdov <idrozdov@gitlab.com>
Approved-by: Vasilii Iakliushin <viakliushin@gitlab.com>
Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a0f1e42..ac4356d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,3 +93,34 @@ gemnasium-dependency_scanning: # Secret Detection secret_detection: rules: *workflow_rules + +build-package-and-qa: + trigger: + project: 'gitlab-org/build/omnibus-gitlab-mirror' + branch: 'master' + strategy: depend + inherit: + variables: false + variables: + GITLAB_SHELL_VERSION: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA + TOP_UPSTREAM_SOURCE_PROJECT: $CI_PROJECT_PATH + TOP_UPSTREAM_SOURCE_REF: $CI_COMMIT_REF_NAME + TOP_UPSTREAM_SOURCE_JOB: $CI_JOB_URL + ee: "true" + rules: + # For MRs that change dependencies, we want to automatically ensure builds + # aren't broken. In such cases, we don't want the QA tests to be run + # automatically, but still available for developers to manually run. + - if: '$CI_MERGE_REQUEST_IID' + changes: + - go.sum + variables: + BUILD_ON_ALL_OS: "true" + MANUAL_QA_TEST: "true" + allow_failure: false + # For other MRs, we still provide this job as a manual job for developers + # to obtain a package for testing and run QA tests. + - if: '$CI_MERGE_REQUEST_IID' + when: manual + allow_failure: true + needs: [] |