Skip to content

Add GH multinode test, r1 #3

Add GH multinode test, r1

Add GH multinode test, r1 #3

Workflow file for this run

name: Multi node cluster with Vagrant, Ubuntu, Kubespray
on:
push:
# branches: [ main ]
workflow_dispatch:
env:
num_nodes: 4
jobs:
define-nodes:
runs-on: ubuntu-latest
steps:
- run: |
echo "nodes='"$(python -c "print(list(range($num_nodes)))")"'" >>"$GITHUB_ENV"

Check failure on line 17 in .github/workflows/deploy-gh.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-gh.yaml

Invalid workflow file

You have an error in your yaml syntax on line 17
nodes:
needs: define-nodes
runs-on: ubuntu-latest
strategy:
matrix:
id: ${{ fromJSON(env.nodes) }}
steps:
- run: |
echo ${{ matrix.id }}