latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

hkb-pipeline-site

The site pipeline. It builds this site and promotes each change through Sandbox, Dev and Prod, stopping at the first environment that fails.

Stage flow

hkb-pipeline-site stage flowThe hkb-pipeline-site CodePipeline in the Shared Services account, read from its template. A merge on GitHub reaches CodeConnections, which starts the pipeline. The stages run in order: 1, Source; 2, Validate; 3, Sandbox; 4, Dev; 5, Prod. Deploy stages assume a role in Sandbox, Dev, Prod.AWS CloudShared Services · hkb-shared-servicesus-east-1 · home RegionCodePipeline · hkb-pipeline-site1 · Sourcethrough CodeConnections2 · Validateunder the project's service role3 · Sandboxas hkb-pipeline-site; CloudFormation as hkb-pipeline-cfn-siteSandbox4 · Devas hkb-pipeline-site; CloudFormation as hkb-pipeline-cfn-siteDev5 · Prodas hkb-pipeline-site; CloudFormation as hkb-pipeline-cfn-siteProdGitHubmerged PRsCodeConnectionshkb-githubmain branchhkb-pipeline-validatehkb-sitehkb-pipeline-site-syncrole hkb-pipeline-sitehkb-sitehkb-pipeline-site-syncrole hkb-pipeline-sitehkb-dnshkb-sitehkb-pipeline-site-syncrole hkb-pipeline-siteLegendRequest / dataDeploy (assumes a role)BlueOpens its pagemerge
hkb-pipeline-site stage flowOpen full sizeClose

The stages run top to bottom and stop at the first failure. Each deploy stage assumes a role in the account it reaches.

Configuration

SettingValue
TypeCodePipeline V2, queued executions
Service rolehkb-pipeline-site-orchestrator, in Shared Services
TriggerA push to the main branch through CodeConnections, for changes under site/**, workloads/**, controls/**, docs/**
Artifactshkb-pipeline-artifacts-<account>, encrypted with the pipeline's KMS key
Stages5

Stages and actions

Each action assumes the role named for it. A role in another account trusts only this pipeline's service role; trust and policy text as deployed are on the pipeline roles page.

#StageActions
1Source
  • Source: the repository through CodeConnections, as the pipeline's service role
2Validate
  • Validate: CodeBuild project hkb-pipeline-validate, under the project's own service role
3Sandbox
  • Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Sandbox, CloudFormation as hkb-pipeline-cfn-site
  • SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role
4Dev
  • Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Dev, CloudFormation as hkb-pipeline-cfn-site
  • SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role
5Prod
  • Dns: CloudFormation change set on hkb-dns, planned, then executed, as hkb-pipeline-site in Prod, CloudFormation as hkb-pipeline-cfn-site
  • Site: CloudFormation change set on hkb-site, planned, then executed, as hkb-pipeline-site in Prod, CloudFormation as hkb-pipeline-cfn-site
  • SyncSite: CodeBuild project hkb-pipeline-site-sync, under the project's own service role

Sources

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
pipeline
Linked from
Shared Services, Site distribution, Site distribution, Site distribution