ufo 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile.lock +28 -438
  4. data/README.md +0 -8
  5. data/docs/_docs/conventions.md +1 -1
  6. data/docs/_docs/helpers.md +1 -0
  7. data/docs/_docs/settings.md +25 -24
  8. data/docs/_docs/tutorial-ufo-ship.md +1 -1
  9. data/docs/_docs/ufo-env.md +10 -10
  10. data/docs/_docs/variables.md +8 -8
  11. data/lib/starter_project/Dockerfile +1 -1
  12. data/lib/starter_project/ufo/settings.yml +7 -7
  13. data/lib/starter_project/ufo/task_definitions.rb +13 -9
  14. data/lib/starter_project/ufo/variables/{stag.rb → development.rb} +4 -4
  15. data/lib/starter_project/ufo/variables/{prod.rb → production.rb} +3 -3
  16. data/lib/ufo.rb +1 -0
  17. data/lib/ufo/aws_services.rb +4 -1
  18. data/lib/ufo/cli.rb +9 -10
  19. data/lib/ufo/command.rb +23 -0
  20. data/lib/ufo/docker.rb +4 -5
  21. data/lib/ufo/docker/builder.rb +1 -2
  22. data/lib/ufo/env.rb +1 -1
  23. data/lib/ufo/help.rb +9 -0
  24. data/lib/ufo/help/destroy.md +5 -0
  25. data/lib/ufo/help/docker.md +4 -0
  26. data/lib/ufo/help/docker/base.md +9 -0
  27. data/lib/ufo/help/docker/build.md +6 -0
  28. data/lib/ufo/help/docker/clean.md +14 -0
  29. data/lib/ufo/help/docker/name.md +5 -0
  30. data/lib/ufo/help/init.md +11 -0
  31. data/lib/ufo/help/scale.md +5 -0
  32. data/lib/ufo/help/ship.md +17 -0
  33. data/lib/ufo/help/ships.md +18 -0
  34. data/lib/ufo/help/task.md +10 -0
  35. data/lib/ufo/help/tasks.md +7 -0
  36. data/lib/ufo/help/tasks/build.md +7 -0
  37. data/lib/ufo/help/tasks/register.md +5 -0
  38. data/lib/ufo/init.rb +2 -3
  39. data/lib/ufo/ship.rb +1 -1
  40. data/lib/ufo/task.rb +5 -1
  41. data/lib/ufo/tasks.rb +2 -3
  42. data/lib/ufo/version.rb +1 -1
  43. data/ufo.gemspec +4 -1
  44. metadata +63 -9
  45. data/lib/ufo/cli/help.rb +0 -124
  46. data/lib/ufo/docker/help.rb +0 -65
  47. data/lib/ufo/tasks/help.rb +0 -26
@@ -1,65 +0,0 @@
1
- module Ufo
2
- module Docker::Help
3
- def base
4
- <<-EOL
5
-
6
- The docker cache task builds a docker image using the Dockerfile.base file and
7
- updates the FROM Dockerfile image with the generated image from Dockerfile.base.
8
-
9
- Examples:
10
-
11
- $ ufo docker base
12
-
13
- $ ufo docker base --no-push # do not push the image to the registry
14
-
15
- Docker image tongueroo/hi:base-2016-10-21T15-50-57-88071f5 built.
16
- EOL
17
- end
18
-
19
- def build
20
- <<-EOL
21
- Examples:
22
-
23
- $ ufo docker build
24
-
25
- $ ufo docker build --push # also pushes the image to the docker registry
26
-
27
- Docker image tongueroo/hi:ufo-2016-10-21T15-50-57-88071f5 built.
28
- EOL
29
- end
30
-
31
- def name
32
- <<-EOL
33
- Examples:
34
-
35
- $ ufo docker name
36
-
37
- Docker image name that will be used: tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5
38
- EOL
39
- end
40
-
41
- def clean
42
- <<-EOL
43
- Examples:
44
-
45
- Say you currently have these images:
46
-
47
- * tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5
48
-
49
- * tongueroo/hi:ufo-2016-10-16T19-29-06-88071f5
50
-
51
- * tongueroo/hi:ufo-2016-10-17T19-29-06-88071f5
52
-
53
- * tongueroo/hi:ufo-2016-10-18T19-29-06-88071f5
54
-
55
- To clean them up and keep the 3 more recent:
56
-
57
- $ ufo docker clean tongueroo/hi
58
-
59
- This will remove tongueroo/hi:ufo-2016-10-15T19-29-06-88071f5.
60
- EOL
61
- end
62
-
63
- extend self
64
- end
65
- end
@@ -1,26 +0,0 @@
1
- module Ufo
2
- module Tasks::Help
3
- def build
4
- <<-EOL
5
- Examples:
6
-
7
- $ ufo tasks build
8
-
9
- Builds all the task defintiions.
10
-
11
- Note all the existing ufo/output generated task defintions are wiped out.
12
- EOL
13
- end
14
-
15
- def register
16
- <<-EOL
17
- Examples:
18
-
19
- $ ufo tasks register
20
- All the task defintiions in ufo/output registered.
21
- EOL
22
- end
23
-
24
- extend self
25
- end
26
- end