Skip to content

Commit b92b007

Browse files
tests-restored-locally
1 parent c833ba6 commit b92b007

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,15 +709,22 @@ jobs:
709709
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
710710
GODEBUG: netdns=go
711711
run: |
712-
aws s3 ls s3://stackql-trial-bucket-02 --region ap-southeast-2 --debug # 'stackql-trial-bucket-02' and region = 'ap-southeast-2'
712+
## positive control with aws cli
713+
foundAwsBucketCiontents="$(aws s3 ls s3://stackql-trial-bucket-02 --region ap-southeast-2)"
714+
echo "Found aws s3 bucket contents: $foundAwsBucketCiontents"
715+
if [ "$foundAwsBucketCiontents" == "" ]; then
716+
echo "ℹ️ AWS CLI access to S3 bucket failed"
717+
else
718+
echo "ℹ️ AWS CLI access to S3 bucket succeeded"
719+
fi
713720
echo "## Stray flask apps to be killed before robot tests ##"
714721
pgrep -f flask | xargs kill -9 || true
715722
echo "## End ##"
716723
if python cicd/python/build.py --robot-test-traffic-lights-integration; then
717-
echo "Traffic light robot integration tests **all** passed"
724+
echo "Traffic light robot integration tests **all** passed"
718725
else
719726
rv="$?"
720-
echo "**some** traffic light robot integration tests failed code = $rv"
727+
echo "🟡 **some** traffic light robot integration tests failed code = $rv"
721728
fi
722729
{
723730
echo "TRAFFIC_LIGHTS_COMPLETED=true"

0 commit comments

Comments
 (0)