Fix API and parameterize port number #89
Workflow file for this run
This file contains hidden or 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 Helm chart | |
| on: | |
| pull_request: | |
| paths: | |
| - 'deployment/**/*' | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v1 | |
| with: | |
| version: v3.7.2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.7 | |
| - name: Set up chart-testing | |
| uses: helm/[email protected] | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config deployment/ct.yaml | |
| - name: Create kind cluster | |
| uses: helm/[email protected] | |
| - uses: azure/[email protected] | |
| id: install | |
| - name: Setup OpenShift dependencies | |
| run: | | |
| kubectl apply -f deployment/hack/crds/*.yaml | |
| kubectl wait --for condition="established" -f deployment/hack/crds/*.yaml | |
| kubectl create ns console-plugin-nvidia-gpu | |
| openssl req -x509 \ | |
| -newkey rsa:2048 \ | |
| -sha256 \ | |
| -new -nodes \ | |
| -days 365 \ | |
| -keyout ca.key \ | |
| -out ca.crt \ | |
| -subj "/CN=example.com" | |
| kubectl create -n console-plugin-nvidia-gpu secret tls plugin-serving-cert --key ca.key --cert ca.crt | |
| - name: Run chart-testing (install) | |
| run: ct install --namespace console-plugin-nvidia-gpu --config deployment/ct.yaml |