Skip to content

Commit

Permalink
conditional push updates
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Mar 20, 2024
1 parent 1ccff70 commit 55026c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
# - '*'
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions runbundler/geth.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion runbundler/runbundler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55026c1

Please sign in to comment.