Skip to content

Commit

Permalink
add more debug logging to vm startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hgherzog committed Nov 22, 2024
1 parent c4395c1 commit 57261b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_image_on_vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ create_vm() {
curl -s 'https://beaker.org/api/v3/release/cli?os=linux&arch=amd64' | sudo tar -zxv -C /usr/local/bin ./beaker && \
export IMAGE_ID=$(docker images --format "{{.ID}}" $DOCKER_IMAGE | head -n 1) && \
export BEAKER_IMAGE_NAME=$(echo $DOCKER_IMAGE | tr '/' '_' | tr ':' '_' | tr -cd '[:alnum:]-') && \
echo "Creating Beaker image" && \
beaker image create $IMAGE_ID --name $BEAKER_IMAGE_NAME && \
echo "Image uploaded to Beaker" && \
export BEAKER_USERNAME=$(curl -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/attributes/beaker_username) && \
Expand Down

0 comments on commit 57261b4

Please sign in to comment.