forked from erigontech/erigon
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c31a8c
commit f4a4176
Showing
1 changed file
with
44 additions
and
0 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,44 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- feature/gha_tests | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
jobs: | ||
kurtosis-cdk: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
da-mode: [ "rollup", "cdk-validium" ] | ||
steps: | ||
- name: Checkout cdk-erigon | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup kurtosis | ||
uses: ./.github/actions/setup-kurtosis | ||
|
||
- name: Set up envs | ||
run: | | ||
echo "L2_PRV_KEY=0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" >> $GITHUB_ENV | ||
echo "L2_RPC_URL=$(kurtosis port print cdk-v1 cdk-erigon-rpc-001 rpc)" >> $GITHUB_ENV | ||
- name: Run the build process with Docker | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
image: xavierromero/devtooling:20241204 | ||
options: | | ||
--network host | ||
--rm | ||
-e L2_RPC_URL=$L2_RPC_URL | ||
-e L2_PRV_KEY=$L2_PRV_KEY | ||
run: | | ||
x cast bn |