From f6044c03e67f376318075d846ce84fd1553f51b0 Mon Sep 17 00:00:00 2001 From: Brad White Date: Tue, 1 Aug 2023 11:45:36 -0600 Subject: [PATCH] Docker login for serverless security --- .buildkite/scripts/steps/functional/security_serverless.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/scripts/steps/functional/security_serverless.sh b/.buildkite/scripts/steps/functional/security_serverless.sh index 6271c8b2e823e..055e7bf2ba93a 100644 --- a/.buildkite/scripts/steps/functional/security_serverless.sh +++ b/.buildkite/scripts/steps/functional/security_serverless.sh @@ -8,6 +8,9 @@ source .buildkite/scripts/steps/functional/common_cypress.sh export JOB=kibana-serverless-security-cypress export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION} +echo "$KIBANA_DOCKER_PASSWORD" | docker login -u "$KIBANA_DOCKER_USERNAME" --password-stdin docker.elastic.co +trap 'docker logout docker.elastic.co' EXIT + echo "--- Security Serverless Cypress" yarn --cwd x-pack/test_serverless/functional/test_suites/security/cypress cypress:run