if OS console is not enabled, then either skip doing things or fail with a human readable error #1185
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Validate OLM metadata | |
run: make validate | |
- name: Validate CR | |
run: | | |
kind create cluster | |
CLIENT_EXE=kubectl make validate-cr | |
kind delete cluster | |
- name: Build operator | |
run: make build |