Skip to content

Commit

Permalink
Updating workflows for directory restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
the2hill committed Jul 15, 2024
1 parent 3a1f8c1 commit d856513
Show file tree
Hide file tree
Showing 37 changed files with 85 additions and 85 deletions.
6 changes: 3 additions & 3 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/**
- base-helm-configs/barbican/**
- base-kustomize/barbican/**
- .github/workflows/helm-barbican.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs.example/barbican/barbican-helm-overrides.yaml \
-f ${{ github.workspace }}/base-helm-configs/barbican/barbican-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize.example/kustomize.sh \
--post-renderer-args barbican/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/cinder/**
- base-kustomize/cinder/**
- .github/workflows/helm-cinder.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/cinder/cinder-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/glance/**
- base-kustomize/glance/**
- .github/workflows/helm-glance.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/glance/glance-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/heat/**
- base-kustomize/heat/**
- .github/workflows/helm-heat.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/heat/heat-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/horizon/**
- base-kustomize/horizon/**
- .github/workflows/helm-horizon.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/horizon/horizon-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/keystone/**
- base-kustomize/keystone/**
- .github/workflows/helm-keystone.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/keystone/keystone-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
4 changes: 2 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/**
- base-helm-configs/loki/**
- .github/workflows/helm-loki.yaml
jobs:
helm:
Expand All @@ -28,7 +28,7 @@ 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 }}/base-helm-configs/loki/loki-helm-minio-overrides-example.yaml \
--namespace grafana \
loki grafana/loki > /tmp/rendered.yaml
- name: Return helm Build
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/neutron/**
- base-kustomize/neutron/**
- .github/workflows/helm-neutron.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/neutron/neutron-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/nova/**
- base-kustomize/nova/**
- .github/workflows/helm-nova.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/nova/nova-helm-overrides.yaml \
-f ${{ github.workspace }}/base-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
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/octavia/**
- base-kustomize/octavia/**
- .github/workflows/helm-octavia.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/octavia/octavia-helm-overrides.yaml \
-f ${{ github.workspace }}/base-helm-configs/octavia/octavia-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
--post-renderer-args octavia/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
Expand Down
6 changes: 3 additions & 3 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/**
- base-helm-configs/placement/**
- base-kustomize/placement/**
- .github/workflows/helm-placement.yaml
jobs:
helm:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
--namespace=openstack \
--wait \
--timeout 120m \
-f ${{ github.workspace }}/helm-configs/placement/placement-helm-overrides.yaml \
-f ${{ github.workspace }}/base-helm-configs/placement/placement-helm-overrides.yaml \
--post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \
--post-renderer-args placement/${{ matrix.overlays }} > /tmp/rendered.yaml
- name: Return helm Build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Helm GitHub Actions for openstack-metrics-exporter
on:
pull_request:
paths:
- helm-configs/monitoring/openstack-metrics-exporter/**
- kustomize/monitoring/openstack-metrics-exporter/**
- base-helm-configs/monitoring/openstack-metrics-exporter/**
- base-kustomize/monitoring/openstack-metrics-exporter/**
- .github/workflows/helm-openstack-metrics-exporter.yaml
jobs:
helm:
Expand Down Expand Up @@ -35,7 +35,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 }}/base-helm-configs/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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/**
- base-kustomize/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 base-kustomize/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
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for openstack
on:
pull_request:
paths:
- kustomize/openstack/**
- base-kustomize/openstack/**
- .github/workflows/kustomize-openstack.yaml
jobs:
kustomize:
Expand All @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build kustomize/openstack > /tmp/rendered.yaml
kustomize build base-kustomize/openstack > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v2
with:
Expand Down
Loading

0 comments on commit d856513

Please sign in to comment.