Skip to content

Commit

Permalink
chore: move dev folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Sep 29, 2023
1 parent 396a717 commit 71afb93
Show file tree
Hide file tree
Showing 81 changed files with 15 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- run: cd core/api && yarn install --frozen-lockfile
- name: Run integration tests
run: |
cd core/api/ && make integration-in-ci
cd core/api/
make integration-in-ci
container_id=$(docker ps -q -f status=exited -f name="${PWD##*/}-integration-tests-")
exit $(docker inspect $container_id --format='{{.State.ExitCode}}')
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ subgraphs:
public:
routing_url: http://bats-tests:4012/graphql
schema:
file: ../../core/api/src/graphql/public/schema.graphql
file: ../../src/graphql/public/schema.graphql
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions core/api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ services:
command: ["make", "execute-bats-from-within-container"]
working_dir: /repo
env_file:
- ${TMP_ENV_CI:-.env.ci}
- ${TMP_ENV_CI:-../../.env.ci}
environment:
- GALOY_ENDPOINT=oathkeeper:4455
- OATHKEEPER_ENDPOINT=http://${OATHKEEPER_HOST:-oathkeeper}:${OATHKEEPER_PORT:-4456}/decisions/
Expand All @@ -307,7 +307,7 @@ services:
command: ["make", "execute-integration-from-within-container"]
working_dir: /repo
env_file:
- ${TMP_ENV_CI:-.env.ci}
- ${TMP_ENV_CI:-../../.env.ci}
volumes:
- ./:/repo
stablesats:
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions core/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "tsc -p tsconfig-build.json && cp -R src/services/price/protos lib/services/price/ && cp -R src/services/dealer-price/proto lib/services/dealer-price/ && cp -R src/services/loopd/protos lib/services/loopd/ && cp -R src/services/bria/proto lib/services/bria/ && tscpaths --silent -p tsconfig.json -s ./src -o ./lib",
"trigger": "yarn build && node lib/servers/trigger.js | pino-pretty -c -l",
"check:sdl": ". ../../.env && yarn write-sdl && if git diff --name-only | grep -q 'core/api/src/graphql/admin/schema.graphql'; then echo 'Error: core/api/src/graphql/admin/schema.graphql has changes, run `make codegen` and re-recommit' >&2; exit 1; fi && if git diff --name-only | grep -q 'core/api/src/graphql/public/schema.graphql'; then echo 'Error: core/api/src/graphql/public/schema.graphql has changes, run `make codegen` and re-recommit' >&2; exit 1; fi",
"write-sdl": "yarn build && node lib/servers/write-sdl.js write-sdl.yaml && rover supergraph compose --config ../../dev/apollo-federation/supergraph-config.yaml --elv2-license accept > ../../dev/apollo-federation/supergraph.graphql",
"write-sdl": "yarn build && node lib/servers/write-sdl.js write-sdl.yaml && rover supergraph compose --config dev/apollo-federation/supergraph-config.yaml --elv2-license accept > dev/apollo-federation/supergraph.graphql",
"ws": "yarn build && node lib/servers/ws-server.js | pino-pretty -c -l",
"watch": "nodemon -V -e ts,graphql -w ./src -x yarn run start",
"watch-trigger": "nodemon -V -e ts,graphql -w ./src -x yarn trigger",
Expand All @@ -27,7 +27,7 @@
"watch-main": ". ../../.env && nodemon -V -e ts,graphql -w ./src --exec yarn run start-main",
"start-main": ". ../../.env && yarn run build && node --inspect -r ./lib/services/tracing.js ./lib/servers/graphql-main-server.js",
"migrate-mongo-up": "migrate-mongo up -f './src/migrations/migrate-mongo-config.js'",
"gen-test-jwt": "ts-node ../../dev/bin/gen-test-jwt.ts"
"gen-test-jwt": "ts-node dev/bin/gen-test-jwt.ts"
},
"engines": {
"node": "20"
Expand Down
File renamed without changes.
Binary file removed dev/lnd/loop/regtest/loopd1-1.loop.db
Binary file not shown.
Binary file removed dev/lnd/loop/regtest/loopd1-1.loop.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/regtest/loopd1-1.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/loop/regtest/loopd2-1.loop.db
Binary file not shown.
Binary file removed dev/lnd/loop/regtest/loopd2-1.loop.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/regtest/loopd2-1.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/admin.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/chainnotifier.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/invoices.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/readonly.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/router.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/signer.macaroon
Binary file not shown.
Binary file removed dev/lnd/loop/server/regtest/walletkit.macaroon
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-1.admin.macaroon
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-1.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-1.wallet.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-2.admin.macaroon
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-2.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd-outside-2.wallet.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd1.admin.macaroon
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd1.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd1.wallet.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd2.admin.macaroon
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd2.macaroons.db
Binary file not shown.
Binary file removed dev/lnd/regtest/lnd2.wallet.db
Binary file not shown.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
buck2
pnpm
python3
envsubst
nodejs
tilt
yarn
Expand Down
12 changes: 7 additions & 5 deletions typos.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
files.extend-exclude = [
"dev",
"src/domain/users/languages.ts",
"src/services/loopd/protos",
"core/api/dev",
"core/api/src/domain/users/languages.ts",
"core/api/src/services/loopd/protos",
"docs/postman-collection/galoy_graphql_main_api.postman_collection.json",
"docker-compose.yml",
"quickstart/*.yml"
"core/api/docker-compose.yml",
"quickstart/*.yml",
"quickstart/galoy",
"quickstart/dev",
]

default.extend-ignore-identifiers-re = [
Expand Down

0 comments on commit 71afb93

Please sign in to comment.