Skip to content

Commit

Permalink
fix: Updating workflows for example dirs and adding missing doc index
Browse files Browse the repository at this point in the history
  • Loading branch information
the2hill committed Jul 9, 2024
1 parent fe169cb commit ba77f38
Show file tree
Hide file tree
Showing 39 changed files with 95 additions and 94 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-barbican.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for Barbican
on:
pull_request:
paths:
- helm-configs/barbican/**
- kustomize/barbican/**
- helm-configs.example/barbican/**
- kustomize.example/barbican/**
- .github/workflows/helm-barbican.yaml
jobs:
helm:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-cinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for cinder
on:
pull_request:
paths:
- helm-configs/cinder/**
- kustomize/cinder/**
- helm-configs.example/cinder/**
- kustomize.example/cinder/**
- .github/workflows/helm-cinder.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/cinder/cinder-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/cinder/cinder-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args cinder/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-glance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for glance
on:
pull_request:
paths:
- helm-configs/glance/**
- kustomize/glance/**
- helm-configs.example/glance/**
- kustomize.example/glance/**
- .github/workflows/helm-glance.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/glance/glance-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/glance/glance-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args glance/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-heat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for heat
on:
pull_request:
paths:
- helm-configs/heat/**
- kustomize/heat/**
- helm-configs.example/heat/**
- kustomize.example/heat/**
- .github/workflows/helm-heat.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/heat/heat-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/heat/heat-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args heat/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-horizon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for horizon
on:
pull_request:
paths:
- helm-configs/horizon/**
- kustomize/horizon/**
- helm-configs.example/horizon/**
- kustomize.example/horizon/**
- .github/workflows/helm-horizon.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/horizon/horizon-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/horizon/horizon-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args horizon/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-keystone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for keystone
on:
pull_request:
paths:
- helm-configs/keystone/**
- kustomize/keystone/**
- helm-configs.example/keystone/**
- kustomize.example/keystone/**
- .github/workflows/helm-keystone.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/keystone/keystone-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/keystone/keystone-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args keystone/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/helm-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Helm GitHub Actions for loki
on:
pull_request:
paths:
- helm-configs/loki/**
- helm-configs.example/loki/**
- .github/workflows/helm-loki.yaml
jobs:
helm:
Expand All @@ -28,8 +28,9 @@ jobs:
run: |
${{ steps.helm.outputs.helm-path }} repo add grafana https://grafana.github.io/helm-charts
${{ steps.helm.outputs.helm-path }} repo update
${{ steps.helm.outputs.helm-path }} template --values ${{ github.workspace }}/helm-configs/loki/loki-helm-minio-overrides-example.yaml \
${{ steps.helm.outputs.helm-path }} template --values ${{ github.workspace }}/helm-configs.example/loki/loki-helm-minio-overrides-example.yaml \
--namespace grafana \
--set loki.useTestSchema=true \
loki grafana/loki > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-neutron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for neutron
on:
pull_request:
paths:
- helm-configs/neutron/**
- kustomize/neutron/**
- helm-configs.example/neutron/**
- kustomize.example/neutron/**
- .github/workflows/helm-neutron.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/neutron/neutron-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/neutron/neutron-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args neutron/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-nova.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for nova
on:
pull_request:
paths:
- helm-configs/nova/**
- kustomize/nova/**
- helm-configs.example/nova/**
- kustomize.example/nova/**
- .github/workflows/helm-nova.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/nova/nova-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/nova/nova-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args nova/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-octavia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for octavia
on:
pull_request:
paths:
- helm-configs/octavia/**
- kustomize/octavia/**
- helm-configs.example/octavia/**
- kustomize.example/octavia/**
- .github/workflows/helm-octavia.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/octavia/octavia-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/octavia/octavia-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args octavia/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/helm-placement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for placement
on:
pull_request:
paths:
- helm-configs/placement/**
- kustomize/placement/**
- helm-configs.example/placement/**
- kustomize.example/placement/**
- .github/workflows/helm-placement.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/placement/placement-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
-f ${{ github.workspace }}/helm-configs.example/placement/placement-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args placement/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Helm GitHub Actions for openstack-metrics-exporter
on:
pull_request:
paths:
- helm-configs/monitoring/openstack-metrics-exporter/**
- kustomize/monitoring/openstack-metrics-exporter/**
- helm-configs.example/monitoring/openstack-metrics-exporter/**
- .github/workflows/helm-openstack-metrics-exporter.yaml
jobs:
helm:
Expand Down Expand Up @@ -35,7 +34,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/monitoring/openstack-metrics-exporter/openstack-metrics-exporter-helm-overrides.yaml > /tmp/rendered.yaml
-f ${{ github.workspace }}/helm-configs.example/monitoring/openstack-metrics-exporter/openstack-metrics-exporter-helm-overrides.yaml > /tmp/rendered.yaml
- name: Return helm Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for argocd
on:
pull_request:
paths:
- kustomize/argocd/**
- kustomize.example/argocd/**
- .github/workflows/kustomize-argocd.yaml
jobs:
kustomize:
Expand All @@ -29,7 +29,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/argocd/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
kustomize build kustomize.example/argocd/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-etcd-backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for Backups directory
on:
pull_request:
paths:
- kustomize/backups/etcd/**
- kustomize.example/backups/etcd/**
- .github/workflows/kustomize-etcd-backups.yaml
jobs:
kustomize:
Expand All @@ -25,7 +25,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/backups/etcd/ > /tmp/rendered.yaml
kustomize build kustomize.example/backups/etcd/ > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for ingress
on:
pull_request:
paths:
- kustomize/ingress/**
- kustomize.example/ingress/**
- .github/workflows/kustomize-ingress.yaml
jobs:
kustomize:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
make ingress
- name: Run Kustomize Build
run: |
kustomize build kustomize/ingress/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
kustomize build kustomize.example/ingress/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-k8s-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for k8s-dashboard
on:
pull_request:
paths:
- kustomize/k8s-dashboard/**
- kustomize.example/k8s-dashboard/**
- .github/workflows/kustomize-k8s-dashboard.yaml
jobs:
kustomize:
Expand All @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/k8s-dashboard > /tmp/rendered.yaml
kustomize build kustomize.example/k8s-dashboard > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for libvirt
on:
pull_request:
paths:
- kustomize/libvirt/**
- kustomize.example/libvirt/**
- .github/workflows/kustomize-libvirt.yaml
jobs:
kustomize:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
make libvirt
- name: Run Kustomize Build
run: |
kustomize build kustomize/libvirt --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
kustomize build kustomize.example/libvirt --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-mariadb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for mariadb-cluster
on:
pull_request:
paths:
- kustomize/mariadb-cluster/**
- kustomize.example/mariadb-cluster/**
- .github/workflows/kustomize-mariadb-cluster.yaml
jobs:
kustomize:
Expand All @@ -25,7 +25,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/mariadb-cluster/${{ matrix.overlays }} > /tmp/rendered.yaml
kustomize build kustomize.example/mariadb-cluster/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-mariadb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for mariadb-operator
on:
pull_request:
paths:
- kustomize/mariadb-operator/**
- kustomize.example/mariadb-operator/**
- .github/workflows/kustomize-mariadb-operator.yaml
jobs:
kustomize:
Expand All @@ -25,7 +25,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/mariadb-operator --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
kustomize build kustomize.example/mariadb-operator --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for memcached
on:
pull_request:
paths:
- kustomize/memcached/**
- kustomize.example/memcached/**
- .github/workflows/kustomize-memcached.yaml
jobs:
kustomize:
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/memcached/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
kustomize build kustomize.example/memcached/${{ matrix.overlays }} --enable-helm --helm-command ${{ steps.helm.outputs.helm-path }} > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
Loading

0 comments on commit ba77f38

Please sign in to comment.