roro 0.3.28 → 0.3.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (539) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.reference.yml +139 -0
  3. data/.circleci/config.yml +154 -119
  4. data/.circleci/src/@config.yml +2 -0
  5. data/.circleci/src/commands/restore-and-save-cache.yml +11 -0
  6. data/.circleci/src/commands/run-test-case.yml +11 -0
  7. data/.circleci/src/executors/linux.yml +2 -0
  8. data/.circleci/src/executors/ruby.yml +7 -0
  9. data/.circleci/src/jobs/build.yml +5 -0
  10. data/.circleci/src/jobs/release.yml +10 -0
  11. data/.circleci/src/jobs/test-adventures.yml +15 -0
  12. data/.circleci/src/jobs/test-rubies.yml +14 -0
  13. data/.circleci/src/workflows/adventures.yml +49 -0
  14. data/.circleci/src/workflows/adventures.yml.tt +11 -0
  15. data/.circleci/src/workflows/gem-release.yml +9 -0
  16. data/.circleci/src/workflows/rubies.yml +13 -0
  17. data/.circleci/src/workflows/rubies.yml.tt +14 -0
  18. data/.harvest/cases.yml +39 -0
  19. data/.harvest/structure_choices.yml +73 -0
  20. data/.harvest/structure_human.yml +73 -0
  21. data/.harvest.yml +40 -0
  22. data/.idea/.gitignore +8 -0
  23. data/.idea/inspectionProfiles/Project_Default.xml +6 -0
  24. data/.idea/markdown.xml +9 -0
  25. data/.idea/misc.xml +4 -0
  26. data/.idea/modules.xml +8 -0
  27. data/.idea/roro.iml +419 -0
  28. data/.idea/runConfigurations/_template__of_Test__Unit_Shoulda_Minitest.xml +41 -0
  29. data/.idea/runConfigurations/ci_prepare.xml +36 -0
  30. data/.idea/runConfigurations/ci_test_adventures.xml +39 -0
  31. data/.idea/runConfigurations/ci_test_rubies.xml +36 -0
  32. data/.idea/runConfigurations/generate_annotations.xml +17 -0
  33. data/.idea/runConfigurations/test_adventures.xml +40 -0
  34. data/.idea/runConfigurations/test_all.xml +40 -0
  35. data/.idea/runConfigurations/test_tasks.xml +40 -0
  36. data/.idea/runConfigurations/test_test.xml +40 -0
  37. data/.idea/vcs.xml +6 -0
  38. data/.pryrc +2 -0
  39. data/CODE_OF_CONDUCT.md +16 -67
  40. data/Gemfile.lock +183 -0
  41. data/Guardfile +11 -22
  42. data/README.md +27 -178
  43. data/Rakefile +39 -7
  44. data/cases +1 -0
  45. data/docker-compose.yml +26 -6
  46. data/lib/roro/cli/generate/generate_adventure.rb +23 -0
  47. data/lib/roro/cli/generate/generate_adventure_tests.rb +22 -0
  48. data/lib/roro/cli/generate/generate_containers.rb +0 -5
  49. data/lib/roro/cli/generate/generate_environments.rb +1 -0
  50. data/lib/roro/cli/generate/generate_harvest.rb +42 -0
  51. data/lib/roro/cli/rollon.rb +0 -7
  52. data/lib/roro/cli.rb +25 -13
  53. data/lib/roro/common/utilities.rb +44 -13
  54. data/lib/roro/configurators/adventure_chooser.rb +5 -2
  55. data/lib/roro/configurators/adventure_picker.rb +8 -7
  56. data/lib/roro/configurators/adventure_writer.rb +198 -4
  57. data/lib/roro/configurators/catalog_builder.rb +1 -1
  58. data/lib/roro/configurators/configurator.rb +71 -8
  59. data/lib/roro/configurators/dependency_satisfier.rb +135 -0
  60. data/lib/roro/configurators/question_asker.rb +3 -3
  61. data/lib/roro/configurators/question_builder.rb +6 -6
  62. data/lib/roro/configurators/reflector.rb +225 -0
  63. data/lib/roro/configurators/structure_builder.rb +3 -0
  64. data/lib/roro/configurators/validator.rb +3 -1
  65. data/lib/roro/crypto/key_writer.rb +2 -0
  66. data/lib/roro/dependencies/base.yml +90 -0
  67. data/lib/roro/stacks/docker.yml +5 -0
  68. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/alpine.yml +2 -0
  69. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/docker.yml +1 -0
  70. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/git.yml +17 -0
  71. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/_builder.yml +3 -0
  72. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/laravel.yml +11 -0
  73. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/builder/Dockerfile.tt +14 -0
  74. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/builder/composer.json +7 -0
  75. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/default.conf +22 -0
  76. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/php.dockerfile.tt +43 -0
  77. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/scheduler.sh +7 -0
  78. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker-compose.yml.tt +122 -0
  79. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/partials/services/site.erb +16 -0
  80. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/_test.rb +142 -0
  81. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/composer.json +7 -0
  82. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/default.conf +22 -0
  83. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/php.dockerfile +43 -0
  84. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/scheduler.sh +7 -0
  85. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker-compose.yml +122 -0
  86. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/_builder/Dockerfile +14 -0
  87. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/_builder/composer.json +7 -0
  88. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/laravel/Dockerfile +14 -0
  89. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/laravel/composer.json +7 -0
  90. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/okonomi/languages/php/adventures}/wordpress/wordpress.yml +2 -2
  91. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/php.yml +1 -0
  92. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/_builder.yml +3 -0
  93. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/mysql.yml +26 -0
  94. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/_python_requirements.erb +2 -0
  95. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/_settings_py_databases.erb +10 -0
  96. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/services/_db.yml.erb +7 -0
  97. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/postgres.yml +5 -0
  98. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/templates/partials/_settings_py_databases.erb +10 -0
  99. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/templates/partials/services/_db.yml.erb +9 -0
  100. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories → unstoppable_developer_styles/okonomi/languages/python/frameworks}/django/django.yml +12 -13
  101. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/builder/Dockerfile.tt +20 -0
  102. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_two → unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/manifest/%interpolated_app_name%}/settings.py.tt +8 -17
  103. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_one → unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/manifest}/Dockerfile.tt +8 -2
  104. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/partials/_volumes.erb +4 -0
  105. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/partials/services/_web.yml.erb +12 -0
  106. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/0/_test.rb +97 -0
  107. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/0/dummy/requirements.txt +5 -0
  108. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/2/_test.rb +91 -0
  109. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/2/dummy/requirements.txt +4 -0
  110. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/_builder.yml +3 -0
  111. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/flask.yml +8 -0
  112. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/builder/Dockerfile.tt +16 -0
  113. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/partials/services/_redis.yml.erb +3 -0
  114. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/partials/services/_web.yml.erb +5 -0
  115. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/_test.rb +74 -0
  116. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/dummy/Dockerfile +11 -0
  117. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one → unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/dummy}/docker-compose.yml +12 -3
  118. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/layers/flask/Dockerfile +11 -0
  119. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/python.yml +8 -0
  120. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/templates/manifest/docker-compose.yml.tt +9 -0
  121. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/versions/python_3_10_1/python_3_10_1.yml +5 -0
  122. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/versions/python_3_9_9/python_3_9_9.yml +5 -0
  123. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/_builder.yml +3 -0
  124. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/postgres.yml +26 -0
  125. data/lib/roro/stacks/{stories_v1/templates/rails/config/database.pg.yml → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/templates/manifest/config/database.yml} +2 -2
  126. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/templates/partials/packages/_postgres.erb +3 -0
  127. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/templates/partials/services/_db.erb +7 -0
  128. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/versions/postgres_13_5/postgres_13_5.yml +4 -0
  129. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/versions/postgres_14_1/postgres_14_1.yml +4 -0
  130. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/sqlite.yml +8 -0
  131. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/templates/partials/packages/_sqlite.erb +3 -0
  132. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/templates/partials/services/_db.erb +9 -0
  133. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases.yml +33 -0
  134. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/rails.yml +14 -0
  135. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/resque/resque.yml +1 -0
  136. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/sidekiq/sidekiq.yml +1 -0
  137. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/builder/Dockerfile.tt +25 -0
  138. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/Dockerfile.tt +20 -0
  139. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/docker-compose.yml.tt +7 -0
  140. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/entrypoints/docker-entrypoint.sh +9 -0
  141. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/packages/_base.erb +7 -0
  142. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/services/_app.erb +17 -0
  143. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/shared/_env_file.erb +3 -0
  144. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/volumes/_base.erb +3 -0
  145. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/rails_6_1.yml +12 -0
  146. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/templates/partials/_packages_adventure.erb +8 -0
  147. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/_test.rb +71 -0
  148. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy/Gemfile +56 -0
  149. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy/config/environments/production.rb +120 -0
  150. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy/docker-compose.yml +32 -0
  151. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/layers/_builder/Dockerfile +41 -0
  152. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/layers/rails/Dockerfile +37 -0
  153. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/_test.rb +94 -0
  154. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/Dockerfile +37 -0
  155. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/Gemfile +56 -0
  156. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/config/environments/production.rb +120 -0
  157. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/docker-compose.yml +33 -0
  158. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/rails_7_0.yml +10 -0
  159. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/_test.rb +90 -0
  160. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/Dockerfile +29 -0
  161. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/Gemfile +72 -0
  162. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/config/database.yml +25 -0
  163. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/idiot/Dockerfile +29 -0
  164. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/idiot/docker-compose.yml +33 -0
  165. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/layers/rails/config/database.yml +25 -0
  166. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/layers/rails/docker-compose.yml +34 -0
  167. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/layers/rails/mise/env/base.env +19 -0
  168. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/_test.rb +61 -0
  169. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/Dockerfile +29 -0
  170. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/Gemfile +72 -0
  171. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/config/database.yml +25 -0
  172. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/idiot/Dockerfile +29 -0
  173. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/idiot/docker-compose.yml +33 -0
  174. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/layers/rails/config/database.yml +25 -0
  175. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/layers/rails/docker-compose.yml +34 -0
  176. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/layers/rails/mise/env/base.env +19 -0
  177. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/_test.rb +76 -0
  178. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/Dockerfile +29 -0
  179. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/Gemfile +72 -0
  180. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/config/database.yml +19 -0
  181. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/docker-compose.yml +33 -0
  182. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/Dockerfile +29 -0
  183. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/Gemfile +72 -0
  184. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/config/database.yml +19 -0
  185. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/docker-compose.yml +33 -0
  186. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/_builder/Dockerfile +34 -0
  187. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/rails/Dockerfile +29 -0
  188. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/rails/Gemfile +72 -0
  189. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/rails/config/database.yml +19 -0
  190. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/_test.rb +81 -0
  191. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/Dockerfile +29 -0
  192. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/Gemfile +72 -0
  193. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/config/database.yml +19 -0
  194. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/docker-compose.yml +33 -0
  195. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/layers/_builder/Dockerfile +34 -0
  196. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/layers/rails/config/database.yml +19 -0
  197. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/_test.rb +80 -0
  198. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/Dockerfile +29 -0
  199. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/Gemfile +72 -0
  200. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/config/database.yml +19 -0
  201. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/docker-compose.yml +33 -0
  202. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/_builder/Dockerfile +34 -0
  203. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/rails/Dockerfile +29 -0
  204. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/rails/Gemfile +72 -0
  205. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/rails/config/database.yml +19 -0
  206. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/_test.rb +82 -0
  207. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/Dockerfile +29 -0
  208. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/Gemfile +72 -0
  209. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/config/database.yml +19 -0
  210. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/docker-compose.yml +33 -0
  211. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/_builder/Dockerfile +34 -0
  212. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/rails/Dockerfile +29 -0
  213. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/rails/Gemfile +72 -0
  214. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/rails/config/database.yml +19 -0
  215. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/ruby_gem/ruby_gem.yml +1 -0
  216. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/ruby_gem/templates/stage_one/.gitignore +56 -0
  217. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/ruby.yml +10 -0
  218. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/versions/ruby_2_7/ruby_2_7.yml +4 -0
  219. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/versions/ruby_3_0/ruby_3_0.yml +6 -0
  220. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/okonomi.yml +8 -0
  221. data/lib/roro/stacks/unstoppable_developer_styles/okonomi/templates/manifest/.dockerignore.tt +32 -0
  222. data/lib/roro/stacks/unstoppable_developer_styles/omakase/frameworks/wordpress/test/0/_test.rb +12 -0
  223. data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/wordpress/wordpress.yml +3 -3
  224. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/circleci.yml +31 -0
  225. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/partials/_ignores.erb +9 -0
  226. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/.circleci/config.yml.tt +45 -0
  227. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/Dockerfile +3 -0
  228. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/index.html +7 -0
  229. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s/app-deployment.yml.tt +23 -0
  230. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s/app-service.yml.tt +15 -0
  231. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-role-binding.yml +13 -0
  232. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-role.yml +9 -0
  233. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-service-account.yml +5 -0
  234. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/scripts/ci-deploy.sh.tt +23 -0
  235. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/test/0/_test.rb +57 -0
  236. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/devops.yml +1 -0
  237. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/kubernetes.yml +1 -0
  238. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/ingress.yml +2 -0
  239. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/nginx.yml +1 -0
  240. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/cert_manager.yml +32 -0
  241. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_2/echo_ingress.yaml.tt +25 -0
  242. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_3/echo_ingress.yaml.tt +25 -0
  243. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_3/ingress_nginx_svc.yaml.tt +31 -0
  244. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/echo1.yaml +32 -0
  245. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/echo2.yaml +32 -0
  246. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/echo_ingress.yaml.tt +18 -0
  247. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/prod_issuer.yaml.tt +19 -0
  248. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/staging_issuer.yaml.tt +19 -0
  249. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/test/0/_test.rb +15 -0
  250. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/rails.yml +51 -0
  251. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/docker-compose.yml.tt +41 -0
  252. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/app-deployment.yaml.tt +72 -0
  253. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/app-service.yaml.tt +20 -0
  254. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/database-deployment.yaml.tt +59 -0
  255. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/database-service.yaml.tt +19 -0
  256. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/db-data-persistentvolumeclaim.yaml.tt +14 -0
  257. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/env-configmap.yaml.tt +12 -0
  258. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/redis-deployment.yaml.tt +33 -0
  259. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/redis-service.yaml.tt +19 -0
  260. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/secret.yaml.tt +11 -0
  261. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/sidekiq-deployment.yaml.tt +56 -0
  262. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/test/0/_test.rb +15 -0
  263. data/lib/roro/stacks/unstoppable_developer_styles/sashimi/sashimi.yml +1 -0
  264. data/lib/roro/templates/adventure/%adventure_name%.yml.tt +5 -0
  265. data/lib/roro/templates/adventure/test/0/_test.rb.tt +8 -0
  266. data/lib/roro/templates/adventure_test/_test.rb.tt +31 -0
  267. data/lib/roro/version.rb +1 -1
  268. data/lib/roro.rb +13 -12
  269. data/mise/containers/ruby_gem/Dockerfile +25 -12
  270. data/mise/containers/ruby_gem/Dockerfile-ubuntu +13 -0
  271. data/mise/logs/cases.yml +235 -0
  272. data/mise/logs/getsome.yml +204 -0
  273. data/mise/logs/itineraries.yml +235 -0
  274. data/mise/logs/reflector.yml +204 -0
  275. data/mise/scripts/ci/jobs/run.sh +6 -0
  276. data/mise/scripts/rollon/build_app.sh +7 -0
  277. data/mise/scripts/rollon/down.sh +9 -0
  278. data/mise/scripts/rollon/git_commit.sh +8 -0
  279. data/mise/scripts/rollon/image_build.sh +7 -0
  280. data/mise/scripts/rollon/image_push.sh +8 -0
  281. data/mise/scripts/rollon/prune.sh +3 -0
  282. data/mise/scripts/rollon/reset_sandbox.sh +13 -0
  283. data/mise/scripts/rollon/run.sh +16 -0
  284. data/mise/scripts/rollon-pull.sh +37 -0
  285. data/mise/scripts/rollon.sh +26 -0
  286. data/rakelib/ci/prepare/config/pack.rake +15 -0
  287. data/rakelib/ci/prepare/config/process.rake +12 -0
  288. data/rakelib/ci/prepare/config/validate.rake +13 -0
  289. data/rakelib/ci/prepare/config.rake +8 -0
  290. data/rakelib/ci/prepare/workflows/adventures.rake +70 -0
  291. data/rakelib/ci/prepare/workflows/rubies.rake +15 -0
  292. data/rakelib/ci/prepare.rake +11 -0
  293. data/rakelib/ci/test/adventures.rake +18 -0
  294. data/rakelib/ci/test/rubies.rake +12 -0
  295. data/rakelib/ci/update.rake +6 -0
  296. data/rakelib/club/harvest.rake +9 -0
  297. data/rakelib/docker/image/build.rake +8 -0
  298. data/rakelib/test/annotate.rake +16 -0
  299. data/roro.gemspec +21 -19
  300. metadata +408 -278
  301. data/.circleci/setup-gem-credentials.sh +0 -3
  302. data/.ruby-version +0 -1
  303. data/.travis.yml +0 -7
  304. data/lib/roro/cli/roll_your_own.rb +0 -12
  305. data/lib/roro/configurator.rb +0 -15
  306. data/lib/roro/configurators/adventure_case_builder.rb +0 -65
  307. data/lib/roro/configurators/utilities.rb +0 -188
  308. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/fatsufodo.yml +0 -1
  309. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/django.yml +0 -39
  310. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/Dockerfile.tt +0 -7
  311. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/docker-compose.yml.tt +0 -20
  312. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/requirements.txt.tt +0 -2
  313. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/test/stage_one/stage_one_test.rb +0 -37
  314. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/expressjs.yml +0 -8
  315. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/templates/stage_one/Dockerfile.tt +0 -14
  316. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/templates/stage_one/docker-compose.yml.tt +0 -21
  317. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/flask.yml +0 -14
  318. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one/requirements.txt +0 -2
  319. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/test/stage_one/stage_test.rb +0 -37
  320. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/rails/rails.yml +0 -12
  321. data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/rails/templates/stage_one/docker-compose.yml.tt +0 -9
  322. data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/okonomi.yml +0 -1
  323. data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/roll_your_own.yml +0 -23
  324. data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/%interpolated_story_name%.yml.tt +0 -10
  325. data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/test/stage_one/stage_test.rb.tt +0 -37
  326. data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/test/stage_one/stage_one_test.rb +0 -63
  327. data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/Dockerfile.tt +0 -16
  328. data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/Gemfile.tt +0 -2
  329. data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/entrypoint.sh +0 -8
  330. data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_two/database.yml.tt +0 -16
  331. data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/test/stage_one/stage_test.rb +0 -40
  332. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/sashimi.yml +0 -1
  333. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_one/docker-compose.yml.tt +0 -20
  334. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_one/requirements.txt.tt +0 -2
  335. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_two/settings.py +0 -130
  336. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/test/stage_one/stage_one_test.rb +0 -37
  337. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/expressjs.yml +0 -7
  338. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/templates/stage_one/Dockerfile.tt +0 -14
  339. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/templates/stage_one/docker-compose.yml.tt +0 -21
  340. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/rails.yml +0 -12
  341. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/Dockerfile.tt +0 -16
  342. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/Gemfile.tt +0 -2
  343. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/docker-compose.yml.tt +0 -17
  344. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/entrypoint.sh +0 -8
  345. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_two/database.yml.tt +0 -16
  346. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/__MACOSX/scripts/._.DS_Store +0 -0
  347. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/.DS_Store +0 -0
  348. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/bundler.sh +0 -22
  349. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/git.sh +0 -21
  350. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh +0 -38
  351. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/utilities.sh +0 -53
  352. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base.sh +0 -6
  353. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/clone_idea.sh +0 -14
  354. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/clone_repos.sh +0 -33
  355. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/install_correct_bundler.sh +0 -21
  356. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/install_rubies.sh +0 -6
  357. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize.sh +0 -18
  358. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/roro.sh +0 -15
  359. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/source.sh +0 -28
  360. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/bundle_all.sh +0 -12
  361. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/git_pull_all.sh +0 -15
  362. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/rvm_install_all.sh +0 -12
  363. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/yarn_install_all.sh +0 -10
  364. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/wordpress/templates/stage_one/docker-compose.yml.tt +0 -31
  365. data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/wordpress/wordpress.yml +0 -16
  366. data/lib/roro/stacks/library/roro/docker_compose/docker-compose.yml +0 -22
  367. data/lib/roro/stacks/library/roro/k8s/k8s.yml +0 -15
  368. data/lib/roro/stacks/library/roro/plots/node/node.yml +0 -22
  369. data/lib/roro/stacks/library/roro/plots/php/php.yml +0 -22
  370. data/lib/roro/stacks/library/roro/plots/python/plots/django/django.yml +0 -10
  371. data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/Dockerfile +0 -7
  372. data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/docker-compose.yml +0 -20
  373. data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/requirements.txt +0 -2
  374. data/lib/roro/stacks/library/roro/plots/python/plots/flask/flask.yml +0 -0
  375. data/lib/roro/stacks/library/roro/plots/python/python.yml +0 -1
  376. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/databases/mysql.yml +0 -22
  377. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/databases/postgres.yml +0 -22
  378. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails/rails.yml +0 -22
  379. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails_react/rails_react.yml +0 -22
  380. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails_vue/rails_vue.yml +0 -22
  381. data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/rails.yml +0 -16
  382. data/lib/roro/stacks/library/roro/plots/ruby/plots/ruby_gem/ruby_gem.yml +0 -22
  383. data/lib/roro/stacks/library/roro/plots/ruby/ruby.yml +0 -22
  384. data/lib/roro/stacks/library/roro/roro/roro.yml +0 -15
  385. data/lib/roro/stacks/stories_v1/greenfield/rails.yml +0 -9
  386. data/lib/roro/stacks/stories_v1/greenfield/roro.yml +0 -7
  387. data/lib/roro/stacks/stories_v1/greenfield.yml +0 -1
  388. data/lib/roro/stacks/stories_v1/rollon/rails/ci_cd/circleci.yml +0 -2
  389. data/lib/roro/stacks/stories_v1/rollon/rails/ci_cd.yml +0 -1
  390. data/lib/roro/stacks/stories_v1/rollon/rails/database/mysql.yml +0 -17
  391. data/lib/roro/stacks/stories_v1/rollon/rails/database/postgresql.yml +0 -15
  392. data/lib/roro/stacks/stories_v1/rollon/rails/database.yml +0 -9
  393. data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql/default.yml +0 -1
  394. data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql/edge.yml +0 -1
  395. data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql.yml +0 -10
  396. data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes.yml +0 -1
  397. data/lib/roro/stacks/stories_v1/rollon/rails.yml +0 -76
  398. data/lib/roro/stacks/stories_v1/rollon/roro.yml +0 -5
  399. data/lib/roro/stacks/stories_v1/rollon/ruby_gem.yml +0 -5
  400. data/lib/roro/stacks/stories_v1/rollon.yml +0 -42
  401. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/config.yml.tt +0 -11
  402. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_build.yml +0 -14
  403. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_push.yml +0 -11
  404. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_test.yml +0 -12
  405. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/setup-gem-credentials.sh +0 -3
  406. data/lib/roro/stacks/stories_v1/templates/rails/.circleci/workflows/_build_test_push.yml +0 -12
  407. data/lib/roro/stacks/stories_v1/templates/rails/Dockerfile.greenfield.tt +0 -51
  408. data/lib/roro/stacks/stories_v1/templates/rails/config/database.mysql.yml +0 -19
  409. data/lib/roro/stacks/stories_v1/templates/rails/database/with_mysql/_service.yml +0 -10
  410. data/lib/roro/stacks/stories_v1/templates/rails/database/with_postgresql/_service.yml +0 -7
  411. data/lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt +0 -59
  412. data/lib/roro/stacks/stories_v1/templates/rails/dotenv/database.mysql.env.tt +0 -6
  413. data/lib/roro/stacks/stories_v1/templates/rails/dotenv/database.pg.env.tt +0 -4
  414. data/lib/roro/stacks/stories_v1/templates/rails/dotenv/web.env.tt +0 -2
  415. data/lib/roro/stacks/stories_v1/templates/rails/kube.rake.tt +0 -114
  416. data/lib/roro/stacks/stories_v1/templates/rails/roro/containers/app/Dockerfile.tt +0 -34
  417. data/lib/roro/stacks/stories_v1/templates/rails/roro/docker-entrypoint.sh +0 -8
  418. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/certificate.yml.tt +0 -0
  419. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/cluster-issuer.yml.tt +0 -0
  420. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployment.yml.tt +0 -50
  421. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/postgres_deploy.yaml +0 -47
  422. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/rails_deploy.yaml +0 -62
  423. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/redis_deploy.yaml +0 -23
  424. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/sidekiq_deploy.yaml +0 -56
  425. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/ingress.yml.tt +0 -0
  426. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/ingresses/ingress.yaml +0 -13
  427. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/job-migrate.yml.tt +0 -0
  428. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/jobs/setup.yaml +0 -42
  429. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/secret-digital-ocean.yml.tt +0 -4
  430. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/service.yml.tt +0 -10
  431. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/postgres_svc.yaml +0 -13
  432. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/rails_svc.yaml +0 -13
  433. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/redis_svc.yaml +0 -13
  434. data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/volumes/postgres_volumes.yaml +0 -25
  435. data/lib/roro/stacks/stories_v1/templates/roro/containers/database/env/.keep +0 -0
  436. data/lib/roro/stacks/stories_v1/templates/roro/containers/database/scripts/.keep +0 -0
  437. data/lib/roro/stacks/stories_v1/templates/roro/env/.keep +0 -0
  438. data/lib/roro/stacks/stories_v1/templates/roro/keys/.keep +0 -0
  439. data/lib/roro/stacks/stories_v1/templates/roro/scripts/.keep +0 -0
  440. data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/bundler.sh +0 -22
  441. data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/git.sh +0 -21
  442. data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh +0 -38
  443. data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/utilities.sh +0 -53
  444. data/lib/roro/stacks/stories_v1/templates/roro/scripts/base.sh +0 -6
  445. data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/clone_idea.sh +0 -14
  446. data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/clone_repos.sh +0 -33
  447. data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/install_correct_bundler.sh +0 -21
  448. data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/install_rubies.sh +0 -6
  449. data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize.sh +0 -18
  450. data/lib/roro/stacks/stories_v1/templates/roro/scripts/roro.sh +0 -15
  451. data/lib/roro/stacks/stories_v1/templates/roro/scripts/source.sh +0 -28
  452. data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/bundle_all.sh +0 -12
  453. data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/git_pull_all.sh +0 -15
  454. data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/rvm_install_all.sh +0 -12
  455. data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/yarn_install_all.sh +0 -10
  456. data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/.keep +0 -0
  457. data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/config.yml.tt +0 -16
  458. data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/jobs/_test.yml +0 -4
  459. data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/setup-gem-credentials.sh +0 -3
  460. data/lib/roro/stacks/stories_v1/templates/ruby_gem/docker-compose.yml +0 -15
  461. data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/.keep +0 -0
  462. data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/ruby_image/Dockerfile.tt +0 -16
  463. data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/ruby_image/ci.env.tt +0 -1
  464. data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/keys/.keep +0 -0
  465. data/mise/containers/ruby_gem/Dockerfile-app +0 -51
  466. data/mise/containers/ruby_gem/Dockerfile-ruby_gem +0 -16
  467. /data/{.circleci → lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel}/.keep +0 -0
  468. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/django/test/stage_one/dummy → unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest}/.keep +0 -0
  469. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/django/test/stage_two/dummy → unstoppable_developer_styles/okonomi/languages/php/adventures/wordpress/templates/manifest}/.keep +0 -0
  470. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one → unstoppable_developer_styles/okonomi/languages/php/adventures/wordpress/templates/partials}/.keep +0 -0
  471. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/okonomi/languages/php/adventures}/wordpress/templates/stage_one/docker-compose.yml.tt +0 -0
  472. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/test → unstoppable_developer_styles/okonomi/languages/php/adventures/wordpress/test/0}/.keep +0 -0
  473. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/test/stage_one → unstoppable_developer_styles/okonomi/languages/python/frameworks/django}/.keep +0 -0
  474. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/test/stage_one/stage_dummy → unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/manifest}/.keep +0 -0
  475. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/templates/stage_one → unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/templates/manifest}/.keep +0 -0
  476. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/test → unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/2/dummy}/.keep +0 -0
  477. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one/Dockerfile → unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/manifest/Dockerfile.tt} +0 -0
  478. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one → unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/manifest}/app.py +0 -0
  479. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/test/stage_one → unstoppable_developer_styles/okonomi/languages/python/templates/manifest}/.keep +0 -0
  480. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/templates/stage_one/%interpolated_stack_path%/test/stage_one/stage_dummy → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/resque/templates/manifest}/.keep +0 -0
  481. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/test/stage_one/dummy → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/sidekiq/templates/manifest}/.keep +0 -0
  482. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1}/templates/stage_one/.keep +0 -0
  483. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/test → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy}/.keep +0 -0
  484. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/test/stage_one → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy}/.keep +0 -0
  485. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/test/stage_one/stage_dummy → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/templates/partials}/.keep +0 -0
  486. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories/django/test/stage_one/dummy → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/templates/stage_one}/.keep +0 -0
  487. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories/django/test/stage_two → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2}/dummy/.keep +0 -0
  488. /data/lib/roro/stacks/{library/roro → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy}/.keep +0 -0
  489. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories/rails/templates/stage_one/Gemfile.lock.tt → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/layers/postgres/config/database.yml} +0 -0
  490. /data/lib/roro/stacks/{library/roro/plots/node → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy}/.keep +0 -0
  491. /data/lib/roro/stacks/{library/roro/plots/php → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy}/.keep +0 -0
  492. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/rails/rails.yml +0 -0
  493. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Dockerfile.tt +0 -0
  494. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Gemfile.lock.tt +0 -0
  495. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Gemfile.tt +0 -0
  496. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/docker-compose.yml.tt +0 -0
  497. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/entrypoint.sh +0 -0
  498. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_two/database.yml.tt +0 -0
  499. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/.env +0 -0
  500. /data/lib/roro/stacks/{library/roro/plots/python/plots/django → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/.keep +0 -0
  501. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/LICENSE +0 -0
  502. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/README.md +0 -0
  503. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/build.sh +0 -0
  504. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/config/nginx/cfg/nginx-custom-configs.conf +0 -0
  505. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/config/nginx/cfg/nginx-wp-hardening.conf +0 -0
  506. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/config/nginx/tpl/nginx-http.conf.template +0 -0
  507. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/config/nginx/tpl/nginx-https.conf.example +0 -0
  508. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/config/php.conf.ini +0 -0
  509. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/data/certbot/conf/.placeholder +0 -0
  510. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/data/certbot/www/.placeholder +0 -0
  511. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/docker-compose-build.yml +0 -0
  512. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/docker-compose-dev.yml +0 -0
  513. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/docker-compose-prod.yml +0 -0
  514. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/dump_mysql.sh +0 -0
  515. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/init_letsencrypt.sh +0 -0
  516. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/mysql-dumps/.placeholder +0 -0
  517. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/push.sh +0 -0
  518. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/wordpress/Dockerfile +0 -0
  519. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/wordpress/adduser.sh +0 -0
  520. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/wordpress-sql/.placeholder +0 -0
  521. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories/wordpress/templates/stage_one → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/wordpress-src/.placeholder +0 -0
  522. /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/databases → unstoppable_developer_styles/omakase/frameworks/wordpress/test}/.keep +0 -0
  523. /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/plots/rails/templates → unstoppable_developer_styles/omakase/frameworks/wordpress/test/0/dummy}/.keep +0 -0
  524. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles → unstoppable_developer_styles}/omakase/omakase.yml +0 -0
  525. /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/Gemfile.lock.tt → unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/.gitignore} +0 -0
  526. /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/plots/rails_react/templates → unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/test/0/dummy}/.keep +0 -0
  527. /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/plots/rails_vue/templates → unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one}/.keep +0 -0
  528. /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/templates → unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/test}/.keep +0 -0
  529. /data/lib/roro/stacks/{stories_v1/templates/rails/.circleci → unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/test/0/dummy}/.keep +0 -0
  530. /data/lib/roro/stacks/{stories_v1/templates/rails → unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one}/.keep +0 -0
  531. /data/lib/roro/stacks/{stories_v1/templates/rails/database/with_postgresql → unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s}/.keep +0 -0
  532. /data/lib/roro/stacks/{stories_v1/templates/rails/dotenv → unstoppable_developer_styles/sashimi/frameworks/rails/test}/.keep +0 -0
  533. /data/lib/roro/stacks/{stories_v1/templates/rails/roro → unstoppable_developer_styles/sashimi/frameworks/rails/test/0/dummy}/.keep +0 -0
  534. /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers → templates/adventure}/.keep +0 -0
  535. /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers/app → templates/adventure/templates/manifest}/.keep +0 -0
  536. /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers/frontend → templates/adventure/test/0/dummy}/.keep +0 -0
  537. /data/lib/roro/{stacks/stories_v1/templates/rails/roro/keys → templates/adventure_test/dummy}/.keep +0 -0
  538. /data/{lib/roro/stacks/stories_v1/templates/rails/roro/kube → mise/env}/.keep +0 -0
  539. /data/{lib/roro/stacks/stories_v1/templates/roro/containers → mise/scripts}/.keep +0 -0
@@ -1,76 +0,0 @@
1
- stories:
2
- - database
3
- - ci_cd
4
- - kubernetes
5
-
6
- actions:
7
- - template 'rails/.circleci/config.yml.tt', './.circleci/config.yml'
8
- - template 'rails/preface-returns-array_of_strings.yml.tt', './preface-returns-array_of_strings.yml', @config.smart.env
9
- - template 'base/dotenv', './.smart.env', @config.smart.env
10
- - directory 'rails/roro', './roro', @config.smart.env
11
- - chmod "roro/docker-entrypoint.sh", 0755
12
-
13
-
14
- startup:
15
- success: "Your backend should be available at http://localhost:3000"
16
- commands:
17
- - docker-compose build --no-cache
18
- - docker-compose up -d
19
- - docker-compose run backend bin/rails db:create
20
- - docker-compose run backend bin/rails db:migrate
21
- - 'docker-compose run backend echo #{success_msg}'
22
-
23
- env_vars:
24
- ruby_version: '2.7'
25
- database_host: database
26
- frontend_service: frontend
27
- database_service: database
28
-
29
- choices:
30
- config_std_out_true:
31
- question: |
32
- The team at Heroku, among others, recommend logging to STDOUT
33
- and treating your logs as streams. We'll set this to
34
- true as an environment variable but it may also be helpful
35
- to configure './config/boot.rb' with '$stdout.sync = true'
36
- just in case that doesn't work.
37
- Would you like to configure this?
38
- choices:
39
- y: 'Yes'
40
- n: 'No'
41
- default: y
42
-
43
- insert_roro_gem_into_gemfile:
44
- question: |
45
- Many developers believe it's good idea to secure sensitive
46
- environment files and variables. You can use RoRo to
47
- generate secret keys known only to you for use in any
48
- environment, and then use them to encrypt and decrypt
49
- these files. Would you like to add RoRo to your Gemfile?
50
- choices:
51
- y: 'Yes'
52
- n: 'No'
53
- default: n
54
-
55
- gitignore_sensitive_files:
56
- question: |
57
- If you plan to use the environment files RoRo generates for
58
- your own environment variables, it's a good idea to keep
59
- these files out of source control. Would you like RoRo to
60
- modify your .gitignore file to accomplish this for you ?
61
- choices:
62
- y: 'Yes'
63
- n: 'No'
64
- default: y
65
-
66
- insert_hfci_gem_into_gemfile:
67
- question: |
68
- Jim Weirich passed too soon and remains missed. In addition
69
- to Rake, Jim wrote a beautiful gem called 'Given' that makes
70
- Rspec and Minitest less ugly and thus your tests more easy to
71
- write. Would you like to install a gem called
72
- handsome_fencer-test that allows you to try it out?
73
- choices:
74
- y: 'Yes'
75
- n: 'No'
76
- default: n
@@ -1,5 +0,0 @@
1
- greenfield_actions:
2
- - |
3
- src = 'roro'
4
- dest = 'roro'
5
- template src, dest, @config.env
@@ -1,5 +0,0 @@
1
- story:
2
- ci_cd: circleci
3
- env_vars:
4
- ruby_version: '2.7'
5
-
@@ -1,42 +0,0 @@
1
- stories: rails
2
-
3
- intentions:
4
-
5
- env_vars:
6
- main_app_name:
7
- developer:
8
- name: your-name
9
- email: your.email@example.com
10
- docker_email: your-docker-registry-email
11
- docker_org: your-docker-registry-org-name
12
- docker_password: your-docker-registry-password
13
- docker_token: your-docker-registry-token
14
- docker_username: your-docker-registry-user-name
15
-
16
- choices:
17
-
18
- generate_config_story:
19
- question: |
20
- Would you like to create a Roro Config file to help with debugging,
21
- sharing your desired story, or both?
22
- choices:
23
- y: 'Yes'
24
- n: 'No'
25
- default: y
26
-
27
- backup_existing_files:
28
- question: |
29
- RoRo will be generating a number of files, some of which will
30
- replace existing ones. Would you like to back them up?
31
- choices:
32
- y: 'Yes'
33
- n: 'No'
34
- default: n
35
-
36
- copy_dockerignore:
37
- question: |
38
- Would you like to create a .dockerignore file?
39
- choices:
40
- y: 'Yes'
41
- n: 'No'
42
- default: y
@@ -1,11 +0,0 @@
1
- <%= yaml_from_template("base/.circleci/_version.yml") %>
2
- <%= yaml_from_template("base/.circleci/_defaults.yml") %>
3
- <%= yaml_from_template("base/.circleci/_major_only.yml") %>
4
- <%= yaml_from_template("base/.circleci/_executors.yml") %>
5
- <%= yaml_from_template("base/.circleci/_commands.yml") %>
6
-
7
- <%= yaml_from_template("rails/.circleci/jobs/_build.yml") %>
8
- <%= yaml_from_template("rails/.circleci/jobs/_test.yml") %>
9
- <%= yaml_from_template("rails/.circleci/jobs/_push.yml") %>
10
- <%= yaml_from_template("base/.circleci/_workflow.yml") %>
11
- <%= yaml_from_template("rails/.circleci/workflows/_build_test_push.yml") %>
@@ -1,14 +0,0 @@
1
- jobs:
2
- build:
3
- <<: *defaults
4
- steps:
5
- - checkout
6
- - run: gem install roro
7
- - run: roro generate::exposed ci
8
- - run: |
9
- mkdir -p workspace
10
- cp -r roro workspace/
11
- - persist_to_workspace:
12
- root: workspace
13
- paths:
14
- - roro
@@ -1,11 +0,0 @@
1
- push:
2
- <<: *defaults
3
- steps:
4
- - checkout
5
- - attach-roro
6
- - run: docker-compose build
7
- - run: docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
8
- - tag-and-push:
9
- deploy_tag: ${DEPLOY_TAG}
10
- - tag-and-push:
11
- deploy_tag: 'latest'
@@ -1,12 +0,0 @@
1
- test:
2
- <<: *defaults
3
- steps:
4
- - checkout
5
- - attach-roro
6
- - run: docker-compose build
7
- - run: docker-compose up -d
8
- - run: docker-compose run backend bundle
9
- - run: docker-compose run backend yarn
10
- - run: docker-compose run backend bin/rails db:create
11
- - run: docker-compose run backend bin/rails db:migrate
12
- - run: docker-compose run backend bin/rails test
@@ -1,3 +0,0 @@
1
- mkdir ~/.gem
2
- echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3
- chmod 0600 /home/circleci/.gem/credentials
@@ -1,12 +0,0 @@
1
- build-test-push:
2
- jobs:
3
- - build:
4
- <<: *major_only
5
- - test:
6
- <<: *major_only
7
- requires:
8
- - build
9
- - push:
10
- <<: *major_only
11
- requires:
12
- - build
@@ -1,51 +0,0 @@
1
- FROM ruby:<%= config[:ruby_version] %>-alpine AS builder
2
-
3
- LABEL maintainer="<%= config[:docker_email] %> using RoRo"
4
-
5
- # Add basic packages
6
- RUN apk add --no-cache \
7
- build-base \
8
- postgresql-dev \
9
- git \
10
- nodejs \
11
- yarn \
12
- tzdata \
13
- file
14
-
15
- ## Set APP_HOME and BUNDLE_PATH as using ENV instructions:
16
- ENV APP_HOME /usr/src/app/
17
- ENV BUNDLE_PATH /gems
18
-
19
- ## Create both as directories to make sure they exist:
20
- RUN mkdir -p ${APP_HOME}
21
- RUN mkdir ${BUNDLE_PATH}
22
-
23
- ## Tell Docker to create volumes for our workspace and gems
24
- ## so other containers can access them.
25
-
26
- RUN gem install bundler:2.1.4
27
-
28
- WORKDIR ${APP_HOME}
29
-
30
- ## Create a Gemfile with just the Rails gem inside:
31
- RUN echo -e "source 'https://rubygems.org'\ngem 'rails', '6.1.3.1'" > Gemfile
32
-
33
- ## Bundle to install rails:
34
- RUN bundle install
35
-
36
- ## Use Rails to generate a new app. We'll configure it later.
37
- RUN bundle exec rails new . \
38
- --database=postgresql \
39
- --skip-bundle \
40
- --skip-webpack-install
41
- RUN bundle --jobs 4
42
- RUN bundle exec rails webpacker:install
43
- RUN bundle exec rails yarn:install
44
- ## Tell docker not to create a layer:
45
- FROM scratch AS export-stage
46
-
47
- ## Copy the generated files onto the host. Note that because we are in a
48
- ## new container, we don't have access to the previous ${APP_HOME}
49
- ## variable and so we must hard code it as our source:
50
- COPY --from=builder /usr/src/app/ .
51
-
@@ -1,19 +0,0 @@
1
- default: &default
2
- adapter: mysql2
3
- encoding: utf8
4
- pool: <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
5
- host: <%= ENV.fetch('DATABASE_HOST') %>
6
- username: <%= ENV.fetch('MYSQL_USERNAME') %>
7
- password: <%= ENV.fetch('MYSQL_PASSWORD') %>
8
- database: <%= ENV.fetch('MYSQL_DATABASE') %>
9
- port: <%= ENV.fetch('MYSQL_DATABASE_PORT') %>
10
- socket: /var/run/mysqld/mysqlx.sock
11
-
12
- development:
13
- <<: *default
14
-
15
- test:
16
- <<: *default
17
-
18
- production:
19
- <<: *default
@@ -1,10 +0,0 @@
1
- database:
2
- image: mysql:5.7
3
- env_file:
4
- - roro/containers/database/${RORO_ENV:-development}.smart.env
5
- - roro/containers/backend/${RORO_ENV:-development}.smart.env
6
- volumes:
7
- - db_data:/var/lib/mysql
8
- restart: always
9
- ports:
10
- - '3307:3306'
@@ -1,7 +0,0 @@
1
- database:
2
- image: postgres
3
- env_file:
4
- - roro/containers/database/${RORO_ENV:-development}.smart.env
5
- - roro/containers/backend/${RORO_ENV:-development}.smart.env
6
- volumes:
7
- - db_data:/var/lib/postgresql/data
@@ -1,59 +0,0 @@
1
- version: '3.2'
2
-
3
- services:
4
-
5
- app:
6
- build:
7
- context: .
8
- dockerfile: roro/containers/app/Dockerfile
9
- depends_on:
10
- - database
11
- - redis
12
-
13
- ports:
14
- - "3000:3000"
15
- - "4000:4000"
16
- volumes:
17
- - .:/usr/src/app
18
- - gem_cache:/gems
19
- env_file:
20
- - roro/containers/app/${RORO_ENV:-development}.env
21
- - roro/containers/database/${RORO_ENV:-development}.env
22
- environment:
23
- - WEBPACKER_DEV_SERVER_HOST=webpack_dev_server
24
- command: ["bin/rails", "s", "-b", "0.0.0.0"]
25
-
26
- webpack_dev_server:
27
- build:
28
- context: .
29
- dockerfile: roro/containers/app/Dockerfile
30
-
31
-
32
- command: ./bin/webpack-dev-server
33
- ports:
34
- - 3035:3035
35
- volumes:
36
- - .:/usr/src/app
37
- - gem_cache:/gems
38
- env_file:
39
- - roro/containers/app/${RORO_ENV:-development}.env
40
- - roro/containers/database/${RORO_ENV:-development}.env
41
- environment:
42
- - WEBPACKER_DEV_SERVER_HOST=0.0.0.0
43
-
44
- redis:
45
- image: redis
46
-
47
- <%= yaml_from_template("rails/database/with_#{config[:database_vendor]}/_service.yml") %>
48
-
49
- system_tests:
50
- image: selenium/standalone-chrome-debug
51
- logging:
52
- driver: none
53
- ports:
54
- - "35729:35729"
55
- - "5900:5900"
56
-
57
- volumes:
58
- db_data:
59
- gem_cache:
@@ -1,6 +0,0 @@
1
- MYSQL_DATABASE=<%= config[:main_app_name] + "_" + config[:rails_env] + "_db" %>
2
- MYSQL_DATABASE_PORT=<%= config[:mysql_database_port] %>
3
- MYSQL_ROOT_PASSWORD=<%= config[:mysql_root_password] %>
4
- MYSQL_PASSWORD=<%= config[:mysql_password] %>
5
- MYSQL_USERNAME=<%= config[:mysql_username] %>
6
- RAILS_ENV=<%= config[:rails_env] %>
@@ -1,4 +0,0 @@
1
- POSTGRES_USERNAME=<%= config[:postgres_username] %>
2
- POSTGRES_PASSWORD=<%= config[:postgres_password] %>
3
- POSTGRES_DATABASE=<%= config[:main_app_name] + "_" + config[:rails_env] + "_db" %>
4
- RAILS_ENV=<%= config[:rails_env] %>
@@ -1,2 +0,0 @@
1
- DATABASE_HOST=database
2
- RAILS_LOG_TO_STDOUT=true
@@ -1,114 +0,0 @@
1
- # require 'dotenv/tasks'
2
-
3
- # Rake.application.options.trace = false
4
-
5
- # Dotenv.load('.env.production.cluster')
6
-
7
- namespace :kube do
8
-
9
- desc 'Rollout a new deployment'
10
- task :deploy do
11
- apply "kube/deployment.yml"
12
- puts `kubectl rollout restart deployment <%= config[:main_app_name] %>-deployment`
13
- end
14
-
15
- desc 'Print useful information aout our Kubernete setup'
16
- task :list do
17
- kubectl 'get pods --all-namespaces'
18
- kubectl 'get services --all-namespaces'
19
- kubectl 'get ingresses --all-namespaces'
20
- end
21
-
22
- desc 'Apply our Kubernete configurations to our cluster'
23
- task :setup do
24
-
25
- kubectl "apply -f #{Rails.root}/roro/kube/service.yml"
26
-
27
- # # Add our Docker Hub credentials to our cluster
28
- # kubectl(%Q{create secret docker-registry regcred \
29
- # --docker-server=#{ENV['DOCKER_REGISTRY_SERVER']} \
30
- # --docker-username=#{ENV['DOCKER_USERNAME']} \
31
- # --docker-password=#{ENV['DOCKER_PASSWORD']} \
32
- # --docker-email=#{ENV['DOCKER_EMAIL']} || true
33
- # })
34
-
35
- # # Install our Service Component
36
- # apply "kube/service.yml"
37
-
38
- # # Install our Rails app Deployment
39
- # apply "kube/deployment.yml"
40
-
41
- # # Installs Nginx Ingress controller
42
- # apply "https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml"
43
-
44
- # # Add a load balancer
45
- # apply "https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud-generic.yaml"
46
-
47
- # # Install our Ingress that will link our load balancer to our service(s)
48
- # apply "kube/ingress.yml"
49
-
50
- # # Add the Digital Ocean token to the cluster
51
- # apply "kube/secret-digital-ocean.yml"
52
-
53
- # # Install cert-manager
54
- # kubectl 'create namespace cert-manager'
55
- # apply "https://github.com/jetstack/cert-manager/releases/download/v0.14.0/cert-manager.yaml"
56
-
57
- # # Add our certificate
58
- # apply "kube/certificate.yml"
59
-
60
- # # Add the certificate issuer
61
- # apply "kube/cluster-issuer.yml"
62
- end
63
-
64
- desc "Set the number of instances to run in the cluster"
65
- task :scale, [:count] => [:environment] do |t, args|
66
- kubectl "scale deployments/myapp-deployment --replicas #{args[:count]}"
67
- end
68
-
69
- desc "Run database migrates the database"
70
- task :migrate do
71
- apply "kube/job-migrate.yml"
72
- end
73
-
74
- desc "Open a session to a pod on the cluster"
75
- task :shell do
76
- exec "kubectl exec -it #{find_first_pod_name} bash"
77
- end
78
-
79
- desc "Tail the log files on production"
80
- task :logs do
81
- exec 'kubectl logs -f -l app=myapp --all-containers'
82
- end
83
-
84
- desc "Runs a command in production"
85
- task :run, [:command] => [:environment] do |t, args|
86
- kubectl "exec -it #{find_first_pod_name} echo $(#{args[:command]})"
87
- end
88
-
89
- desc "Run rails console in production"
90
- task :console do
91
- system "kubectl exec -it #{find_first_pod_name} bundle exec rails console"
92
- end
93
-
94
- desc "Print the environment variables"
95
- task :config do
96
- system "kubectl exec -it #{find_first_pod_name} printenv | sort"
97
- end
98
-
99
- def apply(configuration)
100
- if File.file?(configuration)
101
- puts %x{envsubst < #{configuration} | kubectl apply -f -}
102
- else
103
- kubectl "apply -f #{configuration}"
104
- end
105
- end
106
-
107
- def kubectl(command)
108
- print %x{ kubectl #{command} }
109
- end
110
-
111
- def find_first_pod_name
112
- `kubectl get pods|grep myapp-deployment|awk '{print $1}'|head -n 1`.to_s.strip
113
- end
114
- end
@@ -1,34 +0,0 @@
1
- ## The FROM instruction below builds our first layer using an official image:
2
- FROM ruby:<%= config[:ruby_version] %>-alpine
3
-
4
- LABEL maintainer="<%= config[:docker_email] %> using RoRo"
5
-
6
- # Add basic packages
7
- RUN apk add --no-cache \
8
- build-base \
9
- postgresql-dev \
10
- nodejs \
11
- yarn \
12
- tzdata \
13
- file
14
-
15
- ## Set APP_HOME and BUNDLE_PATH as using ENV instructions:
16
- ENV APP_HOME /usr/src/app/
17
- ENV BUNDLE_PATH /gems
18
-
19
- ## Create both as directories to make sure they exist:
20
- RUN mkdir -p ${APP_HOME}
21
- RUN mkdir ${BUNDLE_PATH}
22
-
23
- ## Tell Docker to create volumes for our workspace and gems
24
- ## so other containers can access them.
25
-
26
- RUN gem install bundler:2.1.4
27
-
28
- WORKDIR ${APP_HOME}
29
-
30
- COPY Gemfile* ./
31
-
32
- RUN bundle --jobs 4
33
- COPY . ${APP_HOME}
34
-
@@ -1,8 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
-
4
- # Remove a potentially pre-existing server.pid for Rails.
5
- rm -f /usr/src/app/tmp/pids/server.pid
6
-
7
- # Then exec the container's main process (what's set as CMD in the Dockerfile).
8
- exec "$@"
@@ -1,50 +0,0 @@
1
- # ./kube/deployment.yml
2
-
3
- apiVersion: apps/v1
4
- kind: Deployment
5
- metadata:
6
- name: <%= config[:main_app_name] %>-app-deployment
7
- labels:
8
- app: <%= config[:main_app_name] %>-app
9
- tier: app
10
- spec:
11
- replicas: 2
12
- minReadySeconds: 5
13
- strategy:
14
- type: RollingUpdate
15
- rollingUpdate:
16
- maxSurge: 1
17
- maxUnavailable: 1
18
- selector:
19
- matchLabels:
20
- app: <%= config[:main_app_name] %>-app
21
- tier: app
22
- template:
23
- metadata:
24
- labels:
25
- app: rubytags
26
- tier: app
27
- spec:
28
- imagePullSecrets:
29
- - name: docker-registry
30
- containers:
31
- - name: <%= config[:main_app_name] %>-app
32
- image: <%= config[:docker_org] %>/<%= config[:main_app_name] %>-app
33
- imagePullPolicy: Always
34
- ports:
35
- - containerPort: 3000
36
- env:
37
- - name: RAILS_LOG_TO_STDOUT
38
- value: 'true'
39
- - name: SECRET_KEY_BASE
40
- value: '$SECRET_KEY_BASE'
41
- - name: RAILS_ENV
42
- value: '$RAILS_ENV'
43
- - name: DATABASE_USERNAME
44
- value: '$DATABASE_USERNAME'
45
- - name: DATABASE_PASSWORD
46
- value: '$DATABASE_PASSWORD'
47
- - name: DATABASE_HOST
48
- value: '$DATABASE_HOST'
49
- - name: DATABASE_PORT
50
- value: '$DATABASE_PORT'
@@ -1,47 +0,0 @@
1
- ---
2
- apiVersion: apps/v1beta2
3
- kind: Deployment
4
- metadata:
5
- name: postgres
6
- labels:
7
- app: rails-kube-backend
8
- spec:
9
- replicas: 1
10
- selector:
11
- matchLabels:
12
- app: rails-kube-backend
13
- tier: database
14
- template:
15
- metadata:
16
- name: postgres
17
- labels:
18
- app: rails-kube-backend
19
- tier: database
20
- spec:
21
- volumes:
22
- - name: postgres-pv
23
- persistentVolumeClaim:
24
- claimName: postgres-pvc
25
- containers:
26
- - name: postgres
27
- image: postgres:9.6-alpine
28
- env:
29
- - name: POSTGRES_USER
30
- valueFrom:
31
- secretKeyRef:
32
- name: "db-user"
33
- key: "username"
34
- - name: POSTGRES_PASSWORD
35
- valueFrom:
36
- secretKeyRef:
37
- name: "db-user-pass"
38
- key: "password"
39
- - name: POSTGRES_DB
40
- value: "rails-kube-demo_production"
41
- - name: PGDATA
42
- value: "/var/lib/postgresql/data/pgdata"
43
- ports:
44
- - containerPort: 5432
45
- volumeMounts:
46
- - mountPath: "/var/lib/postgresql/data"
47
- name: postgres-pv