File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 3737 pip install -r requirements-dev.txt
3838
3939 - name : Start LocalStack
40- uses : LocalStack/setup-localstack@main
40+ uses : LocalStack/setup-localstack@v0.2.0
4141 with :
4242 image-tag : ${{ inputs.release-tag || 'latest'}}
4343 use-pro : ' true'
5858 run : |
5959 pytest tests
6060
61+ # Not using action as state is not stored as an artifact
6162 - name : Save the Cloud Pod
6263 env :
6364 LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
Original file line number Diff line number Diff line change 5050 pip install -r requirements-dev.txt
5151
5252 - name : Start LocalStack
53- uses : LocalStack/setup-localstack@main
53+ uses : LocalStack/setup-localstack@v0.2.0
5454 with :
5555 image-tag : ' latest'
5656 use-pro : ' true'
Original file line number Diff line number Diff line change @@ -30,15 +30,18 @@ jobs:
3030 pip install awscli-local
3131
3232 - name : Deploy Preview
33- uses : LocalStack/setup-localstack/preview@main
33+ uses : LocalStack/setup-localstack@v0.2.0
3434 env :
3535 AWS_DEFAULT_REGION : us-east-1
3636 AWS_REGION : us-east-1
3737 AWS_ACCESS_KEY_ID : test
3838 AWS_SECRET_ACCESS_KEY : test
39+ LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
3940 with :
4041 github-token : ${{ secrets.GITHUB_TOKEN }}
41- localstack-api-key : ${{ secrets.LOCALSTACK_API_KEY }}
42+ state-backend : ephemeral
43+ state-action : start
44+ skip-ephemeral-stop : ' true'
4245 preview-cmd : |
4346 # Add your custom deployment commands here.
4447 # Below is an example for the Image resizer application.
Original file line number Diff line number Diff line change 3636 - name : Checkout
3737 uses : actions/checkout@v3
3838
39+ # Loading it manually as we're storing the state as a release and not an artifact
3940 - name : Retrieve Pod
4041 env :
4142 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5455 python-version : ' 3.11'
5556
5657 - name : Start LocalStack
57- uses : LocalStack/setup-localstack@main
58+ uses : LocalStack/setup-localstack@v0.2.0
5859 with :
5960 image-tag : ${{ matrix.tag }}
6061 use-pro : ' true'
You can’t perform that action at this time.
0 commit comments