File tree Expand file tree Collapse file tree 7 files changed +32
-14
lines changed Expand file tree Collapse file tree 7 files changed +32
-14
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,16 @@ jobs:
3232  - stage : test 
3333    env :
3434    script : ./script/validate-example-payloads-with-docker 
35+ 
3536  - stage : ' :ship: it to quay.io' 
3637    env :
3738    script : ./script/docker-build-and-push 
3839    if : (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true 
3940
41+ before_install :
42+ - gem update --silent --system 3.3.26 
43+ 
4044before_script :
41- - " gem install bundler -v 1.17.3" 
4245- eval "$(script/handle-docker-config)" 
4346- bundle install 
4447- bundle exec rake clean assets:precompile 
@@ -57,7 +60,6 @@ after_failure: bundle exec rake dump_examples_logs
5760before_deploy :
5861- sudo pip install -U -I Pygments 
5962- ./script/build-s3-index-html 
60- - " gem install bundler -v 1.17.3" 
6163
6264deploy :
6365  provider : s3 
Original file line number Diff line number Diff line change 11FROM  ruby:2.5.8 as builder
2- WORKDIR  /app
32
43ARG  GITHUB_OAUTH_TOKEN=notset
54
5+ RUN  gem update --silent --system 3.3.26
6+ 
7+ WORKDIR  /app
8+ 
69COPY  . .
710
811RUN  git describe --always --dirty --tags | tee VERSION
912RUN  git rev-parse --short HEAD | tee BUILD_SLUG_COMMIT
1013RUN  rm -rf .git
14+ 
1115RUN  bundle install --frozen --deployment --without='development test'  --clean
16+ 
1217RUN  bundle exec rake assets:precompile GITHUB_OAUTH_TOKEN=$GITHUB_OAUTH_TOKEN
1318RUN  tar -cjf public.tar.bz2 public && rm -rf public
1419
20+ 
1521FROM  ruby:2.5.8-slim
22+ 
1623LABEL  maintainer Travis CI GmbH <
[email protected] >
17- WORKDIR  /app
1824
1925ENV  TRAVIS_BUILD_DUMP_BACKTRACE true
2026ENV  PORT 4000
2127
28+ RUN  gem update --silent --system 3.3.26
29+ 
30+ WORKDIR  /app
31+ 
2232COPY  --from=builder /app /app
2333COPY  --from=builder /usr/local/bundle/config /usr/local/bundle/config
2434
2535HEALTHCHECK  --interval=5s CMD script/healthcheck
26- EXPOSE  4000/tcp
36+ 
37+ EXPOSE  $PORT/tcp
38+ 
2739CMD  ["script/server" ]
Original file line number Diff line number Diff line change @@ -271,5 +271,8 @@ DEPENDENCIES
271271  travis-support !
272272  webmock 
273273
274+ RUBY VERSION 
275+    ruby 2.5.8p224 
276+ 
274277BUNDLED WITH 
275-    1.17.3 
278+    2.3.26 
Original file line number Diff line number Diff line change 1- version : " 2.1" 
21services :
32  web :
43    build :
Original file line number Diff line number Diff line change 22
33require  'json' 
44require  'logger' 
5+ require  'tmpdir' 
56require  'pathname' 
67require  'date' 
78
Original file line number Diff line number Diff line change 166166  "9.0.1-alpha1" : " 9.0.1-alpha1" 
167167  "9.0" : " 9.0.2" 
168168  "9.0.1" : " 9.0.1" 
169-   "9" : " 9.6.0.20230302 " 
170-   "9.x" : " 9.6.0.20230302 " 
171-   "9.x.x" : " 9.6.0.20230302 " 
169+   "9" : " 9.6.1 " 
170+   "9.x" : " 9.6.1 " 
171+   "9.x.x" : " 9.6.1 " 
172172  "9.0.x" : " 9.0.2" 
173173  "9.0.2" : " 9.0.2" 
174174  "9.2.1-alpha1" : " 9.2.1-alpha1" 
192192  "9.4.3" : " 9.4.3" 
193193  "9.4.4" : " 9.4.4" 
194194  "9.6.0.20230111" : " 9.6.0.20230111" 
195-   "9.6.x" : " 9.6.0.20230302 " 
196-   "9.6" : " 9.6.1-alpha3 " 
195+   "9.6.x" : " 9.6.1 " 
196+   "9.6" : " 9.6.1" 
197197  "9.6.0.20230128" : " 9.6.0.20230128" 
198198  "9.6.0.20230210" : " 9.6.0.20230210" 
199199  "9.6.0.20230302" : " 9.6.0.20230302" 
200200  "9.6.1-alpha1" : " 9.6.1-alpha1" 
201201  "9.6.1-alpha2" : " 9.6.1-alpha2" 
202-   "9.6.1-alpha3" : " 9.6.1-alpha3" 
202+   "9.6.1-alpha3" : " 9.6.1-alpha3" 
203+   "9.6.1" : " 9.6.1" 
203204}
Original file line number Diff line number Diff line change 33set  -ev
44
55app_name=" web" 
6- local_image=" travis-build_ ${app_name} " 
6+ local_image=" travis-build- ${app_name} " 
77quay_image=quay.io/travisci/travis-build
88
99unset  DOCKER_CERT_PATH
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments