Add Legal Office seal and complete Azure CDN deployment
- Add Legal Office of the Master seal (SVG design with Maltese Cross, scales of justice, legal scroll) - Create legal-office-manifest-template.json for Legal Office credentials - Update SEAL_MAPPING.md and DESIGN_GUIDE.md with Legal Office seal documentation - Complete Azure CDN infrastructure deployment: - Resource group, storage account, and container created - 17 PNG seal files uploaded to Azure Blob Storage - All manifest templates updated with Azure URLs - Configuration files generated (azure-cdn-config.env) - Add comprehensive Azure CDN setup scripts and documentation - Fix manifest URL generation to prevent double slashes - Verify all seals accessible via HTTPS
This commit is contained in:
76
.github/workflows/deploy-entra-staging.yml
vendored
Normal file
76
.github/workflows/deploy-entra-staging.yml
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
name: Deploy Entra VerifiedID to Staging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- 'services/identity/**'
|
||||
- 'packages/auth/**'
|
||||
- 'infra/k8s/**'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ github.repository }}/identity-service
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./services/identity/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:staging-${{ github.sha }}
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:staging-latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Set up kubectl
|
||||
uses: azure/setup-kubectl@v3
|
||||
|
||||
- name: Configure kubectl
|
||||
run: |
|
||||
echo "${{ secrets.KUBECONFIG_STAGING }}" | base64 -d > kubeconfig
|
||||
export KUBECONFIG=kubeconfig
|
||||
|
||||
- name: Deploy to staging
|
||||
run: |
|
||||
export KUBECONFIG=kubeconfig
|
||||
export IMAGE_TAG=staging-${{ github.sha }}
|
||||
export BUILD_IMAGE=false
|
||||
./scripts/deploy/deploy-staging.sh
|
||||
|
||||
- name: Verify deployment
|
||||
run: |
|
||||
export KUBECONFIG=kubeconfig
|
||||
kubectl rollout status deployment/identity-service -n the-order-staging --timeout=5m
|
||||
|
||||
- name: Run smoke tests
|
||||
run: |
|
||||
export KUBECONFIG=kubeconfig
|
||||
STAGING_URL="https://api-staging.theorder.org"
|
||||
curl -f "${STAGING_URL}/health" || exit 1
|
||||
echo "Smoke tests passed"
|
||||
|
||||
Reference in New Issue
Block a user