Skip to content

Commit

Permalink
Allow setting api url using env var
Browse files Browse the repository at this point in the history
  • Loading branch information
zaycev committed Jan 4, 2024
1 parent c3112e9 commit f40aebd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/trunk-hourly-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

- name: Run slow and resource-intensive Cypress tests
Expand All @@ -150,7 +151,8 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

- name: Run Flaky Cypress tests
Expand All @@ -169,7 +171,8 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

- name: Run EE Cypress tests on ${{ matrix.name }}
Expand All @@ -189,7 +192,8 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

- name: Run E2E tests that depend on Mongo
Expand All @@ -210,7 +214,8 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

- name: Upload results
Expand All @@ -221,5 +226,6 @@ jobs:
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
tags: tests=e2e
env:
TRUNK_LOG: debug
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true
3 changes: 2 additions & 1 deletion .github/workflows/trunk-hourly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ jobs:
org_url_slug: trunk-staging-org
token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }}
env:
RUST_LOG: info
TRUNK_LOG: info
TRUNK_API_ADDRESS: https://api.trunk-staging.io:5022
continue-on-error: true

0 comments on commit f40aebd

Please sign in to comment.