fix: optimiized long pulumi refresh calls.
This commit is contained in:
@@ -29,18 +29,6 @@ jobs:
|
||||
with:
|
||||
node-version: '24'
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: 01-proxmox-infra/node_modules
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('01-proxmox-infra/package-lock.json') }}
|
||||
|
||||
- name: Cache pfSense SDK
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: 01-proxmox-infra/sdks
|
||||
key: pfsense-sdk-0.22.0
|
||||
|
||||
- name: Restore Stack Config
|
||||
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
||||
|
||||
@@ -78,18 +66,6 @@ jobs:
|
||||
with:
|
||||
node-version: '24'
|
||||
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: 01-proxmox-infra/node_modules
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('01-proxmox-infra/package-lock.json') }}
|
||||
|
||||
- name: Cache pfSense SDK
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: 01-proxmox-infra/sdks
|
||||
key: pfsense-sdk-0.22.0
|
||||
|
||||
- name: Restore Stack Config
|
||||
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
||||
|
||||
@@ -104,16 +80,6 @@ jobs:
|
||||
run: pulumi package add terraform-provider marshallford/pfsense 0.22.0
|
||||
working-directory: 01-proxmox-infra
|
||||
|
||||
- name: Refresh State
|
||||
uses: pulumi/actions@v5
|
||||
with:
|
||||
command: refresh
|
||||
stack-name: dev
|
||||
work-dir: 01-proxmox-infra
|
||||
cloud-url: ${{ secrets.PULUMI_BACKEND_URL }}
|
||||
env:
|
||||
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
|
||||
|
||||
- name: Deploy
|
||||
uses: pulumi/actions@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user