From 55026c174934a81b575ccc0aa0561296753d1255 Mon Sep 17 00:00:00 2001 From: Dror Tirosh Date: Tue, 19 Mar 2024 20:17:53 +0200 Subject: [PATCH] conditional push updates --- .github/workflows/build.yml | 12 +++++++----- runbundler/geth.yml | 4 ++-- runbundler/runbundler.sh | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c6636e..3aa985f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,15 +26,16 @@ on: required: false type: boolean - skip_push_updates: - description: 'skip push updates' + ignore_cache: + description: 'ignore cache' required: false type: boolean - ignore_cache: - description: 'ignore cache' + skip_push_results: + description: 'skip push results' required: false type: boolean + # push: # branches: # - '*' @@ -115,10 +116,11 @@ jobs: run: for d in build/*/*.log; do echo === $d:; cat $d | perl -pe 's/(?:runbundler-)?(\S+?)(?:-1)?[\s|]+(\S+)/$2 $1 /' | sort ; done - name: Clone and update results repo + if: ${{ ! inputs.skip_push_results }} run: ./update-results.sh out-results - name: Push update to results repo - if: ${{ ! inputs.skip_push_updates }} + if: ${{ ! inputs.skip_push_results }} uses: cpina/github-action-push-to-another-repository@main env: SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} diff --git a/runbundler/geth.yml b/runbundler/geth.yml index 23bfe3e..31c7849 100644 --- a/runbundler/geth.yml +++ b/runbundler/geth.yml @@ -1,9 +1,9 @@ services: eth-node: - container_name: geth-1.10 + container_name: geth-1.13 ports: [ '8545:8545' ] - image: ethereum/client-go:release-1.10 + image: ethereum/client-go:release-1.13 command: --verbosity 1 --http.vhosts '*,localhost,host.docker.internal' --http diff --git a/runbundler/runbundler.sh b/runbundler/runbundler.sh index 27b50b6..1f08391 100755 --- a/runbundler/runbundler.sh +++ b/runbundler/runbundler.sh @@ -65,7 +65,7 @@ cmd=$cmd case "$cmd" in start) $DC run --rm wait-all ;; - pull-start) $DC pull --quiet && $DC config|grep image && $DC run --rm wait-all ;; + pull-start) $DC pull --quiet && $DC build && $DC config|grep image && $DC run --rm wait-all ;; down) $DC down -t 1 ;; stop) $DC stop -t 1 ;; #execute misc docker-compose command