Compare commits

...

4 Commits

Author SHA1 Message Date
tim
562a8e2e93 Merge pull request 'added services vm to repoasdsdasd' (#4) from services into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2023-10-27 14:27:28 +02:00
9cdbf83b4a added discard option to devops vm
All checks were successful
continuous-integration/drone/pr Build is passing
2023-10-27 14:25:23 +02:00
tim
04fd6fd008 removed apply action for pull request
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 14:21:34 +02:00
cb0a5869d9 added services vm to repoasdsdasd
Some checks failed
continuous-integration/drone/pr Build is failing
2023-10-27 14:14:50 +02:00
4 changed files with 3 additions and 15 deletions

View File

@@ -35,21 +35,6 @@ steps:
event: event:
- pull_request - pull_request
- name: terraform apply for pull request
image: hashicorp/terraform:1.5
commands:
- terraform -chdir=infrastructure validate
- terraform -chdir=infrastructure plan -out tfapply
- terraform -chdir=infrastructure apply -auto-approve tfapply
environment:
TF_VAR_virtual_environment_endpoint:
from_secret: virtual_environment_endpoint
TF_VAR_virtual_environment_api_token:
from_secret: virtual_environment_api_token
when:
event:
- pull_request
- name: Terraform infrastructure syntax check - name: Terraform infrastructure syntax check
image: hashicorp/terraform:1.5 image: hashicorp/terraform:1.5
commands: commands:

View File

@@ -37,6 +37,7 @@ resource "proxmox_virtual_environment_vm" "devops" {
datastore_id = "local" datastore_id = "local"
size = 30 size = 30
ssd = true ssd = true
discard = "ignore"
iothread = true iothread = true
interface = "scsi0" interface = "scsi0"
} }

View File

@@ -37,6 +37,7 @@ resource "proxmox_virtual_environment_vm" "infra" {
datastore_id = "local" datastore_id = "local"
size = 30 size = 30
ssd = true ssd = true
discard = "ignore"
iothread = true iothread = true
interface = "scsi0" interface = "scsi0"
} }

View File

@@ -38,6 +38,7 @@ resource "proxmox_virtual_environment_vm" "services" {
size = 30 size = 30
ssd = true ssd = true
iothread = true iothread = true
discard = "ignore"
interface = "scsi0" interface = "scsi0"
} }