debian-mirror-gitlab/.gitlab/ci/setup.gitlab-ci.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2019-07-31 22:56:46 +05:30
# Insurance in case a gem needed by one of our releases gets yanked from
# rubygems.org in the future.
cache gems:
2019-12-04 20:38:33 +05:30
extends:
- .default-tags
- .default-retry
- .default-cache
- .default-before_script
2019-12-26 22:10:19 +05:30
- .only:variables-canonical-dot-com
- .only:changes-code-backstage-qa
2019-12-04 20:38:33 +05:30
stage: test
dependencies: ["setup-test-env"]
needs: ["setup-test-env"]
variables:
SETUP_DB: "false"
2019-07-31 22:56:46 +05:30
script:
- bundle package --all --all-platforms
artifacts:
paths:
- vendor/cache
only:
2019-12-04 20:38:33 +05:30
refs:
- master
- tags
2019-07-31 22:56:46 +05:30
2019-12-04 20:38:33 +05:30
.minimal-job:
2019-09-30 21:07:59 +05:30
extends:
2019-12-04 20:38:33 +05:30
- .default-tags
- .default-retry
- .default-only
2019-12-26 22:10:19 +05:30
- .only:changes-code-backstage
2019-07-31 22:56:46 +05:30
dependencies: []
2019-12-04 20:38:33 +05:30
gitlab_git_test:
extends: .minimal-job
2019-07-31 22:56:46 +05:30
script:
- spec/support/prepare-gitlab-git-test-for-commit --check-for-changes
no_ee_check:
2019-12-04 20:38:33 +05:30
extends: .minimal-job
2019-07-31 22:56:46 +05:30
script:
- scripts/no-ee-check
only:
2019-12-04 20:38:33 +05:30
variables:
- $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