Some checks failed
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Failing after 7s
42 lines
887 B
YAML
42 lines
887 B
YAML
---
|
|
name: tofu plan k8s-wheatley
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
# paths:
|
|
# - pve01.wheatley.in/k8s-wheatley/**
|
|
|
|
env:
|
|
TOFU_DIR: pve01.wheatley.in/k8s-wheatley
|
|
|
|
jobs:
|
|
tofu-plan-k8s-wheatley:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: opentofu/setup-opentofu@v1
|
|
|
|
- name: OpenTofu fmt
|
|
id: fmt
|
|
run: tofu fmt -check
|
|
working-directory: ${{ env.TOFU_DIR }}
|
|
continue-on-error: true
|
|
|
|
- name: OpenTofu Init
|
|
id: init
|
|
run: tofu init
|
|
working-directory: ${{ env.TOFU_DIR }}
|
|
|
|
- name: OpenTofu Validate
|
|
id: validate
|
|
run: tofu validate -no-color
|
|
working-directory: ${{ env.TOFU_DIR }}
|
|
|
|
- name: OpenTofu Plan
|
|
id: plan
|
|
run: tofu plan -no-color
|
|
working-directory: ${{ env.TOFU_DIR }}
|
|
continue-on-error: true
|