Skip to content

Add GH multinode test, r1 #6

Add GH multinode test, r1

Add GH multinode test, r1 #6

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-matrix:
runs-on: ubuntu-latest
outputs:
nodes: $
steps:
- run: |
echo "nodes='"$(python -c "print(list(range($num_nodes)))")"'" >>"$GITHUB_OUTPUT"
nodes:
needs: define-nodes

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

View workflow run for this annotation

GitHub Actions / Multi node cluster with Vagrant, Ubuntu, Kubespray

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-gh.yaml (Line: 22, Col: 12): Job 'nodes' depends on unknown job 'define-nodes'.
runs-on: ubuntu-latest
strategy:
matrix:
id: ${{ fromJSON(needs.define-matrix.outputs.nodes) }}
steps:
- run: |
echo ${{ matrix.id }}