Giter Site home page Giter Site logo

scicomp-provisioner's Introduction

Overview

Auto provision resources into AWS org-sagebase-scicomp account.

Workflow

The workflow to provision AWS resources is done using pull requests. Request using PRs provide history, gating, reviewing and an approval process.

Contributions

Contributions are welcome.

Requirements:

  • Install pre-commit app
  • Clone this repo
  • Run pre-commit install to install the git hook.

Testing

As a pre-deployment step we syntatically validate our sceptre and cloudformation yaml files with pre-commit.

Please install pre-commit, once installed the file validations will automatically run on every commit. Alternatively you can manually execute the validations by running pre-commit run --all-files.

Provision resources

Instructions and workflow to auto provision and de-provision resources are in Example PRs

Stack & config file names

The value of a stack's stack_name parameter must match the config's file name. Stack names can contain only alphanumeric characters (case-sensitive) and hyphens. They must start with an alphabetic character and can't be longer than 128 characters.

Deployments

We use sceptre and cloudformation to deploy resources onto an AWS account.

Continuous Integration

We have configured Travis to deploy CF template updates.

Issues

Builds

Secrets

  • We use the AWS SSM to store secrets for this project. Sceptre retrieves the secrets using a sceptre ssm resolver and passes them to the cloudformation stack on deployment.

scicomp-provisioner's People

Contributors

adamjtaylor avatar ahayden avatar allaway avatar andrewelamb avatar aryllen avatar brucehoff avatar clarisse-lau avatar danlu1 avatar ecmonsen avatar hweej avatar itismeghasyam avatar jesusaurus avatar jgockley62 avatar karawoo avatar kelshmo avatar kkdang avatar lauraheath avatar linglp avatar milen-sage avatar philerooski avatar rxu17 avatar tcisagebio avatar thomasyu888 avatar vpchung avatar wpoehlm avatar xdoan avatar xindiguo avatar xschildw avatar zaro0508 avatar zimingd avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scicomp-provisioner's Issues

Provide code/instructions to validate CF script locally

It'd be nice to include the relevant scripts (with some usage instructions) in this repo or somewhere easily accessible such that users could check their YAML file and debug any problems before creating a PR.

It looks like some of the scripts are

jobs:
  include:
    - stage: validate
      script:
        - yamllint ./config ./templates
        - ./lint_stack.sh -l ./config/prod
        - cfn-lint ./templates/**/*

It looks like some of the scripts (or at least lint_stack.sh are in this repo. Some of the inputs might need to be reconfigured as URLs instead of relative paths. Not sure if there are other dependencies that would be needed...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.