Skip to content

Setup OKD OpenShift Cluster

Actions
This action sets up an OKD OpenShift Cluster in your environment
v1.1.4
Latest
Star (9)

Setup OpenShift GitHub Action

Set up your GitHub Actions workflow with a specific version of OKD (OpenShift/Origin).

Currently only Linux/Ubuntu CI environment is supported.

Usage

Basic

name: Example workflow

on: [push]

jobs:
  example:
    name: Example OpenShift Cluster interaction
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Setup OpenShift
        uses: manusa/[email protected]
        with:
          oc version: 'v3.11.0'
          github token: ${{ secrets.GITHUB_TOKEN }}
      - name: Interact with the cluster
        run: oc cluster status

Required input parameters

Parameter Description
oc version OpenShift version to deploy

Optional input parameters

Parameter Description
dns ip External DNS server IP to use in node-config.yaml
enable A list of components to enable (comma separated)
github token GITHUB_TOKEN secret value to access GitHub REST API with an unlimited number of requests

License

The scripts and documentation in this project are released under the Apache 2.0.

Setup OKD OpenShift Cluster is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action sets up an OKD OpenShift Cluster in your environment
v1.1.4
Latest

Setup OKD OpenShift Cluster is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.