Infrastructure

The Runway repository uses some external infrastructure to run tests and server public content. The code that deploys this infrastructure is located in the infrastructure/ directory. Each subdirectory is a logical separation between AWS accounts.

Deploying Infrastructure

Infrastructure can be deployed from the root of the infrastructure/ directory for any environment. We make use of make to simplify the process.

To execute Runway for an environment, use the following command syntax.

$ make <runway-subcommand> <environment>

Example

$ make deploy public

public

AWS account for public facing assets.

Onica SSO Name

onica-public-prod

Resources

  • public S3 bucket that houses build artifacts

    • binary executables

  • IAM user used by GitHub Actions & it’s policies

    • able to sync with the artifact bucket

    • add entries to a DynamoDB table for the oni.ca URL shortener app

      • path to download the binary executables from S3

test

AWS account for running Runway functional tests.

Onica SSO Name

onica-platform-runway-testing-lab

Resources

TBA

test-alt

AWS account for running Runway functional tests that require cross-account access to complete.

Onica SSO Name

onica-platform-runway-testing-alt-lab

Resources

TBA