Skip to content

Test new LS action #30

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 3 commits into from
Jun 4, 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
3 changes: 2 additions & 1 deletion .github/workflows/cloudpod_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pip install -r requirements-dev.txt

- name: Start LocalStack
uses: LocalStack/setup-localstack@main
uses: LocalStack/setup-localstack@v0.2.0
with:
image-tag: ${{ inputs.release-tag || 'latest'}}
use-pro: 'true'
Expand All @@ -58,6 +58,7 @@ jobs:
run: |
pytest tests

# Not using action as state is not stored as an artifact
- name: Save the Cloud Pod
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
pip install -r requirements-dev.txt

- name: Start LocalStack
uses: LocalStack/setup-localstack@main
uses: LocalStack/setup-localstack@v0.2.0
with:
image-tag: 'latest'
use-pro: 'true'
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/preview_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ jobs:
pip install awscli-local

- name: Deploy Preview
uses: LocalStack/setup-localstack/preview@main
uses: LocalStack/setup-localstack@v0.2.0
env:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
localstack-api-key: ${{ secrets.LOCALSTACK_API_KEY }}
state-backend: ephemeral
state-action: start
skip-ephemeral-stop: 'true'
preview-cmd: |
# Add your custom deployment commands here.
# Below is an example for the Image resizer application.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_cloudpods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Loading it manually as we're storing the state as a release and not an artifact
- name: Retrieve Pod
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -54,7 +55,7 @@ jobs:
python-version: '3.11'

- name: Start LocalStack
uses: LocalStack/setup-localstack@main
uses: LocalStack/setup-localstack@v0.2.0
with:
image-tag: ${{ matrix.tag }}
use-pro: 'true'
Expand Down
Loading