gitlab-org--gitlab-foss/.gitlab/ci/setup.gitlab-ci.yml

45 lines
914 B
YAML
Raw Normal View History

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:
extends:
- .default-tags
- .default-retry
- .default-cache
- .default-before_script
- .except-docs
stage: test
dependencies: ["setup-test-env"]
needs: ["setup-test-env"]
variables:
SETUP_DB: "false"
2019-04-12 04:56:38 -04:00
script:
- bundle package --all --all-platforms
artifacts:
paths:
- vendor/cache
only:
refs:
- master@gitlab-org/gitlab-foss
- master@gitlab-org/gitlab
- tags
2019-04-12 04:56:38 -04:00
.minimal-job:
extends:
- .default-tags
- .default-retry
- .except-docs-qa
2019-04-12 04:56:38 -04:00
dependencies: []
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:
extends: .minimal-job
2019-04-12 04:56:38 -04:00
script:
- scripts/no-ee-check
only:
refs:
- branches@gitlab-org/gitlab-foss