Compare commits
1 Commits
88d75f6b7c
...
fc4b82be5d
| Author | SHA1 | Date | |
|---|---|---|---|
| fc4b82be5d |
15
.drone.yml
15
.drone.yml
@@ -10,13 +10,11 @@ trigger:
|
|||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
environment:
|
|
||||||
AWS_ACCESS_KEY_ID:
|
|
||||||
from_secret: terraform-aws-key-id
|
|
||||||
AWS_SECRET_ACCESS_KEY:
|
|
||||||
from_secret: terraform-aws-secret-access-key
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# - name: pipeline init
|
||||||
|
# image: hashicorp/terraform:1.1.8
|
||||||
|
# commands:
|
||||||
|
|
||||||
- name: terraform init
|
- name: terraform init
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.1.8
|
||||||
commands:
|
commands:
|
||||||
@@ -46,8 +44,3 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- terraform show -plan .tfplan
|
- terraform show -plan .tfplan
|
||||||
# - terraform apply -plan .tfplan -auto-approve
|
# - terraform apply -plan .tfplan -auto-approve
|
||||||
---
|
|
||||||
kind: signature
|
|
||||||
hmac: 27148d661f9be0ea64b8ac57e17774f150c39a02565c787ba793bdde3b798110
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ resource "helm_release" "drone_runner" {
|
|||||||
DRONE_SERVER_HOST = "https://${local.ingress_domain}"
|
DRONE_SERVER_HOST = "https://${local.ingress_domain}"
|
||||||
DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.cluster.local"
|
DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.cluster.local"
|
||||||
DRONE_RPC_PROTO = "http"
|
DRONE_RPC_PROTO = "http"
|
||||||
DRONE_NAMESPACE_DEFAULT = kubernetes_namespace.jobs.metadata.0.name
|
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
jsonencode({
|
jsonencode({
|
||||||
|
|||||||
Reference in New Issue
Block a user