Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manusa/actions-setup-openshift
Set up your GitHub Actions workflow with a specific version of OKD (OpenShift/Origin)
https://github.com/manusa/actions-setup-openshift
kubernetes kubernetes-cluster minishift oc okd openshift openshift-origin
Last synced: 2 months ago
JSON representation
Set up your GitHub Actions workflow with a specific version of OKD (OpenShift/Origin)
- Host: GitHub
- URL: https://github.com/manusa/actions-setup-openshift
- Owner: manusa
- License: apache-2.0
- Created: 2019-11-01T05:17:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T08:00:33.000Z (about 1 year ago)
- Last Synced: 2024-10-15T12:34:31.402Z (2 months ago)
- Topics: kubernetes, kubernetes-cluster, minishift, oc, okd, openshift, openshift-origin
- Language: JavaScript
- Homepage: https://www.marcnuri.com
- Size: 14.8 MB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Setup OpenShift GitHub Action
===============================[](https://github.com/manusa/actions-setup-openshift/actions)
Set up your GitHub Actions workflow with a specific version of OKD ([OpenShift/Origin](https://github.com/openshift/origin)).
_Currently only Linux/Ubuntu
[CI environment](https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions)
is supported._## Usage
### Basic
```yaml
name: Example workflowon: [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](https://github.com/openshift/origin/releases) 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 |
## LicenseThe scripts and documentation in this project are released under the [Apache 2.0](./LICENSE).