Route /_next & /assets to fe-root #60
Workflow file for this run
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
name: Validate Ingresses | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
validate_ingresses: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Fetch tags for comparison | |
run: | | |
git fetch --prune --unshallow --tags | |
- uses: azure/login@v2 | |
with: | |
creds: ${{ secrets.AZURE_AKS }} | |
- name: Set the target AKS cluster | |
uses: Azure/aks-set-context@v4.0.0 | |
with: | |
cluster-name: microservices | |
resource-group: kubernetes | |
- name: Dry-run validation of ingress files | |
run: kubectl apply --dry-run=client -f kubernetes/ingress/ | |
deploy_slack_notification: | |
name: Deploy Slack notification | |
uses: zooniverse/ci-cd/.github/workflows/slack_notification.yaml@main | |
needs: validate_ingresses | |
if: always() | |
with: | |
commit_id: ${{ github.sha }} | |
job_name: validate_ingresses | |
status: ${{ needs.validate_ingresses.result }} | |
title: "Static ingress validation complete" | |
title_link: "https://static.zooniverse.org" | |
secrets: | |
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} |