operators-installer - add handling for when more then one installplan is found for a given subscription and CSV combo #510
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: Lint and Test Charts | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/**' | |
- 'README.md' | |
jobs: | |
lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Fetch history | |
run: git fetch --prune --unshallow | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.5.1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Run chart-testing (lint) | |
id: lint | |
uses: helm/[email protected] | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
run: ct lint | |
# TODO | |
# These checks invariably fail with openshift specific features, features that need pv/pvc | |
# Need a better strategy here | |
# - name: Create kind cluster | |
# uses: helm/[email protected] | |
# if: steps.lint.outputs.changed == 'true' | |
# - name: Run chart-testing (install) | |
# uses: helm/[email protected] | |
# with: | |
# command: install | |
# config: ct.yaml |