-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/github_actions/peter-evans/crea…
…te-or-update-comment-4
- Loading branch information
Showing
69 changed files
with
2,238 additions
and
1,180 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,76 @@ | ||
name: Bridge e2e tests | ||
description: | | ||
Setup and run bridge e2e tests between tanssi and ethereum | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check g++ | ||
shell: bash | ||
id: setup_g_plusplus | ||
run: | | ||
g++ --version | ||
- name: Check protoc | ||
shell: bash | ||
id: check_proto_c | ||
run: | | ||
protoc --version | ||
- name: Check jq | ||
shell: bash | ||
id: check_jq | ||
run: | | ||
jq --version | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '^1.22.0' | ||
- name: Check go | ||
shell: bash | ||
id: check_go | ||
run: | | ||
go version | ||
- name: Run Mage | ||
uses: magefile/mage-action@v3 | ||
with: | ||
install-only: true | ||
- name: Check mage | ||
shell: bash | ||
id: check_mage | ||
run: | | ||
mage --version | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Check forge | ||
shell: bash | ||
id: check_forge | ||
run: | | ||
forge --version | ||
- name: Pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 9 | ||
- name: Use Node.js 22.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.x | ||
- name: Install yarn | ||
shell: bash | ||
run: |- | ||
curl -fsSL --create-dirs -o $HOME/bin/yarn \ | ||
https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js | ||
chmod +x $HOME/bin/yarn | ||
echo "$HOME/bin" >> $GITHUB_PATH | ||
- name: Check yarn | ||
shell: bash | ||
id: check_yarn | ||
run: | | ||
yarn --version | ||
- name: Check date | ||
shell: bash | ||
id: check_date | ||
run: | | ||
date --version | ||
- name: Run Zombienet Test zombie_tanssi_relay_eth_bridge | ||
uses: ./.github/workflow-templates/zombienet-tests | ||
with: | ||
test_name: zombie_tanssi_relay_eth_bridge |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
merge_group: | ||
|
||
env: | ||
NODE_OPTIONS: "--max-old-space-size=12288" | ||
|
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ on: | |
|
||
jobs: | ||
e2e-bridge-test: | ||
if: ${{ github.event_name == 'merge_group' }} | ||
runs-on: self-hosted | ||
steps: | ||
- name: Retrieve run id | ||
|
@@ -37,87 +38,10 @@ jobs: | |
fi | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Check g++ | ||
id: setup_g_plusplus | ||
run: | | ||
g++ --version | ||
- name: Check protoc | ||
id: check_proto_c | ||
run: | | ||
protoc --version | ||
- name: Check jq | ||
id: check_jq | ||
run: | | ||
jq --version | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '^1.22.0' | ||
- name: Check go | ||
id: check_go | ||
run: | | ||
go version | ||
- name: Run Mage | ||
uses: magefile/mage-action@v3 | ||
with: | ||
install-only: true | ||
- name: Check mage | ||
id: check_mage | ||
run: | | ||
mage --version | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Check forge | ||
id: check_forge | ||
run: | | ||
forge --version | ||
- name: Pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 9 | ||
- name: Use Node.js 22.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.x | ||
- name: Install yarn | ||
run: |- | ||
curl -fsSL --create-dirs -o $HOME/bin/yarn \ | ||
https://github.com/yarnpkg/yarn/releases/download/v1.22.22/yarn-1.22.22.js | ||
chmod +x $HOME/bin/yarn | ||
echo "$HOME/bin" >> $GITHUB_PATH | ||
- name: Check yarn | ||
id: check_yarn | ||
run: | | ||
yarn --version | ||
- name: Check date | ||
id: check_date | ||
run: | | ||
date --version | ||
- name: Check output | ||
id: check_output | ||
run: | | ||
echo ${{ steps.retrieve-run-id.outputs.run_sha }} | ||
- name: Download build artifact from triggered workflow | ||
uses: dawidd6/action-download-artifact@v7 | ||
with: | ||
commit: ${{ steps.retrieve-run-id.outputs.run_sha }} | ||
workflow: release.yml | ||
name: binaries | ||
path: target/release | ||
allow_forks: false | ||
- name: "Make binaries executable" | ||
shell: bash | ||
run: | | ||
chmod uog+x target/release/tanssi-node | ||
chmod uog+x target/release/tanssi-relay | ||
chmod uog+x target/release/tanssi-relay-prepare-worker | ||
chmod uog+x target/release/tanssi-relay-execute-worker | ||
chmod uog+x target/release/container-chain-simple-node | ||
chmod uog+x target/release/container-chain-frontier-node | ||
- name: Run Zombienet Test zombie_tanssi_relay_eth_bridge | ||
uses: ./.github/workflow-templates/zombienet-tests | ||
with: | ||
test_name: zombie_tanssi_relay_eth_bridge | ||
|
||
- name: Run Zombienet Test ${{ matrix.test_name }} | ||
uses: ./.github/workflow-templates/bridge-e2e | ||
|
||
- name: Commit Action Status | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.