Skip to content

Commit

Permalink
Print serial logs from ingress test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmwu committed Jun 27, 2024
1 parent cebc41a commit 07a1d39
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions launcher/image/test/test_ingress_network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ steps:
args:
- -c
- |
source util/read_serial.sh
echo "sleeping 200s, waiting for workload server to setup..."
sleep 200
internalIP=$(gcloud -q compute instances describe ingress-network-test-${BUILD_ID} --zone=${_ZONE} --format='get(networkInterfaces[0].networkIP)')
Expand All @@ -43,6 +44,7 @@ steps:
else
echo "FAILED: workload not reachable through the internal network"
echo 'TEST FAILED' > /workspace/status.txt
read_serial ingress-network-test-${BUILD_ID} ${_ZONE}
fi
- name: 'gcr.io/cloud-builders/gcloud'
Expand All @@ -62,6 +64,6 @@ steps:
- 'BUILD_ID=$BUILD_ID'
args: ['check_failure.sh']

options:
pool:
name: 'projects/confidential-space-images-dev/locations/us-west1/workerPools/cs-image-build-vpc'
#options:
# pool:
# name: 'projects/confidential-space-images-dev/locations/us-west1/workerPools/cs-image-build-vpc'

0 comments on commit 07a1d39

Please sign in to comment.