-
Notifications
You must be signed in to change notification settings - Fork 854
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use auth_users.public_keys.is_primary in all relevant queries (#3589)
- Loading branch information
Showing
25 changed files
with
967 additions
and
209 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-P ubuntu-latest=catthehacker/ubuntu:full-latest | ||
--container-architecture linux/amd64 |
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,44 @@ | ||
name: Backend tests | ||
description: Runs backend tests using pm2 and docker-compose | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: "Install pm2 to run node backend services for tests" | ||
shell: bash | ||
run: npm install pm2 --global | ||
|
||
- name: "Start backend/reef/docker-compose.yml containers for backend services" | ||
shell: bash | ||
run: cd backend/reef && docker compose up -d --build --wait | ||
|
||
- name: "Run xnft-api-server" | ||
shell: bash | ||
run: pm2 start backend/native/xnft-api-server/dist/index.js -- --port 8080 | ||
|
||
- name: "Test xnft-api-server" | ||
shell: bash | ||
run: cd backend/native/xnft-api-server && npx vitest | ||
|
||
- if: always() | ||
name: "Stop xnft-api-server" | ||
shell: bash | ||
run: pm2 kill | ||
|
||
- name: "Run backpack-api" | ||
shell: bash | ||
run: pm2 start backend/native/backpack-api/dist/index.js -- --port 8080 | ||
|
||
- name: "Test backpack-api" | ||
shell: bash | ||
run: cd backend/native/backpack-api && npx vitest | ||
|
||
- if: always() | ||
name: "Stop backpack-api" | ||
shell: bash | ||
run: pm2 kill | ||
|
||
- if: always() | ||
name: "Stop docker containers" | ||
shell: bash | ||
run: cd backend/reef && docker compose down --remove-orphans --volumes |
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
Oops, something went wrong.
7d51e40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
backpack – ./
backpack-200ms.vercel.app
backpack-git-master-200ms.vercel.app
devnet.backpack.app
www.backpack.app
backpack.app