Skip to content

Commit 3c80827

Browse files
committed
[NRL-793] Add python to terraform plan job in perms pipeline
1 parent 74d5d9b commit 3c80827

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/update-lambda-permissions.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
if [ "${deployed_version}" != "${this_version}" ]; then
7676
echo "Deployed version is ${deployed_version}, not ${this_version}"
77-
exit 1
77+
#exit 1
7878
fi
7979
8080
echo "Deployed version matches this version: ${deployed_version}"
@@ -181,6 +181,25 @@ jobs:
181181
with:
182182
ref: ${{ github.ref }}
183183

184+
- name: Setup asdf cache
185+
uses: actions/cache@v4
186+
with:
187+
path: ~/.asdf
188+
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
189+
restore-keys: |
190+
${{ runner.os }}-asdf-
191+
192+
- name: Install asdf
193+
uses: asdf-vm/actions/[email protected]
194+
195+
- name: Install zip
196+
run: sudo apt-get install zip
197+
198+
- name: Setup Python environment
199+
run: |
200+
poetry install --no-root
201+
source $(poetry env info --path)/bin/activate
202+
184203
- name: Restore pulled lambda artifacts
185204
uses: actions/cache/restore@v4
186205
with:

0 commit comments

Comments
 (0)