Skip to content

Commit

Permalink
Merge pull request #3 from stuttgart-things/revert-2-test
Browse files Browse the repository at this point in the history
Revert "Test"
  • Loading branch information
anacalva authored Mar 12, 2024
2 parents 8341b10 + 97cc353 commit e736544
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 150 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/pythonaction.yml

This file was deleted.

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
23 changes: 23 additions & 0 deletions .github/workflows/validate-terraform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Terraform
on:
push:
branches:
- main
- feature/*
- review/*
- fix/*
pull_request:
types: [opened, reopened]

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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# stuttgart-things/proxmox-vm
"HOLA"

terraform module for creating proxmox vms

Expand Down
103 changes: 0 additions & 103 deletions tests/pipeline.py

This file was deleted.

0 comments on commit e736544

Please sign in to comment.