Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Apr 19, 2024
1 parent c2015d1 commit 9c665f0
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/enable-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,28 @@ jobs:
admin: 'false'

- name: Deploy maintenance app
run: |
echo Create maintenance deployment
kubectl apply -f service_unavailable_page/manifests/deployment_maintenance.yml
run: make review_aks maintenance-fail-over PR_NUMBER=1

echo Create maintenance service
kubectl apply -f service_unavailable_page/manifests/service_maintenance.yml
# - name: Deploy maintenance app
# run: |
# echo Create maintenance deployment
# kubectl apply -f service_unavailable_page/manifests/deployment_maintenance.yml

echo Create maintenance ingress
kubectl apply -f service_unavailable_page/manifests/ingress_maintenance.yml
# echo Create maintenance service
# kubectl apply -f service_unavailable_page/manifests/service_maintenance.yml

- name: Switch traffic to maintenance app
run: |
echo Configure external ingress to point at the maintenance app
kubectl apply -f service_unavailable_page/manifests/ingress_external_maintenance.yml
# echo Create maintenance ingress
# kubectl apply -f service_unavailable_page/manifests/ingress_maintenance.yml

echo Configure internal ingress to point at the maintenance app
kubectl apply -f service_unavailable_page/manifests/ingress_internal_maintenance.yml
# - name: Switch traffic to maintenance app
# run: |
# echo Configure external ingress to point at the maintenance app
# kubectl apply -f service_unavailable_page/manifests/ingress_external_maintenance.yml

echo Create temp ingress
kubectl apply -f service_unavailable_page/manifests/ingress_temp_to_main.yml
# echo Configure internal ingress to point at the maintenance app
# kubectl apply -f service_unavailable_page/manifests/ingress_internal_maintenance.yml

# echo Create temp ingress
# kubectl apply -f service_unavailable_page/manifests/ingress_temp_to_main.yml

# TMP

0 comments on commit 9c665f0

Please sign in to comment.