Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
circle

GitHub Action

MicroShift OpenShift Cluster

v0.1 Pre-release

MicroShift OpenShift Cluster

circle

MicroShift OpenShift Cluster

Create a MicroShift cluster

Installation

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

              

- name: MicroShift OpenShift Cluster

uses: container-tools/microshift-action@v0.1

Learn more about this action in container-tools/microshift-action

Choose a version

Microshift OpenShift Cluster Action

A GitHub Action for starting an OpenShift cluster using Microshift.

Usage

Pre-requisites

Create a workflow YAML file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Docs for Understanding GitHub Actions.

Inputs

For more information on inputs, see the API Documentation

  • version: The Microshift version to use (default: latest version)

Example Workflow

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: Create Cluster

on: pull_request

jobs:
  create-cluster:
    runs-on: ubuntu-latest
    steps:
      - name: Microshift OpenShift Cluster
        uses: tadayosi/microshift-action@v0

This uses @tadayosi/microshift-action GitHub Action to spin up a Microshift OpenShift cluster on every Pull Request.