Protected
constructorReadonly
synthPrefix path for assets s3 target.
File path for workflow.
Slug for workflow created from PipelineBuildProps.workflowName.
Setup synth step access to external configs repository.
Optional
secretName: stringName of secret containing read-only PAT for configs repository. Defaults to GH_CONFIGS_RO_PAT
.
Set up the synth step for use with NX.
Optional
accessTokenSecret: stringThe name of the secret containing the access token. Defaults to NX_CLOUD_ACCESS_TOKEN
.
Add environment variables to the synth step.
The environment variables to add.
Build a GithubWorkflowPipeline instance.
The scope for the pipeline.
Optional
id: stringThe ID for the pipeline.
Build a credentials provider for the pipeline.
Optional
accountIdSecretName: stringThe name of the secret containing the account ID. Defaults to AWS_PIPELINE_ACCOUNT_ID
.
Optional
roleName: stringThe name of the role to assume. Defaults to GitHubActionRole
.
Build an S3 reference for the given key.
The key to build a reference for.
Create a new pipeline with the given props merged with existing props.
Optional
newProps: Partial<PipelineWorkflowProps>The new props to merge.
Optional
synthProps: Partial<ShellStepProps>The new synth props to merge.
This does not mutate the existing pipeline and returns a new instance.
Install default tools.
Install AWS CLI.
Optional
toolVersion: stringThe version of AWS CLI to install.
Install Helm.
Optional
toolVersion: stringThe version of Helm to install.
Setup NodeJS
Optional
nodeVersion: stringThe version of NodeJS to install.
Optional
cache: stringThe version of NodeJS to install.
Setup PNPM.
Optional
pnpmVersion: stringThe version of PNPM to install.
Install SOPs.
Optional
toolVersion: stringThe version of SOPs to install.
Add patch callback.
factory for creating patches.
Add post-publish step(s) to the publish step.
Rest
...step: JobStep[]The step(s) to add.
Add pre-publish step(s) to the publish step.
Rest
...step: JobStep[]The step(s) to add.
Add a checkout step before synth build.
The props for the checkout step.
This is a convenience method for adding a CheckoutStep via synthPreStep. A checkout step already exists for the current repository, so this is only necessary if you need to check out a different repository.
Add patcher for synth job.
patcher factory to apply.
Add post-build step(s) to the synth step.
Rest
...step: PipelineStep[]The step(s) to add.
Add pre-build step(s) to the synth step.
Rest
...step: PipelineStep[]The step(s) to add.
Add a synth target to the pipeline.
The target to add.
This will add any additional steps for pulling/pushing context and assets to/from S3.
Static
createCreate a new pipeline.
initial props.
Generated using TypeDoc
Builder for a GitHub CodePipeline.