Feature/terraform deploy workflow (#1243)

* terraform_deploy_workflow -> add workflow for kafka-ui infra terraform deployment

* terraform_deploy_workflow -> fix comment

* terraform_deploy_workflow -> fix

* terraform_deploy_workflow add cd to tf script path for all steps

* terraform_deploy_workflow fix dollar sign when setting var
This commit is contained in:
Ruslan Ibragimov 2021-12-13 15:41:46 +03:00 committed by GitHub
parent f84c2e2261
commit 4cad34c0f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ jobs:
git clone https://kafka-ui-infra:${{ secrets.KAFKA_UI_INFRA_TOKEN }}@gitlab.provectus.com/provectus-internals/kafka-ui-infra.git --branch master git clone https://kafka-ui-infra:${{ secrets.KAFKA_UI_INFRA_TOKEN }}@gitlab.provectus.com/provectus-internals/kafka-ui-infra.git --branch master
echo "Cd to deployment..." echo "Cd to deployment..."
cd kafka-ui-infra/aws-infrastructure4eks/deployment cd kafka-ui-infra/aws-infrastructure4eks/deployment
echo "$TF_DIR=$(pwd)" >> $GITHUB_ENV echo "TF_DIR=$(pwd)" >> $GITHUB_ENV
echo "Terraform will be triggered in this dir $TF_DIR" echo "Terraform will be triggered in this dir $TF_DIR"
- name: Configure AWS credentials for Kafka-UI account - name: Configure AWS credentials for Kafka-UI account