Add GH multinode test, r1 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Multi node cluster with Vagrant, Ubuntu, KubesprayInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
id: ${{ fromJSON(needs.define-matrix.outputs.nodes) }} | ||
steps: | ||
- run: | | ||
echo ${{ matrix.id }} |