File tree 7 files changed +35
-15
lines changed
7 files changed +35
-15
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,16 @@ jobs:
32
32
- stage : test
33
33
env :
34
34
script : ./script/validate-example-payloads-with-docker
35
+
35
36
- stage : ' :ship: it to quay.io'
36
37
env :
37
38
script : ./script/docker-build-and-push
38
39
if : (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
39
40
41
+ before_install :
42
+ - gem update --silent --system 3.3.26
43
+
40
44
before_script :
41
- - " gem install bundler -v 1.17.3"
42
45
- eval "$(script/handle-docker-config)"
43
46
- bundle install
44
47
- bundle exec rake clean assets:precompile
@@ -57,7 +60,6 @@ after_failure: bundle exec rake dump_examples_logs
57
60
before_deploy :
58
61
- sudo pip install -U -I Pygments
59
62
- ./script/build-s3-index-html
60
- - " gem install bundler -v 1.17.3"
61
63
62
64
deploy :
63
65
provider : s3
Original file line number Diff line number Diff line change 1
1
FROM ruby:2.5.8 as builder
2
- WORKDIR /app
3
2
4
3
ARG GITHUB_OAUTH_TOKEN=notset
5
4
5
+ RUN gem update --silent --system 3.3.26
6
+
7
+ WORKDIR /app
8
+
9
+ COPY .ruby-version Gemfile Gemfile.lock ./
10
+
11
+ RUN bundle install --frozen --deployment --without='development test' --clean
12
+
6
13
COPY . .
7
14
8
15
RUN git describe --always --dirty --tags | tee VERSION
9
16
RUN git rev-parse --short HEAD | tee BUILD_SLUG_COMMIT
10
17
RUN rm -rf .git
11
- RUN bundle install --frozen --deployment --without= 'development test' --clean
18
+
12
19
RUN bundle exec rake assets:precompile GITHUB_OAUTH_TOKEN=$GITHUB_OAUTH_TOKEN
13
20
RUN tar -cjf public.tar.bz2 public && rm -rf public
14
21
22
+
15
23
FROM ruby:2.5.8-slim
24
+
16
25
LABEL maintainer Travis CI GmbH <
[email protected] >
17
- WORKDIR /app
18
26
19
27
ENV TRAVIS_BUILD_DUMP_BACKTRACE true
20
28
ENV PORT 4000
21
29
30
+ RUN gem update --silent --system 3.3.26
31
+
32
+ WORKDIR /app
33
+
22
34
COPY --from=builder /app /app
23
35
COPY --from=builder /usr/local/bundle/config /usr/local/bundle/config
24
36
25
37
HEALTHCHECK --interval=5s CMD script/healthcheck
26
- EXPOSE 4000/tcp
38
+
39
+ EXPOSE $PORT/tcp
40
+
27
41
CMD ["script/server" ]
Original file line number Diff line number Diff line change @@ -271,5 +271,8 @@ DEPENDENCIES
271
271
travis-support !
272
272
webmock
273
273
274
+ RUBY VERSION
275
+ ruby 2.5.8p224
276
+
274
277
BUNDLED WITH
275
- 1.17.3
278
+ 2.3.26
Original file line number Diff line number Diff line change 1
- version : " 2.1"
2
1
services :
3
2
web :
4
3
build :
Original file line number Diff line number Diff line change 2
2
3
3
require 'json'
4
4
require 'logger'
5
+ require 'tmpdir'
5
6
require 'pathname'
6
7
require 'date'
7
8
Original file line number Diff line number Diff line change 166
166
"9.0.1-alpha1" : " 9.0.1-alpha1" ,
167
167
"9.0" : " 9.0.2" ,
168
168
"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 " ,
172
172
"9.0.x" : " 9.0.2" ,
173
173
"9.0.2" : " 9.0.2" ,
174
174
"9.2.1-alpha1" : " 9.2.1-alpha1" ,
192
192
"9.4.3" : " 9.4.3" ,
193
193
"9.4.4" : " 9.4.4" ,
194
194
"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" ,
197
197
"9.6.0.20230128" : " 9.6.0.20230128" ,
198
198
"9.6.0.20230210" : " 9.6.0.20230210" ,
199
199
"9.6.0.20230302" : " 9.6.0.20230302" ,
200
200
"9.6.1-alpha1" : " 9.6.1-alpha1" ,
201
201
"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"
203
204
}
Original file line number Diff line number Diff line change 3
3
set -ev
4
4
5
5
app_name=" web"
6
- local_image=" travis-build_ ${app_name} "
6
+ local_image=" travis-build- ${app_name} "
7
7
quay_image=quay.io/travisci/travis-build
8
8
9
9
unset DOCKER_CERT_PATH
You can’t perform that action at this time.
0 commit comments