Skip to content

Commit

Permalink
add hive test (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx authored Feb 12, 2025
1 parent 45144c3 commit 82ef56f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 62 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/docker-release.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/qa-tip-tracking-gnosis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: QA - Tip tracking (Gnosis)

on:
schedule:
- cron: '0 0 * * 1-6' # Run every night at 00:00 AM UTC except Sunday
# schedule:
# - cron: '0 0 * * 1-6' # Run every night at 00:00 AM UTC except Sunday
workflow_dispatch: # Run manually

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-hive-eest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
mv clients/erigon/Dockerfile.git clients/erigon/Dockerfile
branch_name=$(echo ${GITHUB_REF#refs/heads/} | sed 's/[&/\]/\\&/g')
echo Building Hive with Erigon branch - $branch_name
sed -i "s/^ARG github=ledgerwatch\/erigon$/ARG github=erigontech\/erigon/" clients/erigon/Dockerfile
sed -i "s/^ARG github=erigontech\/erigon$/ARG github=node-real\/bsc-erigon/" clients/erigon/Dockerfile
sed -i "s|cd erigon|cd bsc-erigon|g" clients/erigon/Dockerfile
sed -i "s/^ARG tag=main$/ARG tag=${branch_name}/" clients/erigon/Dockerfile
go build . >> buildlogs.log
# Depends on the last line of hive output that prints the number of suites, tests and failed
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
mv clients/erigon/Dockerfile.git clients/erigon/Dockerfile
branch_name=$(echo ${GITHUB_REF#refs/heads/} | sed 's/[&/\]/\\&/g')
echo Building Hive with Erigon branch - $branch_name
sed -i "s/^ARG github=erigontech\/erigon$/ARG github=node-real\/bsc-erigon/" clients/erigon/Dockerfile
sed -i "s|cd erigon|cd bsc-erigon|g" clients/erigon/Dockerfile
sed -i "s/^ARG tag=main$/ARG tag=${branch_name}/" clients/erigon/Dockerfile
go build . >> buildlogs.log
# Depends on the last line of hive output that prints the number of suites, tests and failed
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/test-kurtosis-assertoor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Kurtosis Assertoor GitHub Action

env:
DOCKERHUB_REPOSITORY: "erigontech/erigon"
APP_REPO: "erigontech/erigon"
DOCKERHUB_REPOSITORY: "node-real/bsc-erigon"
APP_REPO: "node-real/bsc-erigon"

on:
push:
Expand All @@ -21,11 +21,19 @@ jobs:
- name: Fast checkout git repository
uses: actions/checkout@v4

- name: Login to Docker Hub
# - name: Login to Docker Hub
# uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ## v3.3.0
# with:
# username: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_USERNAME }}
# password: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}

- name: ghcr-login
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ## v3.3.0
with:
username: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_USERNAME }}
password: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}


- name: Docker build current branch
run: |
Expand Down

0 comments on commit 82ef56f

Please sign in to comment.