Skip to content

Commit

Permalink
feat: add confluent cli in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bibek4699 committed Dec 19, 2024
1 parent 376371c commit 7cb8a16
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/repository-terratest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ env:
TERRATEST_CONFLUENT_CLOUD_PASSWORD: ${{ secrets.TERRATEST_CONFLUENT_CLOUD_PASSWORD }}
TERRATEST_GOOGLE_CREDENTIALS_STORAGE: ${{ secrets.TERRATEST_GOOGLE_CREDENTIALS_STORAGE }}
TERRATEST_GOOGLE_PROJECT_STORAGE: ${{ secrets.TERRATEST_GOOGLE_PROJECT_STORAGE }}
#TF_LOG: DEBUG

jobs:
repository-terratest:
Expand All @@ -37,6 +36,15 @@ jobs:
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.8.5"
- name: Install Confluent CLI
run: |
# Download and install Confluent CLI
curl -sL --http1.1 https://cnfl.io/cli | sh -s -- v3.64.3 -b ./bin
# Add ./bin to PATH
echo "Adding ./bin to PATH"
echo "$PWD/bin" >> $GITHUB_PATH
# Verify installation
confluent --version
- name: Run terratest
run: |
cd test
Expand Down

0 comments on commit 7cb8a16

Please sign in to comment.