Read about our upcoming Code of Conduct on this issue

setup.gitlab-ci.yml 1.06 KB
Newer Older
Kamil Trzciński's avatar
Kamil Trzciński committed
1
2
3
# Insurance in case a gem needed by one of our releases gets yanked from
# rubygems.org in the future.
cache gems:
Stan Hu's avatar
Stan Hu committed
4
5
6
7
  extends:
    - .default-retry
    - .default-cache
    - .default-before_script
8
    - .setup:rules:cache-gems
9
  stage: test
10
  needs: ["setup-test-env pg11"]
Stan Hu's avatar
Stan Hu committed
11
12
  variables:
    SETUP_DB: "false"
Kamil Trzciński's avatar
Kamil Trzciński committed
13
14
15
16
17
18
  script:
    - bundle package --all --all-platforms
  artifacts:
    paths:
      - vendor/cache

Stan Hu's avatar
Stan Hu committed
19
.minimal-job:
Philippe Lafoucrière's avatar
Philippe Lafoucrière committed
20
  extends:
Stan Hu's avatar
Stan Hu committed
21
    - .default-retry
22
  needs: []
Stan Hu's avatar
Stan Hu committed
23

24
25
dont-interrupt-me:
  extends: .setup:rules:dont-interrupt-me
26
  stage: sync
27
28
29
30
31
32
33
34
  image: alpine:edge
  interruptible: false
  allow_failure: true
  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."

Stan Hu's avatar
Stan Hu committed
35
gitlab_git_test:
36
37
38
  extends:
    - .minimal-job
    - .setup:rules:gitlab_git_test
39
  stage: test
Kamil Trzciński's avatar
Kamil Trzciński committed
40
41
42
43
  script:
    - spec/support/prepare-gitlab-git-test-for-commit --check-for-changes

no_ee_check:
44
45
46
  extends:
    - .minimal-job
    - .setup:rules:no_ee_check
47
  stage: test
Kamil Trzciński's avatar
Kamil Trzciński committed
48
49
  script:
    - scripts/no-ee-check