Skip to content

Commit

Permalink
Add GH multinode test
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Jun 14, 2024
1 parent f73e806 commit 4f7954e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy-gh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Multi node cluster with Vagrant, Ubuntu, Kubespray

on:
push:
# branches: [ main ]

workflow_dispatch:

env:
num_nodes: 4

jobs:
define_nodes:
steps:
run: |
echo "nodes='"$(python -c "print(list(range($num_nodes)))")"'" >>"$GITHUB_ENV"
nodes:
strategy:
matrix:
id: ${{ fromJSON(env.nodes) }}

steps:
- name: Print
run: |
echo ${{ matrix.id }}

0 comments on commit 4f7954e

Please sign in to comment.