Add envs
This commit is contained in:
parent
63930e5d34
commit
c9bcfb8f41
1 changed files with 24 additions and 0 deletions
|
|
@ -35,6 +35,30 @@ tf-apply:
|
|||
script:
|
||||
- terraform init
|
||||
- terraform apply plan.tfplan
|
||||
environment:
|
||||
name: Just Jammin
|
||||
url: https://ejam.vereto.net
|
||||
dependencies:
|
||||
- tf-plan
|
||||
when: manual
|
||||
only:
|
||||
- master
|
||||
|
||||
tf-apply:
|
||||
stage: tf-apply
|
||||
image:
|
||||
name: hashicorp/terraform
|
||||
entrypoint: [""]
|
||||
before_script:
|
||||
- apk add ansible
|
||||
- ansible-galaxy collection install community.docker
|
||||
- chmod 600 jamulus.pem
|
||||
script:
|
||||
- terraform init
|
||||
- terraform apply plan.tfplan
|
||||
environment:
|
||||
name: Public Jammin
|
||||
url: https://ejam.vereto.net
|
||||
dependencies:
|
||||
- tf-plan
|
||||
when: manual
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue