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: container-tools/microshift-action@v0.2.1
This uses @container-tools/microshift-action GitHub Action to spin up a MicroShift OpenShift cluster on every Pull Request.