File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 76
76
ruby-image :
77
77
type : string
78
78
default : &default-ruby-image "circleci/ruby:2.6-stretch"
79
+ influxdb-repository :
80
+ type : string
81
+ default : " influxdb"
82
+ influxdb-version :
83
+ type : string
84
+ default : " 2.0.0-beta"
79
85
docker :
80
86
- image : << parameters.ruby-image >>
81
87
- image : &influx-image quay.io/influxdb/influx:nightly
88
+ environment :
89
+ INFLUXDB_V2_REPOSITORY : << parameters.influxdb-repository >>
90
+ INFLUXDB_V2_VERSION : << parameters.influxdb-version >>
82
91
steps :
83
92
- prepare
84
93
- test :
@@ -118,6 +127,10 @@ workflows:
118
127
ruby-image : " circleci/ruby:2.7-buster"
119
128
- tests-ruby :
120
129
name : ruby-2.6
130
+ - tests-ruby :
131
+ name : ruby-2.6-nightly
132
+ influxdb-repository : " influx"
133
+ influxdb-version : " nightly"
121
134
- tests-ruby :
122
135
name : ruby-2.5
123
136
ruby-image : " circleci/ruby:2.5-stretch"
@@ -128,6 +141,7 @@ workflows:
128
141
requires :
129
142
- ruby-2.7
130
143
- ruby-2.6
144
+ - ruby-2.6-nightly
131
145
- ruby-2.5
132
146
- ruby-2.4
133
147
filters :
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ set -e
26
26
DEFAULT_DOCKER_REGISTRY=" quay.io/influxdb/"
27
27
DOCKER_REGISTRY=" ${DOCKER_REGISTRY:- $DEFAULT_DOCKER_REGISTRY } "
28
28
29
- DEFAULT_INFLUXDB_V2_VERSION=" nightly"
29
+ DEFAULT_INFLUXDB_V2_REPOSITORY=" influxdb"
30
+ DEFAULT_INFLUXDB_V2_VERSION=" 2.0.0-beta"
31
+ INFLUXDB_V2_REPOSITORY=" ${INFLUXDB_V2_REPOSITORY:- $DEFAULT_INFLUXDB_V2_REPOSITORY } "
30
32
INFLUXDB_V2_VERSION=" ${INFLUXDB_V2_VERSION:- $DEFAULT_INFLUXDB_V2_VERSION } "
31
- INFLUXDB_V2_IMAGE=${DOCKER_REGISTRY} influx :${INFLUXDB_V2_VERSION}
33
+ INFLUXDB_V2_IMAGE=${DOCKER_REGISTRY}${INFLUXDB_V2_REPOSITORY} :${INFLUXDB_V2_VERSION}
32
34
33
35
SCRIPT_PATH=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
34
36
You can’t perform that action at this time.
0 commit comments