Compare commits

..

2 Commits

Author SHA1 Message Date
88d75f6b7c fix: missing drone runner namespace
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-05-26 12:35:44 +02:00
8969cd3e21 ci: add drone.yml 2022-05-26 12:35:25 +02:00
2 changed files with 12 additions and 4 deletions

View File

@@ -10,11 +10,13 @@ trigger:
branch:
- main
steps:
# - name: pipeline init
# image: hashicorp/terraform:1.1.8
# commands:
environment:
AWS_ACCESS_KEY_ID:
from_secret: terraform-aws-key-id
AWS_SECRET_ACCESS_KEY:
from_secret: terraform-aws-secret-access-key
steps:
- name: terraform init
image: hashicorp/terraform:1.1.8
commands:
@@ -44,3 +46,8 @@ steps:
commands:
- terraform show -plan .tfplan
# - terraform apply -plan .tfplan -auto-approve
---
kind: signature
hmac: 27148d661f9be0ea64b8ac57e17774f150c39a02565c787ba793bdde3b798110
...

View File

@@ -17,6 +17,7 @@ resource "helm_release" "drone_runner" {
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_PROTO = "http"
DRONE_NAMESPACE_DEFAULT = kubernetes_namespace.jobs.metadata.0.name
}
}),
jsonencode({