Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/helm-cinder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/cinder/cinder-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-glance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/glance/glance-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-heat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/heat/heat-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-horizon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/horizon/horizon-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-keystone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/keystone/keystone-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-neutron.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/neutron/neutron-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
54 changes: 54 additions & 0 deletions .github/workflows/helm-nova.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 submodules
run: |
git submodule update --init submodules/openstack-helm
git submodule update --init submodules/openstack-helm-infra
- 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 ${{ github.workspace }}/helm-configs/nova/nova-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/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
Loading