mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
test
This commit is contained in:
parent
303f8eee31
commit
e6bc001ab8
1 changed files with 17 additions and 11 deletions
18
.github/workflows/ci-deploy.yaml
vendored
18
.github/workflows/ci-deploy.yaml
vendored
|
|
@ -26,7 +26,10 @@ jobs:
|
||||||
- name: Start Geth Devnet
|
- name: Start Geth Devnet
|
||||||
run: |
|
run: |
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "Waiting for Geth JSON-RPC..."
|
|
||||||
|
- name: Wait for Geth JSON-RPC
|
||||||
|
run: |
|
||||||
|
echo "Waiting for Geth to be ready..."
|
||||||
until curl -s http://localhost:8545; do sleep 1; done
|
until curl -s http://localhost:8545; do sleep 1; done
|
||||||
|
|
||||||
- name: Install Node Modules
|
- name: Install Node Modules
|
||||||
|
|
@ -74,17 +77,20 @@ jobs:
|
||||||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest,${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-${{ steps.autotag.outputs.tag }}
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest,${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-${{ steps.autotag.outputs.tag }}
|
||||||
labels: ${{ steps.metadata.outputs.labels }}
|
labels: ${{ steps.metadata.outputs.labels }}
|
||||||
|
|
||||||
- name: Start Geth Devnet
|
- name: Start Contracts Geth Devnet
|
||||||
run: |
|
run: |
|
||||||
docker run -it --rm
|
docker run -d
|
||||||
-p 8546:8545
|
-p 8546:8545
|
||||||
-p 30303:30303
|
-p 30303:30303
|
||||||
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest
|
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.REPO_NAME }}:${{ env.ENVIRONMENT }}-contracts-latest
|
||||||
--dev \
|
--dev
|
||||||
--http --http.addr 0.0.0.0
|
--http --http.addr 0.0.0.0
|
||||||
--http.api eth,net,web3,personal
|
--http.api eth,net,web3
|
||||||
--allow-insecure-unlock
|
--allow-insecure-unlock
|
||||||
echo "Waiting for Geth JSON-RPC..."
|
|
||||||
|
- name: Wait for Contracts Geth JSON-RPC
|
||||||
|
run: |
|
||||||
|
echo "Waiting for Contracts Geth to be ready..."
|
||||||
until curl -s http://localhost:8546; do sleep 1; done
|
until curl -s http://localhost:8546; do sleep 1; done
|
||||||
|
|
||||||
- name: Test Contracts
|
- name: Test Contracts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue