fix: Make Neutron and OVN installation work without Kube-OVN TLS. #241
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: Helm GitHub Actions for octavia | |
| on: | |
| pull_request: | |
| paths: | |
| - base-helm-configs/octavia/** | |
| - base-kustomize/octavia/** | |
| - .github/workflows/helm-octavia.yaml | |
| jobs: | |
| helm: | |
| strategy: | |
| matrix: | |
| overlays: | |
| - aio | |
| - base | |
| name: Helm | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.14.3 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| id: helm | |
| - name: Kubectl Install | |
| working-directory: /usr/local/bin/ | |
| run: | | |
| if [ ! -f /usr/local/bin/kubectl ]; then | |
| curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
| chmod +x ./kubectl | |
| fi | |
| - name: Pull OSH repositories | |
| run: | | |
| helm repo add openstack-helm https://tarballs.opendev.org/openstack/openstack-helm | |
| helm repo update | |
| - name: Run Helm Template | |
| run: | | |
| ${{ steps.helm.outputs.helm-path }} template octavia openstack-helm/octavia \ | |
| --namespace=openstack \ | |
| --wait \ | |
| --timeout 120m \ | |
| -f ${{ github.workspace }}/base-helm-configs/octavia/octavia-helm-overrides.yaml \ | |
| --post-renderer ${{ github.workspace }}/base-kustomize/kustomize.sh \ | |
| --post-renderer-args octavia/${{ matrix.overlays }} > /tmp/rendered.yaml | |
| - name: Return helm Build | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: helm-octavia-artifact-${{ matrix.overlays }} | |
| path: /tmp/rendered.yaml |