-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: optimize the integration-test (#141)
- Loading branch information
Showing
3 changed files
with
34 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Issue Trigger | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, closed] | ||
issue_comment: | ||
types: [created, edited, deleted] | ||
|
||
jobs: | ||
trigger: | ||
runs-on: self-hosted | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- name: update-integration-keyfile | ||
if: contains(github.event.pull_request.body, '/update-integration-keyfile') # check the comment if it contains the keywords | ||
run: | | ||
cd /server | ||
sudo rm -rf ./zkbas | ||
sudo git clone --branch develop https://github.com/bnb-chain/zkbas.git | ||
cd ./zkbas | ||
sudo bash ./deployment/tool/tool.sh prepare new | ||
sudo rm -rf /server/test.keyfile | ||
sudo cp -r ./deployment/.zkbas /server/test.keyfile |
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 |
---|---|---|
|
@@ -24,11 +24,11 @@ | |
|
||
***/types/types.go | ||
|
||
*.vk | ||
*.pk | ||
|
||
**/main | ||
|
||
*.pk | ||
*.vk | ||
|
||
build | ||
vendor | ||
deployment/dependency | ||
|