File tree Expand file tree Collapse file tree 1 file changed +43
-12
lines changed
Expand file tree Collapse file tree 1 file changed +43
-12
lines changed Original file line number Diff line number Diff line change 1+ dist : focal
2+
13language : ruby
4+ rvm : 2.6.6
5+
6+ git :
7+ depth : 10
8+
9+ # Build master 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+
15+ cache :
16+ bundler : true
17+ timeout : 600
18+
19+ stages :
20+ - name : prepare cache
21+ if : (type = push OR type = pull_request) AND branch = master
222
3- cache : bundler
4- env :
5- global :
6- - PATH=/snap/bin:$PATH
23+ - name : test
24+ if : (type = push OR type = pull_request) AND branch = master
725
8- addons :
9- snaps :
10- - name : docker
11- channel : latest/beta
26+ - name : " :ship: it to quay.io"
27+ if : commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
1228
1329before_install :
14- - gem install bundler -v '2.0.1'
30+ - ' echo '' gem: --no-document'' > ~/.gemrc' # Skip installing documentation
31+ - gem install bundler -v $(awk '/BUNDLED WITH/{getline; print}' Gemfile.lock)
1532
1633jobs :
1734 include :
18- - stage : " testing time"
35+ - stage : prepare cache
36+ script : true
37+
38+ - stage : test
39+ name : rspec
1940 script :
2041 - bundle exec rspec spec
42+
43+ - stage : test
44+ name : integration_configs
45+ script :
2146 - bundle exec rspec spec/integrate/configs_spec.rb --tag integration_configs
47+
48+ - stage : test
49+ name : integration_matrix
50+ script :
2251 - bundle exec rspec spec/integrate/matrix_spec.rb --tag integration_matrix
2352
2453 - stage : " :ship: it to quay.io"
25- language : ruby
54+ dist : jammy
55+ language : minimal
2656 cache :
2757 bundler : false
58+ env :
59+ - PATH=/snap/bin:$PATH
2860 before_install : skip
2961 install : skip
3062 script : make ship
31- 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