try to move environment to step
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
cc0fb98211
commit
b55b37d0d7
39
.drone.yml
39
.drone.yml
@ -2,28 +2,27 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: Apply Cloud infra changes
|
name: Apply Cloud infra changes
|
||||||
|
|
||||||
environment:
|
|
||||||
ARM_CLIENT_ID:
|
|
||||||
from_secret: ARM_CLIENT_ID
|
|
||||||
ARM_CLIENT_SECRET:
|
|
||||||
from_secret: ARM_CLIENT_SECRET
|
|
||||||
ARM_SUBSCRIPTION_ID:
|
|
||||||
from_secret: ARM_SUBSCRIPTION_ID
|
|
||||||
ARM_TENANT_ID:
|
|
||||||
from_secret: ARM_TENANT_ID
|
|
||||||
CLOUDFLARE_EMAIL:
|
|
||||||
from_secret: CLOUDFLARE_EMAIL
|
|
||||||
CLOUDFLARE_API_TOKEN:
|
|
||||||
from_secret: CLOUDFLARE_API_TOKEN
|
|
||||||
ARTIFACTORY_USERNAME:
|
|
||||||
from_secret: ARTIFACTORY_USERNAME
|
|
||||||
ARTIFACTORY_PASSWORD:
|
|
||||||
from_secret: ARTIFACTORY_PASSWORD
|
|
||||||
ARTIFACTORY_URL:
|
|
||||||
from_secret: ARTIFACTORY_URL
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Initialite Terraform resources
|
- name: Initialite Terraform resources
|
||||||
|
environment:
|
||||||
|
ARM_CLIENT_ID:
|
||||||
|
from_secret: ARM_CLIENT_ID
|
||||||
|
ARM_CLIENT_SECRET:
|
||||||
|
from_secret: ARM_CLIENT_SECRET
|
||||||
|
ARM_SUBSCRIPTION_ID:
|
||||||
|
from_secret: ARM_SUBSCRIPTION_ID
|
||||||
|
ARM_TENANT_ID:
|
||||||
|
from_secret: ARM_TENANT_ID
|
||||||
|
CLOUDFLARE_EMAIL:
|
||||||
|
from_secret: CLOUDFLARE_EMAIL
|
||||||
|
CLOUDFLARE_API_TOKEN:
|
||||||
|
from_secret: CLOUDFLARE_API_TOKEN
|
||||||
|
ARTIFACTORY_USERNAME:
|
||||||
|
from_secret: ARTIFACTORY_USERNAME
|
||||||
|
ARTIFACTORY_PASSWORD:
|
||||||
|
from_secret: ARTIFACTORY_PASSWORD
|
||||||
|
ARTIFACTORY_URL:
|
||||||
|
from_secret: ARTIFACTORY_URL
|
||||||
image: hashicorp/terraform
|
image: hashicorp/terraform
|
||||||
commands:
|
commands:
|
||||||
- terraform init
|
- terraform init
|
||||||
|
Reference in New Issue
Block a user