2019-04-12 04:56:38 -04:00
|
|
|
# Insurance in case a gem needed by one of our releases gets yanked from
|
|
|
|
# rubygems.org in the future.
|
|
|
|
cache gems:
|
2019-08-26 16:41:55 -04:00
|
|
|
extends:
|
|
|
|
- .default-tags
|
|
|
|
- .default-retry
|
|
|
|
- .default-cache
|
|
|
|
- .default-before_script
|
2019-09-18 10:02:45 -04:00
|
|
|
- .only-code-qa-changes
|
2019-08-28 17:07:54 -04:00
|
|
|
stage: test
|
2019-08-26 16:41:55 -04:00
|
|
|
dependencies: ["setup-test-env"]
|
2019-08-28 17:07:54 -04:00
|
|
|
needs: ["setup-test-env"]
|
2019-08-26 16:41:55 -04:00
|
|
|
variables:
|
|
|
|
SETUP_DB: "false"
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
|
|
|
- bundle package --all --all-platforms
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- vendor/cache
|
|
|
|
only:
|
2019-08-26 16:41:55 -04:00
|
|
|
refs:
|
2019-09-17 10:16:34 -04:00
|
|
|
- master
|
2019-08-26 16:41:55 -04:00
|
|
|
- tags
|
2019-09-17 10:16:34 -04:00
|
|
|
variables:
|
|
|
|
- $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE == "gitlab-org"
|
2019-04-12 04:56:38 -04:00
|
|
|
|
2019-08-26 16:41:55 -04:00
|
|
|
.minimal-job:
|
2019-07-01 11:04:19 -04:00
|
|
|
extends:
|
2019-08-26 16:41:55 -04:00
|
|
|
- .default-tags
|
|
|
|
- .default-retry
|
2019-09-17 10:16:34 -04:00
|
|
|
- .default-only
|
|
|
|
- .only-code-changes
|
2019-04-12 04:56:38 -04:00
|
|
|
dependencies: []
|
2019-08-26 16:41:55 -04:00
|
|
|
|
|
|
|
gitlab_git_test:
|
|
|
|
extends: .minimal-job
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
|
|
|
- spec/support/prepare-gitlab-git-test-for-commit --check-for-changes
|
|
|
|
|
|
|
|
no_ee_check:
|
2019-08-26 16:41:55 -04:00
|
|
|
extends: .minimal-job
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
|
|
|
- scripts/no-ee-check
|
|
|
|
only:
|
2019-09-17 10:16:34 -04:00
|
|
|
variables:
|
2019-09-24 11:06:34 -04:00
|
|
|
- $CI_PROJECT_NAME == "gitlab-foss"
|
|
|
|
- $CI_PROJECT_NAME == "gitlab-ce" # Support former project name for forks/mirrors
|
|
|
|
- $CI_PROJECT_NAME == "gitlabhq" # Support former project name for dev
|