[R4R]-{release v0.5.0}: Feature/mantle da indexer to v0.5.0 #93
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
name: E2E Check | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
- 'release/**' | |
paths: | |
- '**' | |
jobs: | |
E2E: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Rde-v2 Code | |
uses: actions/checkout@main | |
with: | |
repository: mantlenetworkio/rde-v2 | |
path: mantlenetworkio/rde-v2 | |
submodules: recursive | |
token: ${{ secrets.NEW_PAT }} | |
ref: develop | |
- name: Checkout Mantle-v2 Code | |
uses: actions/checkout@main | |
with: | |
repository: mantlenetworkio/mantle-v2 | |
path: mantlenetworkio/mantle-v2 | |
submodules: recursive | |
token: ${{ secrets.NEW_PAT }} | |
ref: ${{ github.head.ref}} | |
- name: Checkout Op-Geth Code | |
uses: actions/checkout@main | |
with: | |
repository: mantlenetworkio/op-geth | |
path: mantlenetworkio/op-geth | |
submodules: recursive | |
token: ${{ secrets.NEW_PAT }} | |
ref: 0502107fa2f896afd9d062695cd58d1e32d7fed9 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: E2E | |
run: | | |
cd mantlenetworkio/rde-v2 | |
rm -rf mantle-v2 | |
rm -rf op-geth | |
cp -r ../../mantlenetworkio/mantle-v2 . | |
cp -r ../../mantlenetworkio/op-geth . | |
cmd="docker run -i -v $(pwd):/app shidaxi/op-base:0.1.0-node-16-bullseye /bin/bash /app/e2e.sh" | |
echo -e "\e[32m$cmd\e[0m" | |
$cmd |