Options
All
  • Public
  • Public/Protected
  • All
Menu

A stack that will lint, test, build, publish docker images for, and deploy both a Django project and a React project. This stack will also optionally run integration tests before deploying.

By default the docker images will be published as $dockerImageBaseName-backend and $dockerImageBaseName-frontend

Hierarchy

  • Stack
    • LabsApplicationStack

Index

Constructors

constructor

  • Parameters

    • scope: Construct

      cdkactions App instance.

    • config: LabsApplicationStackProps

      Configuration for the LabsApplication stack.

    • Optional overrides: Partial<WorkflowProps>

      Optional overrides for the workflow.

    Returns LabsApplicationStack

Methods

Protected onPrepare

  • onPrepare(): void
  • Perform final modifications before synthesis

    This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.

    This is an advanced framework feature. Only use this if you understand the implications.

    Returns void

Protected onSynthesize

  • onSynthesize(session: ISynthesisSession): void
  • A custom onSynthesize function to generate GH Action manifests.

    stability

    stable

    Parameters

    • session: ISynthesisSession

      Synthesis session.

    Returns void

Protected onValidate

  • onValidate(): string[]
  • Validate the current construct.

    This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

    deprecated

    use Node.addValidation() to subscribe validation functions on this construct instead of overriding this method.

    Returns string[]

    An array of validation error messages, or an empty array if there the construct is valid.

toString

  • toString(): string
  • Returns a string representation of this construct.

    Returns string

Generated using TypeDoc