-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c082a4
commit c1f05f3
Showing
196 changed files
with
2,274 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,3 @@ if [ -f ".env.local" ]; then | |
fi | ||
|
||
use flake . | ||
|
||
export TEST_ENV="Local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
ALICE_PHONE="+16505554328" | ||
BOB_PHONE="+16505554329" | ||
ALICE_PHONE="+919876540001" | ||
BOB_PHONE="+919876540002" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
REPO_ROOT=$(git rev-parse --show-toplevel) | ||
|
||
source ${REPO_ROOT}/dev/vendor/galoy-quickstart/bin/helpers.sh | ||
|
||
while true; do | ||
bitcoin_cli -generate 1 | ||
sleep 2 | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
load("@toolchains//rover:macros.bzl", "supergraph", "diff_check", "dev_update_file") | ||
load( ":tilt.bzl", "tilt",) | ||
|
||
# Bring up the full set of services for development | ||
tilt( | ||
name = "up", | ||
subcmd = "up", | ||
) | ||
|
||
# Bring down any remaining/running services | ||
tilt( | ||
name = "down", | ||
subcmd = "down", | ||
) | ||
|
||
python_bootstrap_binary( | ||
name = "healthcheck", | ||
main = "healthcheck.py", | ||
visibility = ["PUBLIC"], | ||
) | ||
|
||
supergraph( | ||
name = "supergraph", | ||
config = "config/apollo-federation/supergraph-config.yaml", | ||
subgraphs = { | ||
"API_KEYS_SCHEMA": "//core/api-keys:sdl", | ||
"NOTIFICATIONS_SCHEMA": "//core/notifications:sdl", | ||
"PUBLIC_SCHEMA": "//core/api:public-sdl", | ||
}, | ||
) | ||
|
||
diff_check( | ||
name = "supergraph-diff", | ||
original = "config/apollo-federation/supergraph.graphql", | ||
new = ":supergraph" | ||
) | ||
|
||
test_suite( | ||
name = "check-sdls", | ||
tests = [ | ||
":supergraph-diff", | ||
"//core/api:public-schema-diff", | ||
"//core/api:admin-schema-diff", | ||
"//core/api-keys:schema-diff", | ||
"//core/notifications:schema-diff", | ||
], | ||
) | ||
|
||
dev_update_file( | ||
name = "update-supergraph", | ||
generated = ":supergraph", | ||
out = "config/apollo-federation/supergraph.graphql" | ||
) | ||
|
||
dev_update_file( | ||
name = "update-core-supergraph", | ||
generated = ":supergraph", | ||
out = "../core/api/dev/apollo-federation/supergraph.graphql" | ||
) | ||
|
||
sh_binary( | ||
name = "update-schemas", | ||
main = "bin/update-schemas.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "init-onchain", | ||
main = "bin/init-onchain.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "init-lightning", | ||
main = "bin/init-lightning.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "init-user", | ||
main = "bin/init-user.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "setup-hydra-client", | ||
main = "bin/setup-hydra-client.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "stoppable-trigger", | ||
main = "bin/run-stoppable-trigger.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "add-test-users-with-usernames", | ||
main = "bin/add-test-users-with-usernames.sh", | ||
) | ||
|
||
sh_binary( | ||
name = "fund-user", | ||
main = "bin/fund-user.sh", | ||
) |
Oops, something went wrong.