File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,14 @@ jobs:
53
53
GIT_SHA=${{github.sha}}
54
54
packer build -var "git-head-version=${GIT_SHA}" -var "packer-execution-id=${GITHUB_RUN_ID}" -var-file="development-arm.vars.pkr.hcl" -var-file="common-nix.vars.pkr.hcl" -var "postgres-version=${{ steps.random.outputs.random_string }}" -var "region=ap-southeast-1" -var 'ami_regions=["ap-southeast-1"]' -var "force-deregister=true" -var "git_sha=${GITHUB_SHA}" stage2-nix-psql.pkr.hcl
55
55
56
- - name : Set up Python
57
- uses : actions/setup-python@v4
58
- with :
59
- python-version : ' 3.x'
60
-
61
56
- name : Run AMI resize script
62
57
env :
63
58
PRE_AMI_NAME : " supabase-postgres-${{ steps.random.outputs.random_string }}-pre-resize"
64
59
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
65
60
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
66
61
AWS_DEFAULT_REGION : ap-southeast-1
67
62
run : |
68
- pip install boto3 boto3-stubs[essential] ec2instanceconnectcli
63
+ pip3 install boto3 boto3-stubs[essential] ec2instanceconnectcli
69
64
python scripts/ami_resize_script.py
70
65
71
66
- name : Run tests
You can’t perform that action at this time.
0 commit comments