simplygenius-atmos 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff5c643bbfd1ad44992953679d7ace577ab60d541a0dd011c8455cb8627b5b2e
4
- data.tar.gz: '017087621e3796fc796af5fd64cf3ccee30ad7025ba2ce146705e5ecf1f72235'
3
+ metadata.gz: 9aaf452ae6008398a6c4d8c49060cf619642eb416b1c5f5a598f46b8682fd45e
4
+ data.tar.gz: 2ab6e70ece053abb50ead60f1231dbd367bc2328a88286747aacbeef875cd93d
5
5
  SHA512:
6
- metadata.gz: e6631a0c431d37ea69b7e192bba5261211716af354bff2a9d7173f975be67b351a2ead91873969d0b6b7ae74dd8502830f8f6d2da5102c0eb17741b92878c745
7
- data.tar.gz: fcf3687ec3436f764c7ee4307d27df149699171cf9276b68501428379f74b9922fce5ef7b9d28c956049715c1cec9c60f1dab931fb70c8fb72de04c5d82c950c
6
+ metadata.gz: 279577af65179d0755e33cf157185ce06856ca4d9916c723e3474e766f5f30bf5d01eb2ac969cd9e8d712808b64318a30877f0bca5312181667d4c415ca9e69c
7
+ data.tar.gz: 712356cea2ce2c9ff66ddea22910c6c4e9a44b7c29eb910cf2dae4669bb28ea91bddb74d32fa6c7472714457a72beaa852517ba563613a1236a47a9f3401bd27
data/CHANGELOG.md CHANGED
@@ -1,2 +1,14 @@
1
- v0.7.0
2
- First public release
1
+ 0.7.1 (05/03/2018)
2
+ ------------------
3
+
4
+ * version lock recipe sources by default [e88d027](https://github.com/simplygenius/atmos/commit/e88d027)
5
+ * test zip archive over http [e7c51db](https://github.com/simplygenius/atmos/commit/e7c51db)
6
+ * add an architecture picture to readme [83377da](https://github.com/simplygenius/atmos/commit/83377da)
7
+ * add condensed screencast [a58633e](https://github.com/simplygenius/atmos/commit/a58633e)
8
+ * lookup and pass aws keys to docker [b5d0240](https://github.com/simplygenius/atmos/commit/b5d0240)
9
+ * allow rubygems push [2dd2c9b](https://github.com/simplygenius/atmos/commit/2dd2c9b)
10
+
11
+ 0.7.0 (04/11/2018)
12
+ ------------------
13
+
14
+ * First public release
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![Build Status](https://travis-ci.org/simplygenius/atmos.svg?branch=master)](https://travis-ci.org/simplygenius/atmos)
2
2
  [![Coverage Status](https://coveralls.io/repos/github/simplygenius/atmos/badge.svg?branch=master)](https://coveralls.io/github/simplygenius/atmos?branch=master)
3
+ [![Gitter](https://badges.gitter.im/simplygenius/atmos.svg)](https://gitter.im/simplygenius/atmos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
3
4
 
4
5
  # Atmos
5
6
 
@@ -7,6 +8,10 @@ Atmos(phere) - Breathe easier with terraform
7
8
 
8
9
  Atmos provides a layer of organization on top of terraform for creating cloud system architectures with Amazon Web Services. It handles the plumbing so you can focus on your application. The core atmos runtime is free and open-source, with a business friendly license (Apache). It provides some basic recipes to help get you going with a service oriented architecture implemented with AWS Elastic Container Services. For more in-depth recipes, please check out the Atmos Pro offering.
9
10
 
11
+ In a nutshell, you provide the green, atmos delivers the rest:
12
+
13
+ ![Architecture Diagram](docs/images/architecture_diagram.png)
14
+
10
15
  ## Goals
11
16
 
12
17
  * The whole is greater than the sum of its parts. Assist in creating a cloud infrastructure _system_ rather than just discrete infrastructure components. Learning aws and terraform is a lot to bite off when getting started. It's much easier to start with a working system ,and learn incrementally as you go by making changes to it.
@@ -57,7 +62,7 @@ The [terraform docs](https://www.terraform.io/docs/index.html) are excellent.
57
62
 
58
63
  ## Quickstart
59
64
 
60
- See the [screencast](https://simplygenius.wistia.com/projects/h595iz9tbq) for a detailed walkthrough (~1 hour) of the quickstart.
65
+ See the [screencast](https://simplygenius.wistia.com/projects/h595iz9tbq) for a detailed walkthrough (~1 hour) of the quickstart. Or try the [condensed screencast](https://simplygenius.wistia.com/medias/2syql5mnud) if you just want to take a quick look (~7m)
61
66
 
62
67
  [Create an AWS account](https://portal.aws.amazon.com/billing/signup)
63
68
  Setup root account access keys, make note of the numeric account id
@@ -150,7 +155,9 @@ AWS_ACCESS_KEY_ID=<deployer_key> AWS_SECRET_ACCESS_KEY=<deployer_secret> atmos -
150
155
  To clean it all up:
151
156
 
152
157
  ```
153
- # Applies flag to allow deleting empty buckets to existing resources
158
+ # Applies flag to allow deleting empty buckets to existing resources. By
159
+ # default, this step is only required for non-development environments, but
160
+ # doesn't hurt to use it for them too
154
161
  TF_VAR_force_destroy_buckets=true atmos -e dev apply
155
162
 
156
163
  # Destroys all non-bootstrap resources create by atmos
data/TODO.md ADDED
@@ -0,0 +1,6 @@
1
+ * Automated tests of recipes
2
+ * Generate docs from templates
3
+ * Document atmos config, etc in wiki
4
+ * Shippable binary (graal/truffle? travelling ruby? ruby packer?) for easier install/use
5
+ * Make terraform unlock easier and/or figure out why interrupt doesn't free lock
6
+
data/exe/atmos-docker CHANGED
@@ -1,12 +1,27 @@
1
- #!/usr/bin/env sh
1
+ #!/usr/bin/env bash
2
2
 
3
3
  # fail fast
4
4
  set -e
5
5
 
6
6
  APP_VOLUME=${IMAGE_APP_VOLUME:-/app}
7
7
 
8
+ if [[ -z $AWS_ACCESS_KEY_ID || -z $AWS_SECRET_ACCESS_KEY ]]; then
9
+ if command -v aws &> /dev/null; then
10
+ export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
11
+ export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
12
+ export AWS_REGION=$(aws configure get region)
13
+ else
14
+ echo "Usage through docker requires that access keys to be set in the environment"
15
+ echo "Install the aws cli to automatically look them up based on a profile name"
16
+ exit 1
17
+ fi
18
+ fi
19
+
8
20
  docker run \
9
21
  --interactive --tty --rm \
10
22
  --volume "$(pwd)":"${APP_VOLUME}" \
11
23
  --volume /var/run/docker.sock:/var/run/docker.sock \
24
+ --env AWS_ACCESS_KEY_ID \
25
+ --env AWS_SECRET_ACCESS_KEY \
26
+ --env AWS_REGION \
12
27
  simplygenius/atmos "$@"
data/lib/atmos/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Atmos
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -42,9 +42,12 @@ environments:
42
42
  is_dev: "#{ /dev|test|demo/.match?(atmos_env) }"
43
43
 
44
44
  # Sources for atmos templates
45
+ # To circumvent the version lock and get the latest git master recipes, use the git
46
+ # location, e.g.:
47
+ # location: https://github.com/simplygenius/atmos-recipes.git
45
48
  #
46
49
  template_sources:
47
50
  - name: atmos-recipes
48
- location: https://github.com/simplygenius/atmos-recipes.git
49
- # - name: atmos-pro-recipes
50
- # location: https://github.com:simplygenius/atmos-pro-recipes.git
51
+ location: https://github.com/simplygenius/atmos-recipes/archive/v#{atmos_version}.zip#atmos-recipes-#{atmos_version}
52
+ #- name: atmos-pro-recipes
53
+ # location: https://github.com/simplygenius/atmos-pro-recipes/archive/v#{atmos_version}.zip#atmos-pro-recipes-#{atmos_version}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplygenius-atmos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Conway
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -456,6 +456,7 @@ files:
456
456
  - CHANGELOG.md
457
457
  - LICENSE
458
458
  - README.md
459
+ - TODO.md
459
460
  - exe/atmos
460
461
  - exe/atmos-docker
461
462
  - lib/atmos.rb