diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5bb333cbfaed90cfc5e7ff93693aaae971d754cf..01b79d058696e0b3becf148bc1d45a4d2d6b30bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,13 @@ check-elastic: gitlab-terraform validate gitlab-terraform fmt -check gitlab-terraform plan + gitlab-terraform plan-json + artifacts: + name: plan + paths: + - ${TF_ROOT_ELASTIC}/plan.cache + reports: + terraform: ${TF_ROOT_ELASTIC}/plan.json check-magento: stage: deploy @@ -50,10 +57,16 @@ check-magento: gitlab-terraform validate gitlab-terraform fmt -check gitlab-terraform plan + artifacts: + name: plan + paths: + - ${TF_ROOT_MAGENTO}/plan.cache + reports: + terraform: ${TF_ROOT_MAGENTO}/plan.json apply-elastic: stage: deploy - needs: + dependencies: - check-elastic tags: - docker @@ -70,7 +83,7 @@ apply-elastic: apply-magento: stage: deploy - needs: + dependencies: - check-magento tags: - docker