File tree Expand file tree Collapse file tree 1 file changed +41
-13
lines changed
Expand file tree Collapse file tree 1 file changed +41
-13
lines changed Original file line number Diff line number Diff line change 1+ dist : focal
2+
13language : ruby
24rvm : 2.6.10
35
4- cache : bundler
5- env :
6- global :
7- - PATH=/snap/bin:$PATH
6+ git :
7+ depth : 10
8+
9+ # Build master, enterprise-3.0 and PRs which merge into those branches
10+ # We don't automatically build other branches when they're pushed; create a PR to cause the CI to run.
11+ branches :
12+ only :
13+ - master
14+ - enterprise-3.0
15+
16+ cache :
17+ bundler : true
18+ timeout : 600
19+
20+ stages :
21+ - name : prepare cache
22+
23+ - name : test
824
9- addons :
10- snaps :
11- - name : docker
12- channel : latest/beta
25+ - name : " :ship: it to quay.io"
26+ if : commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
1327
1428before_install :
15- - gem install bundler -v '2.0.1'
29+ - gem update --silent --system 3.4.13
30+ - ' echo "gem: --no-document" >> ~/.gemrc' # Skip installing documentation
31+ # - gem install bundler -v $(awk '/BUNDLED WITH/{getline; print}' Gemfile.lock)
1632
1733jobs :
1834 include :
19- - stage : " testing time"
35+ - stage : prepare cache
36+ script : true
37+
38+ - stage : test
39+ name : rspec
40+ script :
41+ - bundle exec rspec
42+
43+ - stage : test
44+ name : integration_configs
2045 script :
21- - bundle exec rspec spec
2246 - bundle exec rspec spec/integrate/configs_spec.rb --tag integration_configs
47+
48+ - stage : test
49+ name : integration_matrix
50+ script :
2351 - bundle exec rspec spec/integrate/matrix_spec.rb --tag integration_matrix
2452
2553 - stage : " :ship: it to quay.io"
26- language : ruby
54+ dist : jammy
55+ language : minimal
2756 cache :
2857 bundler : false
2958 before_install : skip
3059 install : skip
3160 script : make ship
32- if : (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
You can’t perform that action at this time.
0 commit comments