File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
pull_docker_snapshot () {
8
8
project=" ${1?project name required} "
9
+ stack_version_alias=" ${2?stack version alias required} "
9
10
local docker_image=" docker.elastic.co/${project} /${project}${DISTRIBUTION_SUFFIX} :${ELASTIC_STACK_VERSION} "
10
11
echo " Pulling $docker_image "
11
12
if docker pull " $docker_image " ; then
@@ -30,8 +31,8 @@ if [ -z "${ELASTIC_STACK_VERSION}" ]; then
30
31
exit 1
31
32
fi
32
33
33
- # save the original arg if needed
34
- ELASTIC_STACK_VERSION_ARG =" $ELASTIC_STACK_VERSION "
34
+ # The ELASTIC_STACK_VERSION may be an alias, save the original before translating it
35
+ ELASTIC_STACK_VERSION_ALIAS =" $ELASTIC_STACK_VERSION "
35
36
36
37
echo " Fetching versions from $VERSION_URL "
37
38
VERSIONS=$( curl -s $VERSION_URL )
@@ -64,9 +65,9 @@ export DISTRIBUTION_SUFFIX
64
65
echo " Testing against version: $ELASTIC_STACK_VERSION (distribution: ${DISTRIBUTION:- " default" } )"
65
66
66
67
if [[ " $ELASTIC_STACK_VERSION " = * " -SNAPSHOT" ]]; then
67
- pull_docker_snapshot " logstash"
68
+ pull_docker_snapshot " logstash" $ELASTIC_STACK_VERSION_ALIAS
68
69
if [ " $INTEGRATION " == " true" ]; then
69
- pull_docker_snapshot " elasticsearch"
70
+ pull_docker_snapshot " elasticsearch" $ELASTIC_STACK_VERSION_ALIAS
70
71
fi
71
72
fi
72
73
Original file line number Diff line number Diff line change @@ -4,14 +4,13 @@ import:
4
4
jobs :
5
5
include :
6
6
- stage : " Integration Tests"
7
- - env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current
7
+ env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current
8
8
- env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.previous
9
9
- env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current
10
10
- env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.next
11
11
- env : INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.future
12
- # - env: INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=main
13
12
- stage : " Secure Integration Tests"
14
- - env : SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current SNAPSHOT=true
13
+ env : SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current SNAPSHOT=true
15
14
- env : SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current
16
15
- env : SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ES_SSL_KEY_INVALID=true
17
16
- env : SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3
You can’t perform that action at this time.
0 commit comments