Skip to content

Commit

Permalink
chore: remove SVIX_CALLBACK_URL from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Dec 22, 2023
1 parent f1aea45 commit ada3650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
//core/api-keys //apps/dashboard //apps/consent //apps/pay
- name: Run bats tests
run: |
. ./.env && nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/**
nix develop -c bats --setup-suite-file bats/ci_setup_suite.bash -t bats/core/**
- name: Rename Tilt log
if: always()
run: mv bats/.e2e-tilt.log bats/e2e-tilt.log
Expand Down
2 changes: 2 additions & 0 deletions bats/helpers/callback.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CURRENT_FILE=${BASH_SOURCE:-bats/helpers/.}
source "$(dirname "$CURRENT_FILE")/_common.bash"

SVIX_CALLBACK_URL=${SVIX_CALLBACK_URL:-"http://bats-tests:8080/webhook/"}

add_callback() {
local token_name=$1

Expand Down
1 change: 0 additions & 1 deletion dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ core_serve_env = {
"LND1_TYPE": "offchain,onchain",
"SVIX_SECRET": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2OTE2NzIwMTQsImV4cCI6MjAwNzAzMjAxNCwibmJmIjoxNjkxNjcyMDE0LCJpc3MiOiJzdml4LXNlcnZlciIsInN1YiI6Im9yZ18yM3JiOFlkR3FNVDBxSXpwZ0d3ZFhmSGlyTXUifQ.b9s0aWSisNdUNki4edabBEToLNSwjC9-AiJQr4J3y4E",
"SVIX_ENDPOINT": "http://localhost:8071",
"SVIX_CALLBACK_URL": "http://bats-tests:8080/webhook/",
"EXPORTER_PORT": "3003"
}

Expand Down

0 comments on commit ada3650

Please sign in to comment.