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-retry
|
|
|
|
- .default-cache
|
|
|
|
- .default-before_script
|
2020-02-12 10:09:37 -05:00
|
|
|
- .setup:rules:cache-gems
|
2019-08-28 17:07:54 -04:00
|
|
|
stage: test
|
2020-02-12 10:09:37 -05:00
|
|
|
needs:
|
|
|
|
- job: setup-test-env
|
|
|
|
artifacts: true
|
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
|
|
|
|
|
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-retry
|
2020-02-20 13:08:51 -05:00
|
|
|
needs: []
|
2019-08-26 16:41:55 -04:00
|
|
|
|
|
|
|
gitlab_git_test:
|
2020-02-12 10:09:37 -05:00
|
|
|
extends:
|
|
|
|
- .minimal-job
|
|
|
|
- .setup:rules:gitlab_git_test
|
2020-02-20 13:08:51 -05:00
|
|
|
stage: test
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
|
|
|
- spec/support/prepare-gitlab-git-test-for-commit --check-for-changes
|
|
|
|
|
|
|
|
no_ee_check:
|
2020-02-12 10:09:37 -05:00
|
|
|
extends:
|
|
|
|
- .minimal-job
|
|
|
|
- .setup:rules:no_ee_check
|
2020-02-20 13:08:51 -05:00
|
|
|
stage: test
|
2019-04-12 04:56:38 -04:00
|
|
|
script:
|
|
|
|
- scripts/no-ee-check
|