Compare commits
4 Commits
dc0e126a37
...
pi-hole
| Author | SHA1 | Date | |
|---|---|---|---|
| 562a8e2e93 | |||
| 9cdbf83b4a | |||
| 04fd6fd008 | |||
| cb0a5869d9 |
15
.drone.yml
15
.drone.yml
@@ -35,21 +35,6 @@ steps:
|
||||
event:
|
||||
- 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
|
||||
image: hashicorp/terraform:1.5
|
||||
commands:
|
||||
|
||||
@@ -37,6 +37,7 @@ resource "proxmox_virtual_environment_vm" "devops" {
|
||||
datastore_id = "local"
|
||||
size = 30
|
||||
ssd = true
|
||||
discard = "ignore"
|
||||
iothread = true
|
||||
interface = "scsi0"
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ resource "proxmox_virtual_environment_vm" "infra" {
|
||||
datastore_id = "local"
|
||||
size = 30
|
||||
ssd = true
|
||||
discard = "ignore"
|
||||
iothread = true
|
||||
interface = "scsi0"
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ resource "proxmox_virtual_environment_vm" "services" {
|
||||
size = 30
|
||||
ssd = true
|
||||
iothread = true
|
||||
discard = "ignore"
|
||||
interface = "scsi0"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user