diff --git a/.buildkite/hooks/pre-artifact b/.buildkite/hooks/pre-artifact index a863c9ed..ac5c86b2 100755 --- a/.buildkite/hooks/pre-artifact +++ b/.buildkite/hooks/pre-artifact @@ -6,6 +6,7 @@ DOCKER_IMAGE=authelia/authelia if [[ $BUILDKITE_COMMAND == "authelia-scripts --log-level debug ci" ]]; then + echo "--- :go::node: Saving artifacts for :chrome::selenium: Integration tests" tar --zstd -cf dist.tar.zst dist tar --zstd -cf web.tar.zst web fi diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 7886ee48..d062e5fe 100755 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -4,9 +4,12 @@ set +u if [[ $BUILDKITE_LABEL =~ ":selenium:" ]]; then + echo "--- :twisted_rightwards_arrows::desktop_computer: Downloading build artifacts" + buildkite-agent artifact download "dist.tar.zst" . + buildkite-agent artifact download "web.tar.zst" . echo "--- :go::node: Extracting build artifacts" - buildkite-agent artifact download "dist.tar.zst" . && tar xf dist.tar.zst - buildkite-agent artifact download "web.tar.zst" . && tar xf web.tar.zst + tar xf dist.tar.zst + tar xf web.tar.zst fi if [[ $BUILDKITE_LABEL =~ ":docker: Deploy Image" ]];