Skip to content

Commit

Permalink
added workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva committed Jan 22, 2024
1 parent 812a177 commit cbfc8c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release-terraform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Validate and Release Terraform Module
on:
workflow_dispatch:
inputs:
release-tag:
required: true
type: string
release-message:
required: true
type: string

jobs:
Validate-Terraform:
if: github.event.ref == 'refs/heads/main'
name: Valdiate
uses: stuttgart-things/stuttgart-things/.github/workflows/validate-terraform.yaml@main
with:
environment-name: k8s
runs-on: arc-runner-scale-set-proxmox-vm
terraform-version: 1.6
tflint-version: "v0.50.0"
continue-error: false

Release-Terraform:
if: github.event.ref == 'refs/heads/main'
name: Release
needs: Validate-Terraform
uses: stuttgart-things/stuttgart-things/.github/workflows/release-terraform.yaml@main
with:
module-name: proxmox-vm
tag-name: "${{ github.event.inputs.release-tag }}"
release-message: "${{ github.event.inputs.release-message }}"
environment-name: k8s
runs-on: arc-runner-scale-set-proxmox-vm
continue-error: false
File renamed without changes.

0 comments on commit cbfc8c6

Please sign in to comment.