Skip to content

bump setup-localstack version #1386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/en/user-guide/ci/codebuild/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ phases:
- run: docker pull public.ecr.aws/localstack/localstack:latest
- run: docker image tag public.ecr.aws/localstack/localstack-pro:latest localstack/localstack:latest
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
install-awslocal: 'true'
Expand Down Expand Up @@ -82,7 +82,7 @@ phases:
steps:
...
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
configuration: LS_LOG=trace
Expand Down Expand Up @@ -128,7 +128,7 @@ phases:
- run: docker pull public.ecr.aws/localstack/localstack-pro:latest
- run: docker image tag public.ecr.aws/localstack/localstack-pro:latest localstack/localstack-pro:latest
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
use-pro: 'true'
Expand Down Expand Up @@ -194,15 +194,15 @@ phases:
# LocalStack is up and running already
- name: Load the Cloud Pod
continue-on-error: true # Allow it to fail as pod does not exist at first run
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
state-backend: cloud-pods
name: <cloud-pod-name>
action: load
skip-startup: 'true'
...
- name: Save the Cloud Pod
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
state-backend: cloud-pods
state-name: <cloud-pod-name>
Expand Down
16 changes: 8 additions & 8 deletions content/en/user-guide/ci/github-actions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This page contains easily customisable snippets to show you how to manage LocalS

```yaml
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
install-awslocal: 'true'
Expand All @@ -25,7 +25,7 @@ To set LocalStack configuration options, you can use the `configuration` input p

```yml
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
install-awslocal: 'true'
Expand All @@ -52,7 +52,7 @@ Additionally, you need to modify your GitHub Action workflow to use the `localst

```yaml
- name: Start LocalStack
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
image-tag: 'latest'
install-awslocal: 'true'
Expand All @@ -78,7 +78,7 @@ You can preserve your AWS infrastructure with Localstack in various ways.
# Localstack is up and running already
- name: Load the Cloud Pod
continue-on-error: true # Allow it to fail as pod does not exist at first run
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
state-backend: cloud-pods
state-name: <cloud-pod-name>
Expand All @@ -88,7 +88,7 @@ You can preserve your AWS infrastructure with Localstack in various ways.
...

- name: Save the Cloud Pod
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
state-backend: cloud-pods
state-name: <cloud-pod-name>
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
...

- name: Deploy Preview
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
env:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
Expand All @@ -140,7 +140,7 @@ Find out more about ephemeral instances [here](/user-guide/cloud-sandbox/).
```yaml
...
- name: Start LocalStack and Load State
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
continue-on-error: true # Allow it to fail as pod does not exist at first run
with:
install-awslocal: 'true'
Expand All @@ -153,7 +153,7 @@ Find out more about ephemeral instances [here](/user-guide/cloud-sandbox/).
...

- name: Save LocalStack State
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
install-awslocal: 'true'
state-backend: cloud-pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v4

- name: Deploy Preview
uses: LocalStack/setup-localstack@v0.2.0
uses: LocalStack/setup-localstack@v0.2.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
localstack-api-key: ${{ secrets.LOCALSTACK_API_KEY }}
Expand Down