mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-07-04 15:46:16 +00:00
Compare commits
2 commits
2c7cbd4f15
...
08b8c10941
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08b8c10941 | ||
|
|
ef31162b2d |
8 changed files with 11 additions and 11 deletions
6
.github/workflows/_deploy-core.yml
vendored
6
.github/workflows/_deploy-core.yml
vendored
|
|
@ -31,16 +31,16 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Cache pip packages
|
- name: Cache pip packages
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: pip-ansible
|
key: pip-ansible
|
||||||
|
|
||||||
- name: Cache Ansible collections
|
- name: Cache Ansible collections
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ~/.ansible
|
path: ~/.ansible
|
||||||
key: ansible-galaxy-${{ hashFiles('ansible/requirements.yml') }}
|
key: ansible-galaxy-${{ hashFiles('ansible/requirements.yml') }}
|
||||||
|
|
|
||||||
2
.github/workflows/deploy-on-merge.yml
vendored
2
.github/workflows/deploy-on-merge.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
hosts: ${{ steps.discover.outputs.hosts }}
|
hosts: ${{ steps.discover.outputs.hosts }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Read hosts from inventory
|
- name: Read hosts from inventory
|
||||||
id: discover
|
id: discover
|
||||||
|
|
|
||||||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
hosts: ${{ steps.prepare.outputs.hosts }}
|
hosts: ${{ steps.prepare.outputs.hosts }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Build host matrix
|
- name: Build host matrix
|
||||||
id: prepare
|
id: prepare
|
||||||
|
|
|
||||||
2
.github/workflows/lint-ansible.yml
vendored
2
.github/workflows/lint-ansible.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
name: ansible-lint
|
name: ansible-lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check for Ansible files
|
- name: Check for Ansible files
|
||||||
id: check
|
id: check
|
||||||
|
|
|
||||||
2
.github/workflows/lint-docker-compose.yml
vendored
2
.github/workflows/lint-docker-compose.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
name: docker compose config
|
name: docker compose config
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Stub missing env files referenced by Compose
|
- name: Stub missing env files referenced by Compose
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
4
.github/workflows/terraform.yml
vendored
4
.github/workflows/terraform.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
name: Plan
|
name: Plan
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-tofu
|
- uses: ./.github/actions/setup-tofu
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-tofu
|
- uses: ./.github/actions/setup-tofu
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/validate-caddyfile.yml
vendored
2
.github/workflows/validate-caddyfile.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
name: caddy validate
|
name: caddy validate
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Check for Caddyfile
|
- name: Check for Caddyfile
|
||||||
id: check
|
id: check
|
||||||
|
|
|
||||||
2
.github/workflows/validate-terraform.yml
vendored
2
.github/workflows/validate-terraform.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
name: tofu plan
|
name: tofu plan
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-tofu
|
- uses: ./.github/actions/setup-tofu
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue