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:  # Environment settings
        dev:
            foo: dev-bar
        prod:
            foo: prod-bar

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.3.2.tar.gz (517.5 kB view details)

Uploaded Source

Built Distribution

runway-2.3.2-py3-none-any.whl (696.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runway-2.3.2.tar.gz
  • Upload date:
  • Size: 517.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for runway-2.3.2.tar.gz
Algorithm Hash digest
SHA256 b1f5f7e367dd045216da33a57ad5bda4fdfbf20aa1b250a1e63646ca2494fb15
MD5 bd0a99f83cbb37ca468cc87dc4a2dee6
BLAKE2b-256 13a63a0e9055f922b34272b8f16ba26b2c98b8f212cfeb611cfb3a86bac82853

See more details on using hashes here.

File details

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

File metadata

  • Download URL: runway-2.3.2-py3-none-any.whl
  • Upload date:
  • Size: 696.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for runway-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e35388fb945bbf2aea73ddc8428aa7f35db6876e91b8581d611ac387e99b0a49
MD5 ec3c811ba5caa37cac9355080c852502
BLAKE2b-256 a8e267fbff7292b7c65b0ee04df05f92bf9584f9a3c7f655406a1e77b831a135

See more details on using hashes here.

Supported by

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