From 402b2df671bbca31e87374d192f0f9149a411e9a Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Wed, 11 May 2022 16:38:07 -0500 Subject: [PATCH 01/12] [artifacts] Enable Cloud smoke tests --- .buildkite/scripts/steps/artifacts/cloud.sh | 48 +++++++++---------- .../functional/apps/visualize/reporting.ts | 3 +- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 8fa04a5d176b0..c2fc582933d21 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -51,31 +51,29 @@ CLOUD_DEPLOYMENT_STATUS_MESSAGES=$(jq --slurp '[.[]|select(.resources == null)]' CLOUD_DEPLOYMENT_KIBANA_URL=$(ecctl deployment show "$CLOUD_DEPLOYMENT_ID" | jq -r '.resources.kibana[0].info.metadata.aliased_url') CLOUD_DEPLOYMENT_ELASTICSEARCH_URL=$(ecctl deployment show "$CLOUD_DEPLOYMENT_ID" | jq -r '.resources.elasticsearch[0].info.metadata.aliased_url') -# NOTE: disabled pending log sanitization -# echo "--- Setup FTR" -# export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") -# export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") -# export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") -# export TEST_KIBANA_USERNAME=$CLOUD_DEPLOYMENT_USERNAME" -# export TEST_KIBANA_PASS=$CLOUD_DEPLOYMENT_PASSWORD" - -# export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") -# export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") -# export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") -# export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" -# export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" - -# export TEST_BROWSER_HEADLESS=1 +function shutdown { + echo "--- Shutdown deployment" + ecctl deployment shutdown "$CLOUD_DEPLOYMENT_ID" --force --track --output json &> "$LOGS" +} +trap "shutdown" EXIT + +echo "--- FTR Setup" +export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") +export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") +export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") +export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" +export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" + +export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") +export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") +export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") +export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" +export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" + +export TEST_BROWSER_HEADLESS=1 # Error: attempted to use the "es" service to fetch Elasticsearch version info but the request failed: ConnectionError: self signed certificate in certificate chain -# export NODE_TLS_REJECT_UNAUTHORIZED=0 +export NODE_TLS_REJECT_UNAUTHORIZED=0 -# echo "--- Run default functional tests" -# node --no-warnings scripts/functional_test_runner.js --include-tag=cloud -exclude-tag=skipCloud - -# echo "--- Run x-pack functional tests" -# cd x-pack -# node --no-warnings scripts/functional_test_runner.js --include-tag=cloud -exclude-tag=skipCloud - -echo "--- Shutdown deployment" -ecctl deployment shutdown "$CLOUD_DEPLOYMENT_ID" --force --track --output json &> "$LOGS" +echo "--- FTR - Reporting" +node --no-warnings scripts/functional_test_runner.js --config test/functional/apps/visualize/config.ts --include-tag=smoke --quiet diff --git a/x-pack/test/functional/apps/visualize/reporting.ts b/x-pack/test/functional/apps/visualize/reporting.ts index 07ce3d9b23128..45f1e23224b7e 100644 --- a/x-pack/test/functional/apps/visualize/reporting.ts +++ b/x-pack/test/functional/apps/visualize/reporting.ts @@ -25,7 +25,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visEditor', ]); - describe('Visualize Reporting Screenshots', () => { + describe('Visualize Reporting Screenshots', function () { + this.tags(['smoke']); before('initialize tests', async () => { log.debug('ReportingPage:initTests'); await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/reporting/ecommerce'); From 1c60a7b4c1aeabb7ea771c6ee7fbe8b41bb4b0e4 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 11:29:05 -0500 Subject: [PATCH 02/12] login selection for cloud --- test/functional/page_objects/login_page.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/page_objects/login_page.ts b/test/functional/page_objects/login_page.ts index 74e85e60d1a69..51e6c4f7063e6 100644 --- a/test/functional/page_objects/login_page.ts +++ b/test/functional/page_objects/login_page.ts @@ -45,6 +45,9 @@ export class LoginPageObject extends FtrService { } private async regularLogin(user: string, pwd: string) { + if (await this.testSubjects.exists('loginCard-basic/cloud-basic')) { + await this.testSubjects.click('loginCard-basic/cloud-basic'); + } await this.testSubjects.setValue('loginUsername', user); await this.testSubjects.setValue('loginPassword', pwd); await this.testSubjects.click('loginSubmit'); From 9beb06a3633888f7697de47e5edebc6063e631ee Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 12:40:08 -0500 Subject: [PATCH 03/12] fix config path --- .buildkite/scripts/steps/artifacts/cloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index c2fc582933d21..df2acb85fafa4 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -76,4 +76,4 @@ export TEST_BROWSER_HEADLESS=1 export NODE_TLS_REJECT_UNAUTHORIZED=0 echo "--- FTR - Reporting" -node --no-warnings scripts/functional_test_runner.js --config test/functional/apps/visualize/config.ts --include-tag=smoke --quiet +node --no-warnings scripts/functional_test_runner.js --config x-pack/test/functional/apps/visualize/config.ts --include-tag=smoke --quiet From f9c9cf1800afaaae6d293acd093e2031e4109c4c Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 16:00:42 -0500 Subject: [PATCH 04/12] fix protocol --- .buildkite/scripts/steps/artifacts/cloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index df2acb85fafa4..4c41bebaddc80 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -58,13 +58,13 @@ function shutdown { trap "shutdown" EXIT echo "--- FTR Setup" -export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") +export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol.replace(':', ''))") export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" -export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol)") +export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol.replace(':', ''))") export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" From da0f9f8e9810f91d5a36dd90654ebe15fc96fdbf Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 16:57:59 -0500 Subject: [PATCH 05/12] fix url --- .buildkite/scripts/steps/artifacts/cloud.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 4c41bebaddc80..8ad9de7b703fb 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -64,9 +64,9 @@ export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" -export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol.replace(':', ''))") -export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") -export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") +export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').protocol.replace(':', ''))") +export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').hostname)") +export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').port)") export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" From f4aeba65fbd45b76e18e9282d4b931b607e20b67 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 16:58:42 -0500 Subject: [PATCH 06/12] cleanup --- .buildkite/scripts/steps/artifacts/cloud.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 8ad9de7b703fb..4df7edb86a8eb 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -57,7 +57,6 @@ function shutdown { } trap "shutdown" EXIT -echo "--- FTR Setup" export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').protocol.replace(':', ''))") export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") From 7ab7fa82a26eb1372fcb8c83d4b9018f314c062a Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Thu, 12 May 2022 17:02:23 -0500 Subject: [PATCH 07/12] fix syntax --- .buildkite/scripts/steps/artifacts/cloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 4df7edb86a8eb..16ffcd0885efe 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -64,7 +64,7 @@ export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').protocol.replace(':', ''))") -export TEST_ES_HOSTNAME==$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').hostname)") +export TEST_ES_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').hostname)") export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').port)") export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" From e04469aab266c396cc0745616b4337ad9d99d525 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 16 May 2022 08:48:01 -0500 Subject: [PATCH 08/12] logs --- .buildkite/scripts/steps/artifacts/cloud.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 16ffcd0885efe..3fda4ee19ff8b 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -51,6 +51,9 @@ CLOUD_DEPLOYMENT_STATUS_MESSAGES=$(jq --slurp '[.[]|select(.resources == null)]' CLOUD_DEPLOYMENT_KIBANA_URL=$(ecctl deployment show "$CLOUD_DEPLOYMENT_ID" | jq -r '.resources.kibana[0].info.metadata.aliased_url') CLOUD_DEPLOYMENT_ELASTICSEARCH_URL=$(ecctl deployment show "$CLOUD_DEPLOYMENT_ID" | jq -r '.resources.elasticsearch[0].info.metadata.aliased_url') +echo "Kibana: $CLOUD_DEPLOYMENT_KIBANA_URL" +echo "ES: $CLOUD_DEPLOYMENT_ELASTICSEARCH_URL" + function shutdown { echo "--- Shutdown deployment" ecctl deployment shutdown "$CLOUD_DEPLOYMENT_ID" --force --track --output json &> "$LOGS" From fffb5f0c716eb0cb98feae94d5ca8db3ab354496 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 16 May 2022 08:57:41 -0500 Subject: [PATCH 09/12] fix username --- .buildkite/scripts/steps/artifacts/cloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 3fda4ee19ff8b..1c98bbe2ca678 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -69,7 +69,7 @@ export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').protocol.replace(':', ''))") export TEST_ES_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').hostname)") export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').port)") -export TEST_ES_USER="$CLOUD_DEPLOYMENT_USERNAME" +export TEST_ES_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" export TEST_BROWSER_HEADLESS=1 From 05bf12978d3e41148ddeed80b2131bf9b66961b1 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 16 May 2022 12:42:31 -0500 Subject: [PATCH 10/12] update --- .buildkite/scripts/steps/artifacts/cloud.sh | 4 ++-- .buildkite/scripts/steps/es_snapshots/build.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index 1c98bbe2ca678..cf3fc8c384432 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -64,13 +64,13 @@ export TEST_KIBANA_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KI export TEST_KIBANA_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').hostname)") export TEST_KIBANA_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_KIBANA_URL').port)") export TEST_KIBANA_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" -export TEST_KIBANA_PASS="$CLOUD_DEPLOYMENT_PASSWORD" +export TEST_KIBANA_PASSWORD="$CLOUD_DEPLOYMENT_PASSWORD" export TEST_ES_PROTOCOL=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').protocol.replace(':', ''))") export TEST_ES_HOSTNAME=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').hostname)") export TEST_ES_PORT=$(node -e "console.log(new URL('$CLOUD_DEPLOYMENT_ELASTICSEARCH_URL').port)") export TEST_ES_USERNAME="$CLOUD_DEPLOYMENT_USERNAME" -export TEST_ES_PASS="$CLOUD_DEPLOYMENT_PASSWORD" +export TEST_ES_PASSWORD="$CLOUD_DEPLOYMENT_PASSWORD" export TEST_BROWSER_HEADLESS=1 diff --git a/.buildkite/scripts/steps/es_snapshots/build.sh b/.buildkite/scripts/steps/es_snapshots/build.sh index cdc1750e59bfc..848fc0bf9a7d3 100755 --- a/.buildkite/scripts/steps/es_snapshots/build.sh +++ b/.buildkite/scripts/steps/es_snapshots/build.sh @@ -65,6 +65,10 @@ export DOCKER_TLS_CERTDIR="$CERTS_DIR" export DOCKER_HOST=localhost:2377 echo "--- Build Elasticsearch" +(buildkite-agent meta-data get ES_SNAPSHOT_VERSION + ARTIFACTS_SUMMARY=$(curl -s "https://artifacts-snapshot.elastic.co/beats/latest/$FULL_VERSION.json" | jq -re '.summary_url') + + ./gradlew \ :distribution:archives:darwin-aarch64-tar:assemble \ :distribution:archives:darwin-tar:assemble \ From 306e4cfcf3787b5b5f9ebba932bacea4c5403562 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 16 May 2022 12:45:20 -0500 Subject: [PATCH 11/12] -r --- .buildkite/scripts/steps/artifacts/cloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/scripts/steps/artifacts/cloud.sh b/.buildkite/scripts/steps/artifacts/cloud.sh index cf3fc8c384432..d9e78c700e972 100644 --- a/.buildkite/scripts/steps/artifacts/cloud.sh +++ b/.buildkite/scripts/steps/artifacts/cloud.sh @@ -43,8 +43,8 @@ jq ' ' .buildkite/scripts/steps/cloud/deploy.json > "$DEPLOYMENT_SPEC" ecctl deployment create --track --output json --file "$DEPLOYMENT_SPEC" &> "$LOGS" -CLOUD_DEPLOYMENT_USERNAME=$(jq --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.username' "$LOGS") -CLOUD_DEPLOYMENT_PASSWORD=$(jq --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.password' "$LOGS") +CLOUD_DEPLOYMENT_USERNAME=$(jq -r --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.username' "$LOGS") +CLOUD_DEPLOYMENT_PASSWORD=$(jq -r --slurp '.[]|select(.resources).resources[] | select(.credentials).credentials.password' "$LOGS") CLOUD_DEPLOYMENT_ID=$(jq -r --slurp '.[0].id' "$LOGS") CLOUD_DEPLOYMENT_STATUS_MESSAGES=$(jq --slurp '[.[]|select(.resources == null)]' "$LOGS") From 3da35183642ef951fba4535474f015949a33655b Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 16 May 2022 13:40:00 -0500 Subject: [PATCH 12/12] revert unused --- .buildkite/scripts/steps/es_snapshots/build.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.buildkite/scripts/steps/es_snapshots/build.sh b/.buildkite/scripts/steps/es_snapshots/build.sh index 848fc0bf9a7d3..cdc1750e59bfc 100755 --- a/.buildkite/scripts/steps/es_snapshots/build.sh +++ b/.buildkite/scripts/steps/es_snapshots/build.sh @@ -65,10 +65,6 @@ export DOCKER_TLS_CERTDIR="$CERTS_DIR" export DOCKER_HOST=localhost:2377 echo "--- Build Elasticsearch" -(buildkite-agent meta-data get ES_SNAPSHOT_VERSION - ARTIFACTS_SUMMARY=$(curl -s "https://artifacts-snapshot.elastic.co/beats/latest/$FULL_VERSION.json" | jq -re '.summary_url') - - ./gradlew \ :distribution:archives:darwin-aarch64-tar:assemble \ :distribution:archives:darwin-tar:assemble \