Skip to content

KUBEADM-NIGHTLY-CI #645

KUBEADM-NIGHTLY-CI

KUBEADM-NIGHTLY-CI #645

name: KUBEADM-NIGHTLY-CI
on:
schedule:
- cron: '02 21 * * *'
env:
HOME: /root
PYTHONUNBUFFERED: true
CLUSTER: ci-kubeadm
CLUSTERPROFILE: sample-kubeadm-default
EXTRAPARAMS: ""
jobs:
deploy-kubeadm:
if: github.repository == 'karmab/kcli'
runs-on: libvirt
steps:
- uses: actions/checkout@v2
- run: git pull origin ${GITHUB_REF##*/}
- name: Install kcli
run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash
- name: Deploy Kubeadm on libvirt
run: kcli create cluster generic -P clusterprofile=$CLUSTERPROFILE $EXTRAPARAMS $CLUSTER --force
- name: Clean everything after success
run: kcli delete cluster --yes $CLUSTER