Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx committed May 11, 2024
1 parent 311bd55 commit d1662e7
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/portal-loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,46 +74,8 @@ jobs:
name: ghcr.io/gnolang/gno:test-portal-loop
path: /tmp/gno.tar

test-portal-loop:
runs-on: ubuntu-latest
needs: build-docker-image
# container: docker://ghcr.io/${{ github.repository }}:test-portal-loop
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ghcr.io/gnolang/gno:test-portal-loop
path: /tmp

- name: Load image
run: |
docker load --input /tmp/gno.tar
- name: Run test start script from portal loop
timeout-minutes: 5
uses: "docker://ghcr.io/gnolang/gno:test-portal-loop"
with: |
cat > /ci.sh <<EOF
bash ./misc/loop/scripts/start.sh &
apt install -y curl jq
while [[ "$(curl -s localhost:26657/status | jq -r '.result.sync_info.latest_block_height')" -gt 5 ]]; do sleep 1; done
curl -s localhost:26657/status
kill %1 || true
EOF
bash -x /ci.sh
test-portal-loop-docker-compose:
runs-on: ubuntu-latest
needs: build-docker-image
timeout-minutes: 5
steps:
- name: Checkout
Expand Down

0 comments on commit d1662e7

Please sign in to comment.