File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' Setup LocalStack'
2+ description : ' Sets up LocalStack CLI in your GitHub Actions workflow.'
3+ author : ' Harsh Mishra'
4+
5+ branding :
6+ icon : ' code'
7+ color : ' white'
8+
9+ inputs :
10+ image-tag :
11+ description : ' Tag of the LocalStack Docker image to use'
12+ required : true
13+ default : ' latest'
14+ install-awslocal :
15+ description : ' Whether to install the `awslocal` CLI into the build environment'
16+ required : true
17+ default : ' true'
18+
19+ runs :
20+ using : " composite"
21+ steps :
22+ -
23+ run : |
24+ docker pull localstack/localstack:$IMAGE_TAG
25+ pip install localstack
26+ localstack start -d
27+ localstack wait -t 30
28+ if [ "$INSTALL_AWSLOCAL" = true ]; then
29+ pip install awscli-local[ver1]
30+ fi
31+ shell : bash
32+ env :
33+ IMAGE_TAG : " ${{ inputs.image-tag }}"
34+ INSTALL_AWSLOCAL : " ${{ inputs.install-awslocal }}"
You can’t perform that action at this time.
0 commit comments