Skip to content

Commit

Permalink
sno ci: expose more parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Mar 20, 2024
1 parent 57efa11 commit 5a5cf63
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/sno-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ on:
description: 'tag'
required: false
default: "4.15"
DISKS:
description: 'disks'
required: false
default: "[50,100]"
NUMCPUS:
description: 'numcpus'
required: false
default: "16"
MEMORY:
description: 'memory'
required: false
default: "32768"

env:
HOME: /root
Expand Down Expand Up @@ -56,7 +68,7 @@ jobs:
steps:
- name: Deploy Baremetal like vm
run: |
kcli create vm -P uefi=true -P boot_order=true -P start=false -P memory=32768 -P numcpus=16 -P disks=[50,100] -P nets=[baremetalfake] -P user=core -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $EXTRAPARAMS $CLUSTER
kcli create vm -P uefi=true -P boot_order=true -P start=false -P memory=$MEMORY -P numcpus=$NUMCPUS -P disks=$DISKS -P nets=[baremetalfake] -P user=core -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $EXTRAPARAMS $CLUSTER
deploy-openshift:
needs: deploy-baremetal-like-vm
Expand Down

0 comments on commit 5a5cf63

Please sign in to comment.