ufo 2.0.3 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/docs/_docs/tutorial-ufo-init.md +2 -2
- data/docs/_docs/ufo-init.md +2 -2
- data/docs/quick-start.md +2 -2
- data/lib/starter_project/bin/deploy +1 -1
- data/lib/ufo/cli.rb +0 -1
- data/lib/ufo/cli/help.rb +1 -1
- data/lib/ufo/init.rb +0 -2
- data/lib/ufo/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 978bde116e3ed5f9f431e9c1fcf537cac792a341
|
4
|
+
data.tar.gz: f36b2b946950b237fa9d3989375c29e347008936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b8fe84e115acf44778b2b18ad01f6d8d21a1c00c94d2136d17f3e7cbbc48ebaf6ab68f3e9813a0f443df803a81a7fe6b5eabf592da6c9ff8294f5f87f060b10
|
7
|
+
data.tar.gz: 972be5346c59654e822f260ee6aa307cc715938aa43248353b2c8f08702c0b88aa1807dd62cd874e698871f1631c7dcef449893d217596dcf1672a71daa882fd
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [2.1.0]
|
7
|
+
* ufo init: only require --app and --image option
|
8
|
+
|
6
9
|
## [2.0.3]
|
7
10
|
* add aws log group as a comment in the starter project
|
8
11
|
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ To quickly demonstrate how simple it is to use ufo we will use an example app fr
|
|
44
44
|
brew cask install boltopslabs/software/bolts
|
45
45
|
git clone https:///github.com/tongueroo/hi.git
|
46
46
|
cd hi
|
47
|
-
ufo init --app=hi --
|
47
|
+
ufo init --app=hi --image=tongueroo/hi
|
48
48
|
ufo ship hi-web-stag
|
49
49
|
```
|
50
50
|
|
@@ -8,13 +8,13 @@ Let's run the command in our newly clone project.
|
|
8
8
|
```sh
|
9
9
|
git clone https://github.com/tongueroo/hi.git
|
10
10
|
cd hi
|
11
|
-
ufo init --app=hi --
|
11
|
+
ufo init --app=hi --image=tongueroo/hi
|
12
12
|
```
|
13
13
|
|
14
14
|
You should see output similiar to this:
|
15
15
|
|
16
16
|
```
|
17
|
-
$ ufo init --app=hi --
|
17
|
+
$ ufo init --app=hi --image=tongueroo/hi
|
18
18
|
Setting up ufo project...
|
19
19
|
created: ./bin/deploy
|
20
20
|
created: ./Dockerfile
|
data/docs/_docs/ufo-init.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
title: ufo init
|
3
3
|
---
|
4
4
|
|
5
|
-
The `ufo init` command provides a way to quickly setup a project to be ufo ready. It creates a ufo folder with all the starter supporting files in order to use ufo. This page demonstrates how to use `ufo init`. The command
|
5
|
+
The `ufo init` command provides a way to quickly setup a project to be ufo ready. It creates a ufo folder with all the starter supporting files in order to use ufo. This page demonstrates how to use `ufo init`. The command requires these options: `--app` and `--image`.
|
6
6
|
|
7
7
|
For this example we will use [tongueroo/hi](https://github.com/tongueroo/hi) which is a small test sinatra app.
|
8
8
|
|
@@ -11,7 +11,7 @@ Let's run the command in our newly clone project.
|
|
11
11
|
```sh
|
12
12
|
git clone https://github.com/tongueroo/hi.git
|
13
13
|
cd hi
|
14
|
-
ufo init --app=hi --
|
14
|
+
ufo init --app=hi --image=tongueroo/hi
|
15
15
|
```
|
16
16
|
|
17
17
|
You should see output similiar to this:
|
data/docs/quick-start.md
CHANGED
@@ -8,14 +8,14 @@ In a hurry? No sweat! Here's a quick start to using ufo that takes only a few mi
|
|
8
8
|
gem install ufo
|
9
9
|
git clone https:///github.com/tongueroo/hi.git
|
10
10
|
cd hi
|
11
|
-
ufo init --app=hi --
|
11
|
+
ufo init --app=hi --image=tongueroo/hi
|
12
12
|
ufo ship hi-web
|
13
13
|
```
|
14
14
|
|
15
15
|
You should see something similar to this:
|
16
16
|
|
17
17
|
```
|
18
|
-
$ ufo init --app=hi --
|
18
|
+
$ ufo init --app=hi --image=tongueroo/hi
|
19
19
|
Setting up ufo project...
|
20
20
|
created: ./bin/deploy
|
21
21
|
created: ./Dockerfile
|
data/lib/ufo/cli.rb
CHANGED
@@ -19,7 +19,6 @@ module Ufo
|
|
19
19
|
subcommand "tasks", Tasks
|
20
20
|
|
21
21
|
desc "init", "setup initial ufo files"
|
22
|
-
option :cluster, type: :string, required: true, desc: "ECS cluster name. Example: default"
|
23
22
|
option :image, type: :string, required: true, desc: "Docker image name without the tag. Example: tongueroo/hi. Configures ufo/settings.yml"
|
24
23
|
option :app, type: :string, required: true, desc: "App name. Preferably one word. Used in the generated ufo/task_definitions.rb."
|
25
24
|
long_desc Help.init
|
data/lib/ufo/cli/help.rb
CHANGED
data/lib/ufo/init.rb
CHANGED
data/lib/ufo/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -18,7 +18,7 @@ module Helpers
|
|
18
18
|
|
19
19
|
def create_starter_project_fixture
|
20
20
|
FileUtils.rm_rf("spec/fixtures/hi")
|
21
|
-
execute("bin/ufo init --
|
21
|
+
execute("bin/ufo init --app hi --image tongueroo/hi --project-root spec/fixtures/hi")
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|