Skip to content

build(deps): bump the pulumi group in /pulumi with 2 updates #131

build(deps): bump the pulumi group in /pulumi with 2 updates

build(deps): bump the pulumi group in /pulumi with 2 updates #131

Workflow file for this run

name: Pulumi Preview
on:
pull_request:
paths:
- pulumi/**
- .github/workflows/pulumi-preview.yml
concurrency:
group: ghas-erfiume-pulumi-preview-${{ github.ref }}
cancel-in-progress: true
jobs:
python-ci-pulumi:
uses: notdodo/github-actions/.github/workflows/python-ci.yml@python-ci-v0
with:
working-directory: "./pulumi"
pulumi-preview:
name: Pulumi Preview
runs-on: ubuntu-latest
needs: [python-ci-pulumi]
permissions:
contents: read
pull-requests: write
id-token: write
defaults:
run:
working-directory: ./pulumi
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# v4.2.2
with:
persist-credentials: false
- run: |
echo "PULUMI_HOME=${GITHUB_WORKSPACE}/.pulumi" >> $GITHUB_ENV
echo "POETRY_PATH=$([ -f poetry.lock ] && echo ./pulumi || realpath -s --relative-to=${GITHUB_WORKSPACE} ../)" >> $GITHUB_ENV
working-directory: ./pulumi
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
# v5.4.0
with:
python-version: 3.13
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
# v4.2.2
with:
path: ~/.local
key: poetry-latest
- uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a
# v1.4.1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- id: cache-deps
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
# v4.2.2
with:
path: |
${{ env.POETRY_PATH }}/.venv
${{ env.POETRY_PATH }}/.mypy_cache
key: python-3.12-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
python-3.12-poetry
- run: poetry install
if: steps.cache-deps.outputs.cache-hit != 'true'
- uses: pulumi/auth-actions@80dec0d5e009a11565cbf87d9ef9103fc7d24198
# v1.0.0
with:
organization: notdodo
# kics-scan ignore-line
requested-token-type: urn:pulumi:token-type:access_token:personal
scope: user:notdodo
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
# v4.2.2
with:
path: ${{ env.PULUMI_HOME }}/plugins
key: python-3.12-pulumi-${{ hashFiles('**/poetry.lock') }}
- uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722
# v4.1.0
with:
role-to-assume: arn:aws:iam::841162699174:role/erfiume-oidc-read
aws-region: eu-west-1
retry-max-attempts: 2
- uses: aws-actions/aws-secretsmanager-get-secrets@fbd65ea98e018858715f591f03b251f02b2316cb
# v2.0.8
with:
secret-ids: CLOUDFLARE_API_TOKEN, erfiume-gha-cloudflare-read-only
- uses: pulumi/actions@3da56e6feff8f5db8b48d3a396bc10ef1f968088
# v6.1.0
with:
command: preview
stack-name: notdodo/erfiume/production
diff: true
work-dir: ./pulumi
comment-on-pr: true
color: always
suppress-progress: true
always-include-summary: true