Skip to content

Workflow file for this run

name: RPC tests on repeat
# todo remove this after testing
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: '${{ github.ref != ''refs/heads/main'' }}'
on:
workflow_dispatch:
inputs:
image:
description: 'Forest image to use'
required: false
default: 'ghcr.io/chainsafe/forest:edge-fat'
type: string
schedule:
- cron: 0 0 * * *
# TODO remove once tested
pull_request:
branches:
- main
env:
FIL_PROOFS_PARAMETER_CACHE: /var/tmp/filecoin-proof-parameters
SHELL_IMAGE: busybox
jobs:
calibnet-rpc-checks:
strategy:
matrix:
# GH Actions do not support running jobs in a loop.
# This is a workaround to run the same job 100 times.
# x: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# y: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
x: [1, 2]
y: [1, 2]
name: Calibnet RPC checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Dummy Dockerfile to run the RPC tests with the latest Forest image.
- run: |
if [ "${{ github.event.inputs.image }}" == "'' ]; then

Check failure on line 41 in .github/workflows/rpc_test_repeat.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rpc_test_repeat.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
IMAGE=ghcr.io/chainsafe/forest:edge-fat
else
IMAGE=${{ github.event.inputs.image }}
fi
echo "FROM $$IMAGE" > Dockerfile-RPC
- uses: ./.github/workflows/composite/rpc_test
with:
FIL_PROOFS_PARAMETER_CACHE: ${{ env.FIL_PROOFS_PARAMETER_CACHE }}
SHELL_IMAGE: ${{ env.SHELL_IMAGE }}
FOREST_DOCKERFILE_OVERRIDE: Dockerfile-RPC