Skip to content

Commit

Permalink
Add some more environment variables to the .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaxley committed Oct 8, 2024
1 parent b03b4f4 commit 140d63c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/linux_only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
UNIQUE_ID: ${{ github.run_id }}-${{ github.run_number }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
ES_PASSWORD: ""
KIBANA_PASSWORD: ""
AZURE_IP: ""

steps:
Expand Down Expand Up @@ -109,6 +110,8 @@ jobs:
- name: Run tests on Azure instance
env:
ES_PASSWORD: ${{ env.ES_PASSWORD }}
elastic: ${{ env.ES_PASSWORD }}
KIBANA_PASSWORD: ${{ env.KIBANA_PASSWORD }}
AZURE_IP: ${{ env.AZURE_IP }}
run: |
cd testing/v2/development
Expand All @@ -117,6 +120,8 @@ jobs:
IP_ADDRESS=\$(cat pipe-${{ env.UNIQUE_ID }}.ip.txt) && \
ssh lme-user@\$IP_ADDRESS 'cd /home/lme-user/LME/testing/tests && \
echo ELASTIC_PASSWORD=\"$ES_PASSWORD\" >> .env && \
echo KIBANA_PASSWORD=\"$KIBANA_PASSWORD\" >> .env && \
echo elastic=\"$ES_PASSWORD\" >> .env && \
cat .env && \
source venv/bin/activate && \
pytest -v api_tests/linux_only/ selenium_tests/linux_only/'
Expand Down

0 comments on commit 140d63c

Please sign in to comment.