Commit a76901c 1 parent 0aee559 commit a76901c Copy full SHA for a76901c
File tree 9 files changed +9
-32
lines changed
legacy-standalone-major-managed
9 files changed +9
-32
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ testing/smoke/**/tf.log
47
47
testing /smoke /** /apm-server- * .ndjson
48
48
testing /smoke /** /provisioner_key *
49
49
testing /smoke /** /main.tf
50
+ testing /smoke /** /secret_token_value.json
50
51
! testing /smoke /main.tf
51
52
! testing /smoke /supported-os /main.tf
52
53
! testing /smoke /managed /main.tf
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ scripts/secret_token.sh
3
3
scripts /index_shards.sh
4
4
scripts /custom-apm-integration-pkg.sh
5
5
scripts /drop_pipeline.sh
6
+ response.txt
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -eo pipefail
4
4
5
5
VERSION=${1}
6
6
if [[ -z ${VERSION} ]] || [[ " ${VERSION} " == " latest" ]]; then
7
- VERSION=$( curl -s " https://artifacts-api.elastic.co/v1/versions" | jq -r ' [ .versions[] | select(. | startswith("8"))] | last ' )
7
+ VERSION=$( curl -s " https://artifacts-api.elastic.co/v1/versions" | jq -r ' .versions[-1] ' )
8
8
fi
9
9
LATEST_BUILD=$( curl -s " https://artifacts-api.elastic.co/v1/versions/${VERSION} /builds/" | jq -r ' .builds[0]' )
10
10
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -eo pipefail
4
4
5
5
VERSION=${1}
6
6
if [[ -z ${VERSION} ]] || [[ " ${VERSION} " == " latest" ]]; then
7
- VERSION=$( curl -s " https://artifacts-api.elastic.co/v1/versions" | jq -r ' [ .versions[] | select(. | startswith("8"))] | last ' )
7
+ VERSION=$( curl -s " https://artifacts-api.elastic.co/v1/versions" | jq -r ' .versions[-1] ' )
8
8
fi
9
9
LATEST_BUILD=$( curl -s " https://artifacts-api.elastic.co/v1/versions/${VERSION} /builds/" | jq -r ' .builds[0]' )
10
10
Original file line number Diff line number Diff line change 16
16
MAJOR_VERSION=$( echo ${VERSION} | cut -d ' .' -f1 )
17
17
MINOR_VERSION=$( echo ${VERSION} | cut -d ' .' -f2 )
18
18
19
- if [[ ${MAJOR_VERSION} -eq 7 ]]; then
20
- ASSERT_EVENTS_FUNC=legacy_assertions
21
- INTEGRATIONS_SERVER=false
22
- get_latest_patch " ${MAJOR_VERSION} .${MINOR_VERSION} "
23
- LATEST_VERSION=${MAJOR_VERSION} .${MINOR_VERSION} .${LATEST_PATCH}
24
- PREV_LATEST_VERSION=$( echo ${MAJOR_VERSION} .${MINOR_VERSION} .$(( ${LATEST_PATCH} - 1 )) )
25
- elif [[ ${MAJOR_VERSION} -eq 8 ]]; then
19
+ if [[ ${MAJOR_VERSION} -eq 8 ]] || [[ ${MAJOR_VERSION} -eq 9 ]]; then
26
20
ASSERT_EVENTS_FUNC=data_stream_assertions
27
21
INTEGRATIONS_SERVER=true
28
22
Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ if [[ "${1}" == "latest" ]]; then
17
17
LATEST_VERSION=${LATEST_SNAPSHOT_VERSION}
18
18
ASSERTION_VERSION=${LATEST_SNAPSHOT_VERSION% -* } # strip -SNAPSHOT suffix
19
19
get_latest_snapshot
20
- # NOTE(marclop) Temporarily avoid testing against 9.x, since we want to test that the
21
- # upgrade for 7.17 to 8.latest works correctly.
22
- # Uncomment the line below when we are ready to test against 9.x and delete the line
23
- # after the next one.
24
- # NEXT_MAJOR_LATEST=$(echo $VERSIONS | jq -r -c '.[-1]')
25
- NEXT_MAJOR_LATEST=$( echo ${VERSIONS} | jq -r ' [.[] | select(. | startswith("8"))] | last' )
20
+ NEXT_MAJOR_LATEST=$( echo $VERSIONS | jq -r -c ' .[-1]' )
26
21
ASSERTION_NEXT_MAJOR_LATEST=${NEXT_MAJOR_LATEST% -* } # strip -SNAPSHOT suffix
27
22
else
28
23
get_latest_patch ${VERSION}
Original file line number Diff line number Diff line change @@ -337,10 +337,6 @@ data_stream_assertions() {
337
337
MAJOR=$( echo $VERSION | cut -d. -f1)
338
338
MINOR=$( echo $VERSION | cut -d. -f2)
339
339
340
- # Starting from 8.15 we use data stream lifecycle management.
341
- if [ $MAJOR -eq 8 ] && [ $MINOR -lt 15 ] || [ $MAJOR -lt 8 ]; then
342
- data_stream_assert_templates_ilm ${VERSION}
343
- fi
344
340
data_stream_assert_pipelines
345
341
data_stream_assert_events ${VERSION} ${ENTRIES}
346
342
}
Original file line number Diff line number Diff line change 2
2
3
3
set -eo pipefail
4
4
5
- # NOTE(marclop) temporarily avoid testing against 9.x, since it's currently in
6
- # its infancy and very far out.
7
- # Remove this line when we are ready to test against 9.x and the ${VERSION}
8
- # argument in the test_supported_os.sh script.
9
- VERSION=latest
10
- . $( git rev-parse --show-toplevel) /testing/smoke/test_supported_os.sh ${VERSION}
5
+ . $( git rev-parse --show-toplevel) /testing/smoke/test_supported_os.sh
Original file line number Diff line number Diff line change @@ -14,20 +14,15 @@ get_latest_snapshot
14
14
15
15
VERSION=${1}
16
16
if [[ -z ${VERSION} ]] || [[ " ${VERSION} " == " latest" ]]; then
17
- # NOTE(marclop) Temporarily avoid testing against 9.x, since we want to test that the
18
- # upgrade for 7.17 to 8.latest works correctly.
19
- # Uncomment the line below when we are ready to test against 9.x and delete the line
20
- # after the next one.
21
- # VERSION=$(echo ${VERSIONS} | jq -r 'last')
22
- VERSION=$( echo ${VERSIONS} | jq -r ' [.[] | select(. | startswith("8"))] | last' )
17
+ VERSION=$( echo ${VERSIONS} | jq -r ' last' )
23
18
echo " -> unspecified version, using $( echo ${VERSION} | cut -d ' .' -f1-2) "
24
19
fi
25
20
MAJOR_VERSION=$( echo ${VERSION} | cut -d ' .' -f1 )
26
21
MINOR_VERSION=$( echo ${VERSION} | cut -d ' .' -f2 )
27
22
28
23
OBSERVER_VERSION=$( echo ${VERSION} | cut -d ' -' -f1 )
29
24
30
- if [[ ${MAJOR_VERSION} -eq 8 ]]; then
25
+ if [[ ${MAJOR_VERSION} -eq 8 ]] || [[ ${MAJOR_VERSION} -eq 9 ]] ; then
31
26
ASSERT_EVENTS_FUNC=data_stream_assertions
32
27
INTEGRATIONS_SERVER=true
33
28
You can’t perform that action at this time.
0 commit comments