Skip to content

pjdufour-truss/sunrise

Repository files navigation

Sunrise

Continuous Integration / Continuous Deployment Workshop by Truss Works.

Usage

Install prerequisite command line programs.

make prereqs

Start Docker cluster.

make up

Stop Docker cluster.

make down

Configuration

Add configuration to deployed environment

aws-vault exec $AWS_PROFILE -- chamber write "sunrise-prod" "app_debug" "false"

Tests

Run End-To-End JavaScript tests.

make e2e_tests

Run unit tests.

make unit_tests

Run unit tests against a deployed environment

aws-vault exec $AWS_PROFILE -- chamber exec "sunrise-prod" -- make unit_tests

Run server tests.

make server_tests

Deployment

Plan

aws-vault exec $AWS_PROFILE -- terraform plan

Apply

aws-vault exec $AWS_PROFILE -- terraform apply