Skip to content

Commit

Permalink
ci(ssh): revert using ssh-compute action & increase sshd connection…
Browse files Browse the repository at this point in the history
… limit (#5367)

* Revert "ci(ssh): connect using `ssh-compute` action by Google (#5330)"

This reverts commit b366d6e.

* ci(ssh): use sudo for docker commands if user is not root

* ci(ssh): specify the service account to connect with

* ci(ssh): increase the Google Cloud instance sshd connection limit

* chore: add a new line at the end of the script

* chore: update our VM image to bullseye

* chore: fix `tj-actions/changed-files` file comparison
  • Loading branch information
gustavovalverde committed Oct 11, 2022
1 parent 3bc8f09 commit 658fbd9
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 266 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/continous-integration-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ jobs:
saves_to_disk: true
disk_suffix: checkpoint
height_grep_text: 'flushing database to disk .*height.*=.*Height.*\('
secrets: inherit

# Test that Zebra syncs and fully validates a few thousand blocks from a cached mandatory checkpoint disk
#
Expand All @@ -300,7 +299,6 @@ jobs:
needs_zebra_state: true
saves_to_disk: false
disk_suffix: checkpoint
secrets: inherit

# zebrad cached tip state tests

Expand Down Expand Up @@ -330,7 +328,6 @@ jobs:
saves_to_disk: true
disk_suffix: tip
height_grep_text: 'current_height.*=.*Height.*\('
secrets: inherit
# We don't want to cancel running full syncs on `main` if a new PR gets merged,
# because we might never finish a full sync during busy weeks. Instead, we let the
# first sync complete, then queue the latest pending sync, cancelling any syncs in between.
Expand Down Expand Up @@ -370,7 +367,6 @@ jobs:
root_state_path: '/var/cache'
zebra_state_dir: 'zebrad-cache'
height_grep_text: 'current_height.*=.*Height.*\('
secrets: inherit

# lightwalletd cached tip state tests

Expand Down Expand Up @@ -404,7 +400,6 @@ jobs:
zebra_state_dir: 'zebrad-cache'
lwd_state_dir: 'lwd-cache'
height_grep_text: '(current_height.*=.*Height.*\()|(Adding block to cache )'
secrets: inherit

# Test update sync of lightwalletd with a lightwalletd and Zebra tip state
# Runs:
Expand Down Expand Up @@ -433,7 +428,6 @@ jobs:
zebra_state_dir: 'zebrad-cache'
lwd_state_dir: 'lwd-cache'
height_grep_text: '(current_height.*=.*Height.*\()|(Adding block to cache )'
secrets: inherit

# Test that Zebra can answer a synthetic RPC call, using a cached Zebra tip state
#
Expand All @@ -458,7 +452,6 @@ jobs:
disk_suffix: tip
root_state_path: '/var/cache'
zebra_state_dir: 'zebrad-cache'
secrets: inherit

# Test that Zebra can handle a lightwalletd send transaction RPC call, using a cached Zebra tip state
#
Expand Down Expand Up @@ -486,7 +479,6 @@ jobs:
root_state_path: '/var/cache'
zebra_state_dir: 'zebrad-cache'
lwd_state_dir: 'lwd-cache'
secrets: inherit

# Test that Zebra can handle gRPC wallet calls, using a cached Zebra tip state
#
Expand All @@ -513,4 +505,3 @@ jobs:
root_state_path: '/var/cache'
zebra_state_dir: 'zebrad-cache'
lwd_state_dir: 'lwd-cache'
secrets: inherit

0 comments on commit 658fbd9

Please sign in to comment.