Skip to content
upload-cloud

GitHub Action

Kubeflow for CI/CD

v1.0 Pre-release

Kubeflow for CI/CD

upload-cloud

Kubeflow for CI/CD

Easily run a Kubeflow cluster in your Action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Kubeflow for CI/CD

uses: swiftdiaries/kfctl-action@v1.0

Learn more about this action in swiftdiaries/kfctl-action
Choose a version

Kubeflow (kfctl) GitHub Action for AI/ML CI/CD

Actions Status


This Action installs Kubeflow on a Kubernetes cluster

What is this used for?

  • Automatic testing of Kubeflow applications.

Usage


Example Workflow with Kubernetes in Docker (KinD)

This Action is used in the third step.

...
name: "Kubeflow CI/CD via Actions"
on:
  pull_request:
  push:
    branches:
      - master
      - 'releases/*'

jobs:
  test:
    runs-on: ubuntu-latest
    steps:

    #######################################
    ### This is the Action that copies code
    ### from the current repo
    - name: Step 1 - Checkout the repo
      uses: actions/checkout@v1
    
    ###################################
    ### This is the Action that creates
    ### a Kubernetes in Docker cluster
    - name: Step 2 - create a KinD cluster
      uses: engineerd/setup-kind@v0.1.0
      with:
          version: "v0.5.0"
    
    ####################################
    ### This is the Action that installs
    ### Kubeflow on the KinD cluster
    - name: Step 3 - 
      uses: swiftdiaries/kfctl-kind-action@v1
      env:
        KUBECONFIG: "/home/runner/.kube/kind-config-kind"
      with: 
        milliseconds: 1000
...