Drone Terraform plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
681 B

9 years ago
build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
- make deps
- make vet
- make build
- make test
9 years ago
publish:
coverage:
when:
branch: master
9 years ago
docker:
username: $$DOCKER_USER
9 years ago
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-terraform
tag: latest
9 years ago
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-terraform
tag: develop
when:
branch: develop
9 years ago
plugin:
name: Terraform
desc: Execute Terraform plan and apply
type: deploy
image: plugins/drone-terraform
9 years ago
labels:
- terraform