Skip to content

Commit 9bbadd2

Browse files
committed
ci: improves the e2e test
1 parent 73f37c8 commit 9bbadd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/e2e.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ jobs:
3030
- name: test pr
3131
run: |
3232
bash scripts/terraform-install.sh
33-
echo ${{ secrets.PROFILE }}
3433
CHANGED_FOLDERS="${{ steps.changed-files.outputs.all_changed_files }}"
3534
bash scripts/terraform-test.sh ${CHANGED_FOLDERS}

scripts/terraform-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ do
88
f=$(echo $f | xargs echo -n)
99
echo "===> Terraform testing in" $f
1010
terraform -chdir=$f init -upgrade
11-
source ~/.terraform_profile
11+
~/.init-env
12+
source ./.terraform_profile
1213
cp scripts/plan.tftest.hcl $f/
1314
terraform -chdir=$f test test -verbose
1415
if [[ $? -ne 0 ]]; then

0 commit comments

Comments
 (0)