Skip to content

Commit

Permalink
fix circleci build
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem saady authored and ibraheem saady committed Apr 9, 2021
1 parent 0246bd6 commit 63e0b9e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
steps:
- checkout
- run:
name: terraform init & validate
name: Init
command: |
terraform init examples/cluster-bootstrap
terraform validate examples/cluster-bootstrap
terraform init examples/basic
- run:
name: Validate
command: |
terraform fmt -check
terraform validate examples/basic
- persist_to_workspace:
root: .
paths:
Expand All @@ -33,7 +37,7 @@ jobs:
- run:
name: terraform plan
command: |
terraform plan examples/cluster-bootstrap
terraform plan examples/basic
- slack/notify:
event: fail
template: basic_fail_1
Expand All @@ -45,7 +49,7 @@ jobs:

# Orchestrate our job run sequence
workflows:
build_and_test:
validate:
jobs:
- build
# - plan:
Expand Down

0 comments on commit 63e0b9e

Please sign in to comment.