ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. Operational excellence
  5. CI/CD Runway
  6. CI/CD Runway Implementation

CI/CD Runway Implementation

operational excellence
architecturev3

CI/CD Runway Implementation

Task-oriented recipes. Assumes you have read architecture and are following guidelines.


How to onboard a new service to Runway

Goal. New ION service needs its build/test/deploy substrate.

Steps.

  1. Register the service in the Service Inventory (canonical source for service-map.json). Include short-name, owning team, targets (Function App / ACI / Static Web App / etc.), and env list.
  2. Ask CPE (or your platform contact) to run runway-github-service-onboarding.yml via workflow_dispatch with your service short-name and owning team. This provisions:
    • GitHub team + RBAC on the service folder.
    • JFrog Artifactory repos + RBAC.
    • Service Entra app scaffolding (per env).
    • GitHub deployment environments <svc>-<env>.
  3. Request CPE whitelist the federated-credential subject pattern for your service: repo:Ontinue/Anvil:environment:<svc_short>-<env_long>.
  4. Note the emitted client-id vars (ION_ALPHA_AZURE_CLIENT_ID_<SVC>, ION_BETA_..., etc.) and put them in your workflows.
  5. Write your three workflows (see next recipe).
  6. Ship a no-op change to apa to validate PR gates + WIF auth + spoke reachability.
  7. Promote through bta → gma → prd.

How to write the three service workflows

Goal. Stand up <service>-pr.yml, <service>.yml, and <service>-tag.yml.

Steps — <service>-pr.yml.

  1. Trigger on pull_request targeting main.
  2. Call CPE reusable workflows for required checks: lib-validate-codeql.yml, lib-validate-tfsec.yml, lib-validate-biome-linter.yml (or the appropriate linter), validate-pr-title.yml.
  3. Build + unit test.
  4. (Optional) Ephemeral Alpha ACI deploy via lib-aci-ghpr-create.yml for integration tests, cleaned up by lib-aci-ghpr-delete.yml.

Steps — <service>.yml.

  1. Trigger on push to main (path-filtered to your service folder).
  2. Build, run tests, publish artifact via CPE reusable workflow (e.g., lib-docker-artifactory-deploy.yml).
  3. Deploy to apa env, then bta, then gma, each as a job with environment: set to <svc>-<env>.
  4. Use azure/login@v3 with client-id / tenant-id / subscription-id. Never client-secret.
  5. Call lib-deploy-terraform.yml for infra, then service-specific deploy libs (e.g., kronos-deploy-func.yml).

Steps — <service>-tag.yml.

  1. Trigger on push tag (e.g., v*).
  2. Reuse the deploy job, target <svc>-prod environment.
  3. Include env-approval + custom-protection-rule gates on the prod environment.

How to add a WIF federated credential

Goal. New env or new service needs a pipeline-to-Azure federated credential.

Steps.

  1. Confirm the service Entra app for the target env exists (ion-<service>-<env>).
  2. Add a federated credential on the app with subject repo:Ontinue/Anvil:environment:<svc_short>-<env_long>.
  3. Add the CLIENT_ID as a GitHub environment variable (not secret; client-id is not sensitive).
  4. azure/login@v3 in the workflow picks it up.
  5. Verify by running a az account show step in a workflow scoped to the target env.

See the Identity implementation guide for underlying identity-plane details.


How to promote a deploy from Alpha through to Prod

Goal. A change is in main; walk it through envs to prod.

Steps.

  1. Merge PR — required checks + CODEOWNERS approvals must be green.
  2. <service>.yml runs on push-to-main; deploys to apa first. Verify.
  3. Same run continues to bta (approval gate if configured), then gma. Verify at each stop; run integration tests as appropriate.
  4. When ready for prod, tag the commit (git tag v1.2.3 && git push --tags). <service>-tag.yml triggers.
  5. Prod environment’s native approval + custom protection rule verdict must pass.
  6. Deployment record captured; SOC1 evidence chain complete.

How to add a custom Environment Protection Rule

Goal. Prod (or another env) needs a programmable gate — change freeze window, upstream health check, deploy quota.

Steps.

  1. Author the runbook logic in an Azure Automation Account. The main runbook receives the webhook; dispatch to an env-specific runbook that evaluates the policy.
  2. Runbook returns Approved or Rejected (with reason).
  3. Configure the GitHub environment’s custom protection rule to point at the Automation Account webhook.
  4. Test by deploying with policy in a state that should reject; verify the pipeline blocks.
  5. Then deploy with policy in an approve state; verify pipeline releases.
  6. Ship the runbook via IaC — it’s code, not portal state.

How to publish or update a shared Terraform module

Goal. Contribute a new module or a version bump to tf-modules/.

Steps.

  1. Extract the reusable pattern with clear inputs/outputs and a README.md.
  2. PR into tf-modules/azure/<module-name>/ (or artifactory/ / auth0/ as appropriate).
  3. Tag with a semver PR label (Major/minor/patch); CPE reusable workflow computes and publishes the version to Artifactory.
  4. Migrate consumers to the new version. Publish deprecation notices for old versions.
  5. Removal: use PR label deletetfmodule and contact CPE to remove versions from Artifactory.

How to promote a Docker image through envs

Goal. A merged PR built and pushed a Docker image; you want it running in the target env.

Steps.

  1. lib-docker-artifactory-deploy.yml publishes to the Alpha Artifactory repo on PR merge.
  2. lib-docker-artifactory-promote.yml promotes from Alpha → Beta, then Beta → Gamma, then Gamma → Prod as each env’s tests pass.
  3. lib-docker-acr-copy.yml copies the promoted image to the target env’s ACR at deploy time — runtime pulls stay Azure-local.
  4. Deploy step references the ACR image URL.

How to respond to a workflow failure

Goal. A pipeline job failed; unblock the team.

Steps.

  1. Read the logs first. The failure message + step name are almost always sufficient.
  2. Determine class of failure:
    • Code / test — fix the code, push again.
    • Required check — resolve the finding (CodeQL / TFSEC / OSS license / secret-validation). If false-positive, document and exempt with narrow scope; do not disable the check.
    • Auth / WIF — verify federated-credential subject matches the workflow context; verify env CLIENT_ID value; verify the app has RBAC on target subscription.
    • Network / private-endpoint — verify runner uses the correct VNet-NIC label; verify NSG / DNS.
    • Env approval / custom protection rule — someone needs to approve, or a runbook is rejecting.
  3. Do not attempt to bypass the gate by deploying manually (§ 25).
  4. File follow-up tickets for anything not fixed at the moment of response.

How to audit a production deployment

Goal. Compliance / SOC1 audit needs to see the evidence chain for a specific prod deploy.

Steps.

  1. Locate the deployment record (GitHub Deployments API for the <svc>-prod environment).
  2. Follow the linked workflow run URL.
  3. From the workflow run, gather:
    • The commit SHA and its PR.
    • PR’s required-check results (Secret Validation, PR Label, PR Title, CodeQL, TFSEC, OSS License, Linter).
    • PR’s CODEOWNERS approvals (per file).
    • Env approval record (approver identity + timestamp).
    • Custom protection rule verdict (runbook execution logs).
    • WIF OIDC token issuance (Entra audit log entry).
    • Terraform / deploy outputs.
  4. This chain is the SOC1 evidence surface.

How to enable JFrog X-Ray scanning + respond to findings

Goal. Automated vulnerability scanning on published artifacts.

Steps.

  1. X-Ray is enabled at the Artifactory-repo level by CPE; new repos inherit the policy.
  2. On finding, runway-vulnerability-management.yml opens a triage task.
  3. Owning team responds per the SLA:
    • Critical / high — patch or exempt with justification.
    • Medium / low — schedule in the next sprint.
  4. Exemptions require an ADR-like justification captured in runway-security-dhi-exception.yml.

Related

  • architecture
  • guidelines
  • ADR: 0024
  • Microsoft — Configure OIDC to Azure
  • GitHub — About environments
  • CPE refs — CPE - GitHub - * under references/

On this page

  • How to onboard a new service to Runway
  • How to write the three service workflows
  • How to add a WIF federated credential
  • How to promote a deploy from Alpha through to Prod
  • How to add a custom Environment Protection Rule
  • How to publish or update a shared Terraform module
  • How to promote a Docker image through envs
  • How to respond to a workflow failure
  • How to audit a production deployment
  • How to enable JFrog X-Ray scanning + respond to findings
  • Related
PreviousCI/CD Runway Guidelines
NextFeature Flags
Edit on GitHubSecurity