Skip to main content

Simplify infrastructure/app testing/deployment

Project description

Runway

CI/CD codecov PyPi npm code style: black

runway-example.gif

Runway is a lightweight integration app designed to ease management of infrastructure tools.

Its main goals are to encourage GitOps best-practices, avoid convoluted Makefiles/scripts (enabling identical deployments from a workstation or CI job), and enable developers/admins to use the best tool for any given job.

Features

  • Centralized environment-specific configuration
  • Automatic environment identification from git branches
  • Automatic linting/verification
  • Support of IAM roles to assume for each deployment
  • Terraform backend/workspace config management w/per-environment tfvars
  • Automatic kubectl/terraform version management per-environment

Supported Deployment Tools

  • AWS CDK
  • Kubectl
  • Serverless Framework
  • CFNgin (CloudFormation)
  • Static websites (build & deploy to S3+CloudFront)
  • Terraform

Example

A typical Runway configuration is unobtrusive -- it just lists the deployment order and locations (regions).

deployments:
  - modules:
      - resources.tf  # terraform resources
      - backend.sls  # serverless lambda functions
      - frontend  # static web site
    environments:  # Environments
      dev: "123456789012"  # AWS development Account ID
      prod: "234567890123"  # AWS production Account ID
    regions:
      - us-east-1

The example above contains enough information for Runway to deploy all resources, lambda functions and a static website backed by S3 and Cloudfront in either dev or prod environments

Install

Runway is available via any of the following installation methods. Use whatever works best for your project/team (it's the same application no matter how you obtain it).

HTTPS Download (e.g cURL)

Use one of the endpoints below to download a single-binary executable version of Runway based on your operating system.

Operating System Endpoint
Linux https://oni.ca/runway/latest/linux
macOS https://oni.ca/runway/latest/osx
Windows https://oni.ca/runway/latest/windows
$ curl -L oni.ca/runway/latest/osx -o runway
$ chmod +x runway
$ ./runway new

Suggested use: CloudFormation or Terraform projects

npm

$ npm i -D @onica/runway
$ npx runway new

Suggested use: Serverless or AWS CDK projects

pip (or poetry, etc)

$ pip install runway
$ runway new
# OR
$ poetry add --dev runway
$ poetry run runway new

Suggested use: Python projects

Documentation

See the doc site for full documentation.

Quickstart documentation, including CloudFormation templates and walkthrough can be found here

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runway-2.6.4.tar.gz (574.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runway-2.6.4-py3-none-any.whl (770.1 kB view details)

Uploaded Python 3

File details

Details for the file runway-2.6.4.tar.gz.

File metadata

  • Download URL: runway-2.6.4.tar.gz
  • Upload date:
  • Size: 574.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1031-azure

File hashes

Hashes for runway-2.6.4.tar.gz
Algorithm Hash digest
SHA256 9184fd477799fbafcc5dcfcb97b4723f7e821d074e1506d0436f79b7a69a5502
MD5 972bf78d92fec63746962dd582a6f05a
BLAKE2b-256 a9853ad9fcb4a6038aff90dc0bab06d6ef4505bce3b76186f3e75dd02627002b

See more details on using hashes here.

File details

Details for the file runway-2.6.4-py3-none-any.whl.

File metadata

  • Download URL: runway-2.6.4-py3-none-any.whl
  • Upload date:
  • Size: 770.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1031-azure

File hashes

Hashes for runway-2.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e7e7a7d3771d9dcf09f5086257ec82e6a368eea7f0c0f411ab3dd75bf06b39
MD5 3d4c97acd4d4c5fab3b9fbab30098974
BLAKE2b-256 fa56de4fb7165f397ad6cefb2d202b7a3460e80d3b9644837cbbf7841e5f6829

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page