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
|
2020-06-02 08:08:33 -04:00
|
|
|
- .rails-cache
|
2019-08-26 16:41:55 -04:00
|
|
|
- .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-05-13 20:07:47 -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
|
2020-05-11 11:09:37 -04:00
|
|
|
expire_in: 31d
|
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-retry
|
2020-02-20 13:08:51 -05:00
|
|
|
needs: []
|
2019-08-26 16:41:55 -04:00
|
|
|
|
2020-03-27 05:08:28 -04:00
|
|
|
dont-interrupt-me:
|
|
|
|
extends: .setup:rules:dont-interrupt-me
|
2020-03-31 08:08:09 -04:00
|
|
|
stage: sync
|
2020-03-27 05:08:28 -04:00
|
|
|
image: alpine:edge
|
|
|
|
interruptible: false
|
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: none
|
|
|
|
script:
|
|
|
|
- echo "This jobs makes sure this pipeline won't be interrupted! See https://docs.gitlab.com/ee/ci/yaml/#interruptible."
|
|
|
|
|
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
|