File tree Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,13 @@ jobs:
34
34
pip install -r requirements-dev.txt
35
35
36
36
- name : Start LocalStack
37
+ uses : LocalStack/setup-localstack@main
38
+ with :
39
+ image-tag : ${{ inputs.release-tag || 'latest'}}
40
+ use-pro : ' true'
41
+ install-awslocal : ' true'
37
42
env :
38
43
LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
39
- run : |
40
- pip install localstack awscli-local[ver1]
41
- docker pull localstack/localstack-pro:${{ inputs.release-tag || 'latest'}}
42
- # Start LocalStack in the background
43
- localstack start -d
44
- # Wait 30 seconds for the LocalStack container to become ready before timing out
45
- echo "Waiting for LocalStack startup..."
46
- localstack wait -t 30
47
- echo "Startup complete"
48
44
49
45
- name : Deploy infrastructure
50
46
run : |
Original file line number Diff line number Diff line change @@ -42,17 +42,14 @@ jobs:
42
42
pip install -r requirements-dev.txt
43
43
44
44
- name : Start LocalStack
45
+ uses : LocalStack/setup-localstack@main
46
+ with :
47
+ image-tag : ' latest'
48
+ use-pro : ' true'
49
+ configuration : LS_LOG=trace
50
+ install-awslocal : ' true'
45
51
env :
46
52
LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
47
- run : |
48
- pip install localstack awscli-local[ver1]
49
- docker pull localstack/localstack-pro
50
- # Start LocalStack in the background
51
- LS_LOG=trace localstack start -d
52
- # Wait 30 seconds for the LocalStack container to become ready before timing out
53
- echo "Waiting for LocalStack startup..."
54
- localstack wait -t 30
55
- echo "Startup complete"
56
53
57
54
- name : Deploy infrastructure
58
55
run : |
Original file line number Diff line number Diff line change @@ -54,19 +54,15 @@ jobs:
54
54
python-version : ' 3.9'
55
55
56
56
- name : Start LocalStack
57
+ uses : LocalStack/setup-localstack@main
58
+ with :
59
+ image-tag : ${{ matrix.tag }}
60
+ use-pro : ' true'
61
+ install-awslocal : ' true'
57
62
env :
58
- DEBUG : 1
63
+ DEBUG : 1
59
64
POD_LOAD_CLI_TIMEOUT : 300
60
65
LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
61
- run : |
62
- pip install localstack awscli-local[ver1]
63
- docker pull localstack/localstack-pro:${{ matrix.tag }}
64
- # Start LocalStack in the background
65
- localstack start -d
66
- # Wait 30 seconds for the LocalStack container to become ready before timing out
67
- echo "Waiting for LocalStack startup..."
68
- localstack wait -t 30
69
- echo "Startup complete"
70
66
71
67
- name : Inject Pod
72
68
env :
You can’t perform that action at this time.
0 commit comments