Merge pull request 'Enable Drone CI' (#1) from ci-support into master

Reviewed-on: #1
This commit is contained in:
Kazuhiro MUSASHI 2023-07-09 11:26:10 +00:00
commit 129bf96664
1 changed files with 31 additions and 0 deletions

31
.drone.yml Normal file
View File

@ -0,0 +1,31 @@
kind: pipeline
type: docker
name: plan
steps:
- name: plan
image: reg.kazu634.com/kazu634/terraform
commands:
- terraform init
- terraform plan
trigger:
branch:
exclude:
- master
---
kind: pipeline
type: docker
name: apply
steps:
- name: apply
image: reg.kazu634.com/kazu634/terraform
commands:
- terraform init
- terraform apply
trigger:
branch:
- master