File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
ARG RUBY_VERSION=${RUBY_VERSION:-3.1}
2
- FROM ruby:$RUBY_VERSION
2
+ ARG RUBY_SOURCE=${RUBY_SOURCE:-ruby}
3
+ FROM $RUBY_SOURCE:$RUBY_VERSION
3
4
4
5
# Default UID/GID to 1000
5
6
# it can be overridden at build time
Original file line number Diff line number Diff line change 7
7
TEST_SUITE : " {{ matrix.suite }}"
8
8
STACK_VERSION : 8.10.0-SNAPSHOT
9
9
TRANSPORT_VERSION : " {{ matrix.transport }}"
10
+ RUBY_SOURCE : " {{ matrix.ruby_source }}"
10
11
matrix :
11
12
setup :
12
13
suite :
@@ -16,9 +17,10 @@ steps:
16
17
- " 3.2"
17
18
- " 3.1"
18
19
- " 3.0"
19
- - " jruby-9.3"
20
20
transport :
21
21
- " 8.2"
22
+ ruby_source :
23
+ - ' ruby'
22
24
# Only run platinum once for the latest Ruby. You can use lots of combinations, check the
23
25
# documentation on https://buildkite.com/docs/pipelines/build-matrix for more information.
24
26
adjustments :
@@ -42,6 +44,10 @@ steps:
42
44
suite : " free"
43
45
ruby : " 3.2"
44
46
transport : " main"
47
+ - with :
48
+ suite : ' free'
49
+ ruby : ' 9.3'
50
+ ruby_source : ' jruby'
45
51
command : ./.buildkite/run-tests.sh
46
52
# I'm publishing test results to HTML and JUnit in this directory and this directive makes them
47
53
# available in the Artifacts tab of a build in Buildkite.
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ docker build \
15
15
--tag elastic/elasticsearch-ruby \
16
16
--build-arg RUBY_VERSION=$RUBY_VERSION \
17
17
--build-arg TRANSPORT_VERSION=$TRANSPORT_VERSION \
18
+ --build-arg RUBY_SOURCE=$RUBY_SOURCE \
18
19
.
19
20
20
21
mkdir -p elasticsearch-api/tmp
You can’t perform that action at this time.
0 commit comments