-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'QA-Test' into dependabot/go_modules/golang.org/x/net-0.…
…23.0
- Loading branch information
Showing
129 changed files
with
31,483 additions
and
11,551 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 |
---|---|---|
@@ -1,30 +1,32 @@ | ||
name: LPS E2E test | ||
|
||
on: | ||
push: | ||
branches: [ QA-Test, Stable-Test, master ] | ||
pull_request: | ||
branches: | ||
- '*' | ||
branches: [ QA-Test, Stable-Test, master ] | ||
|
||
jobs: | ||
e2e-test: | ||
runs-on: ubuntu-18.04 | ||
name: Server initialization and health check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.18 | ||
uses: actions/setup-go@v3 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.18 | ||
go-version-file: 'go.mod' | ||
|
||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Update env file | ||
run: cd docker-compose/local/ && ./gh-action-env.sh ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Building LPS environment... | ||
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh build | ||
|
||
- name: Setting LPS environment up... | ||
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up && sleep 300 | ||
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh up | ||
|
||
- name: Checking LPS health... | ||
run: docker ps && curl -X GET http://localhost:8080/health | ||
run: curl -X GET http://localhost:8080/health | ||
|
||
- name: Shutting LPS environment down... | ||
run: cd docker-compose/local/ && LPS_STAGE=regtest sh lps-env.sh down |
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ run: | |
touch ~/.ssh/known_hosts | ||
ssh-keyscan flyover-01.aws-us-east-1.mainnet.flyover.rifcomputing.net >> ~/.ssh/known_hosts | ||
ssh -o "StrictHostKeyChecking=no" -A [email protected] sh -s << EOF | ||
cd /home/ubuntu/liquidity-provider-server/docker-compose && git pull origin master && docker system prune -f && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet build --no-cache && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet up --force-recreate -d | ||
cd /home/ubuntu/liquidity-provider-server/docker-compose && git pull origin master && docker system prune -f && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet build --build-arg COMMIT_HASH="$(git rev-parse HEAD)" --no-cache && docker-compose -f docker-compose.yml -f loki-mainnet.yml --env-file .env.mainnet up --force-recreate -d | ||
EOF | ||
|
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.