File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -679,6 +679,9 @@ jobs:
679679 sudo apt-get install nginx
680680 sudo nginx -c "$(pwd)/test/tcp/reverse-proxy/nginx/dynamic-sni-proxy.conf"
681681 fi
682+
683+ - name : Install AWS CLI
684+ uses : unconventionaldotdev/setup-awscli@main
682685
683686 - name : Run traffic light robot integration tests
684687 if : ((startsWith(github.ref_name, 'build-traffic-lights') && github.ref_type == 'tag') || (github.repository == 'stackql/stackql' && github.event_name == 'push' && github.ref == 'refs/heads/main')) && matrix.registry == 'test/registry'
@@ -691,6 +694,13 @@ jobs:
691694 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
692695 GODEBUG : netdns=go
693696 run : |
697+ cliResult="$(aws s3 ls s3://stackql-trial-bucket-02 --region ap-southeast-2)" # 'stackql-trial-bucket-02' and region = 'ap-southeast-2'
698+ echo "AWS CLI S3 List Result: $cliResult"
699+ if [[ "$cliResult" == *"stackql-trial-bucket-02"* ]]; then
700+ echo "AWS CLI is working correctly."
701+ else
702+ echo "AWS CLI is not working correctly."
703+ fi
694704 echo "## Stray flask apps to be killed before robot tests ##"
695705 pgrep -f flask | xargs kill -9 || true
696706 echo "## End ##"
You can’t perform that action at this time.
0 commit comments