-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change will ensure that out helm charts build when changes are made to our helm overrides. Signed-off-by: Kevin Carter <[email protected]>
- Loading branch information
Showing
9 changed files
with
477 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for cinder | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/cinder/** | ||
- .github/workflows/helm-cinder.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make cinder | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template cinder ./cinder \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/cinder/cinder-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args cinder/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-cinder-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for glance | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/glance/** | ||
- .github/workflows/helm-glance.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make glance | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template glance ./glance \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/glance/glance-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args glance/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-glance-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for heat | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/heat/** | ||
- .github/workflows/helm-heat.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make heat | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template heat ./heat \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/heat/heat-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args heat/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-heat-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for horizon | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/horizon/** | ||
- .github/workflows/helm-horizon.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make horizon | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template horizon ./horizon \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/horizon/horizon-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args horizon/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-horizon-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for keystone | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/keystone/** | ||
- .github/workflows/helm-keystone.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make keystone | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template keystone ./keystone \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/keystone/keystone-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args keystone/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-keystone-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for neutron | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/neutron/** | ||
- .github/workflows/helm-neutron.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make neutron | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template neutron ./neutron \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/neutron/neutron-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args neutron/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-neutron-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Helm GitHub Actions for nova | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- helm-configs/nova/** | ||
- .github/workflows/helm-nova.yaml | ||
jobs: | ||
helm: | ||
strategy: | ||
matrix: | ||
overlays: | ||
- base | ||
- aio | ||
name: Helm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: latest | ||
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 submodule | ||
run: | | ||
git submodule update --init submodules/openstack-helm | ||
- name: Make OSH submodule | ||
run: | | ||
cd submodules/openstack-helm | ||
make nova | ||
- name: Run Helm Template | ||
run: | | ||
cd submodules/openstack-helm | ||
${{ steps.helm.outputs.helm-path }} template nova ./nova \ | ||
--namespace=openstack \ | ||
--wait \ | ||
--timeout 120m \ | ||
-f /opt/genestack/helm-configs/nova/nova-helm-overrides.yaml \ | ||
--post-renderer /opt/genestack/kustomize/kustomize.sh \ | ||
--post-renderer-args nova/${{ matrix.overlays }} > /tmp/rendered.yaml | ||
- name: Return helm Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: helm-nova-artifact-${{ matrix.overlays }} | ||
path: /tmp/rendered.yaml |
Oops, something went wrong.