hundreds-lunch-5706
03/23/2023, 10:07 PMsquare-orange-24606
05/13/2023, 7:24 AMrequirements.txt
file just for the GH Action while everything else was handled with poetry.
In the end I did away with the action since I could get the same utility just using poetry and the pulumi
CLI. This kind of thing:
- name: Pulumi login
run: poetry run pulumi login
- name: Initialise stack
run: |
cp ./infrastructure/Pulumi.test.yaml \
"./infrastructure/Pulumi.${{ env.ENV }}.yaml"
poetry run pulumi stack init "orgname/${{ env.ENV }}" \
--cwd ./infrastructure
- name: Update stack
run: |
poetry run pulumi update --stack "orgname/${{ env.ENV }}" \
--cwd ./infrastructure --non-interactive --yes
hundreds-lunch-5706
05/15/2023, 1:47 AM