roro 0.3.28 → 0.3.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.reference.yml +139 -0
- data/.circleci/config.yml +154 -119
- data/.circleci/src/@config.yml +2 -0
- data/.circleci/src/commands/restore-and-save-cache.yml +11 -0
- data/.circleci/src/commands/run-test-case.yml +11 -0
- data/.circleci/src/executors/linux.yml +2 -0
- data/.circleci/src/executors/ruby.yml +7 -0
- data/.circleci/src/jobs/build.yml +5 -0
- data/.circleci/src/jobs/release.yml +10 -0
- data/.circleci/src/jobs/test-adventures.yml +15 -0
- data/.circleci/src/jobs/test-rubies.yml +14 -0
- data/.circleci/src/workflows/adventures.yml +49 -0
- data/.circleci/src/workflows/adventures.yml.tt +11 -0
- data/.circleci/src/workflows/gem-release.yml +9 -0
- data/.circleci/src/workflows/rubies.yml +13 -0
- data/.circleci/src/workflows/rubies.yml.tt +14 -0
- data/.harvest/cases.yml +39 -0
- data/.harvest/structure_choices.yml +73 -0
- data/.harvest/structure_human.yml +73 -0
- data/.harvest.yml +40 -0
- data/.idea/.gitignore +8 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/markdown.xml +9 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/roro.iml +419 -0
- data/.idea/runConfigurations/_template__of_Test__Unit_Shoulda_Minitest.xml +41 -0
- data/.idea/runConfigurations/ci_prepare.xml +36 -0
- data/.idea/runConfigurations/ci_test_adventures.xml +39 -0
- data/.idea/runConfigurations/ci_test_rubies.xml +36 -0
- data/.idea/runConfigurations/generate_annotations.xml +17 -0
- data/.idea/runConfigurations/test_adventures.xml +40 -0
- data/.idea/runConfigurations/test_all.xml +40 -0
- data/.idea/runConfigurations/test_tasks.xml +40 -0
- data/.idea/runConfigurations/test_test.xml +40 -0
- data/.idea/vcs.xml +6 -0
- data/.pryrc +2 -0
- data/CODE_OF_CONDUCT.md +16 -67
- data/Gemfile.lock +183 -0
- data/Guardfile +11 -22
- data/README.md +27 -178
- data/Rakefile +39 -7
- data/cases +1 -0
- data/docker-compose.yml +26 -6
- data/lib/roro/cli/generate/generate_adventure.rb +23 -0
- data/lib/roro/cli/generate/generate_adventure_tests.rb +22 -0
- data/lib/roro/cli/generate/generate_containers.rb +0 -5
- data/lib/roro/cli/generate/generate_environments.rb +1 -0
- data/lib/roro/cli/generate/generate_harvest.rb +42 -0
- data/lib/roro/cli/rollon.rb +0 -7
- data/lib/roro/cli.rb +25 -13
- data/lib/roro/common/utilities.rb +44 -13
- data/lib/roro/configurators/adventure_chooser.rb +5 -2
- data/lib/roro/configurators/adventure_picker.rb +8 -7
- data/lib/roro/configurators/adventure_writer.rb +198 -4
- data/lib/roro/configurators/catalog_builder.rb +1 -1
- data/lib/roro/configurators/configurator.rb +71 -8
- data/lib/roro/configurators/dependency_satisfier.rb +135 -0
- data/lib/roro/configurators/question_asker.rb +3 -3
- data/lib/roro/configurators/question_builder.rb +6 -6
- data/lib/roro/configurators/reflector.rb +225 -0
- data/lib/roro/configurators/structure_builder.rb +3 -0
- data/lib/roro/configurators/validator.rb +3 -1
- data/lib/roro/crypto/key_writer.rb +2 -0
- data/lib/roro/dependencies/base.yml +90 -0
- data/lib/roro/stacks/docker.yml +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/alpine.yml +2 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/docker.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/git.yml +17 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/_builder.yml +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/laravel.yml +11 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/builder/Dockerfile.tt +14 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/builder/composer.json +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/default.conf +22 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/php.dockerfile.tt +43 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker/scheduler.sh +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/manifest/docker-compose.yml.tt +122 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/templates/partials/services/site.erb +16 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/_test.rb +142 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/composer.json +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/default.conf +22 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/php.dockerfile +43 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker/scheduler.sh +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/dummy/docker-compose.yml +122 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/_builder/Dockerfile +14 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/_builder/composer.json +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/laravel/Dockerfile +14 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel/test/0/layers/laravel/composer.json +7 -0
- data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/okonomi/languages/php/adventures}/wordpress/wordpress.yml +2 -2
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/php.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/_builder.yml +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/mysql.yml +26 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/_python_requirements.erb +2 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/_settings_py_databases.erb +10 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/mysql/templates/partials/services/_db.yml.erb +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/postgres.yml +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/templates/partials/_settings_py_databases.erb +10 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/databases/postgres/templates/partials/services/_db.yml.erb +9 -0
- data/lib/roro/stacks/{catalog/unstoppable/developer_styles/sashimi/stories → unstoppable_developer_styles/okonomi/languages/python/frameworks}/django/django.yml +12 -13
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/builder/Dockerfile.tt +20 -0
- 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
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/partials/_volumes.erb +4 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/templates/partials/services/_web.yml.erb +12 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/0/_test.rb +97 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/0/dummy/requirements.txt +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/2/_test.rb +91 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/django/test/2/dummy/requirements.txt +4 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/_builder.yml +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/flask.yml +8 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/builder/Dockerfile.tt +16 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/partials/services/_redis.yml.erb +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/templates/partials/services/_web.yml.erb +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/_test.rb +74 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/dummy/Dockerfile +11 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/frameworks/flask/test/0/layers/flask/Dockerfile +11 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/python.yml +8 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/templates/manifest/docker-compose.yml.tt +9 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/versions/python_3_10_1/python_3_10_1.yml +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/python/versions/python_3_9_9/python_3_9_9.yml +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/_builder.yml +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/postgres.yml +26 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/templates/partials/packages/_postgres.erb +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/templates/partials/services/_db.erb +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/versions/postgres_13_5/postgres_13_5.yml +4 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/postgres/versions/postgres_14_1/postgres_14_1.yml +4 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/sqlite.yml +8 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/templates/partials/packages/_sqlite.erb +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases/sqlite/templates/partials/services/_db.erb +9 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/databases.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/rails.yml +14 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/resque/resque.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/schedulers/sidekiq/sidekiq.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/builder/Dockerfile.tt +25 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/Dockerfile.tt +20 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/docker-compose.yml.tt +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/manifest/entrypoints/docker-entrypoint.sh +9 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/packages/_base.erb +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/services/_app.erb +17 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/shared/_env_file.erb +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/templates/partials/volumes/_base.erb +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/rails_6_1.yml +12 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/templates/partials/_packages_adventure.erb +8 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/_test.rb +71 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy/Gemfile +56 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/dummy/docker-compose.yml +32 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/layers/_builder/Dockerfile +41 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/0/layers/rails/Dockerfile +37 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/_test.rb +94 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/Dockerfile +37 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/Gemfile +56 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_6_1/test/2/dummy/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/rails_7_0.yml +10 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/_test.rb +90 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/dummy/config/database.yml +25 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/idiot/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/0/idiot/docker-compose.yml +33 -0
- 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
- 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
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/_test.rb +61 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/dummy/config/database.yml +25 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/idiot/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/1/idiot/docker-compose.yml +33 -0
- 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
- 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
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/_test.rb +76 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/config/database.yml +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/dummy/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/config/database.yml +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/idiot/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/_builder/Dockerfile +34 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/rails/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/2/layers/rails/Gemfile +72 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/_test.rb +81 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/config/database.yml +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/layers/_builder/Dockerfile +34 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/_test.rb +80 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/config/database.yml +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/dummy/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/_builder/Dockerfile +34 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/rails/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/4/layers/rails/Gemfile +72 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/_test.rb +82 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/Gemfile +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/config/database.yml +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/dummy/docker-compose.yml +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/_builder/Dockerfile +34 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/rails/Dockerfile +29 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/5/layers/rails/Gemfile +72 -0
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/ruby_gem/ruby_gem.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/frameworks/ruby_gem/templates/stage_one/.gitignore +56 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/ruby.yml +10 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/versions/ruby_2_7/ruby_2_7.yml +4 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/ruby/versions/ruby_3_0/ruby_3_0.yml +6 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/okonomi.yml +8 -0
- data/lib/roro/stacks/unstoppable_developer_styles/okonomi/templates/manifest/.dockerignore.tt +32 -0
- data/lib/roro/stacks/unstoppable_developer_styles/omakase/frameworks/wordpress/test/0/_test.rb +12 -0
- data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/wordpress/wordpress.yml +3 -3
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/circleci.yml +31 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/partials/_ignores.erb +9 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/.circleci/config.yml.tt +45 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/Dockerfile +3 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/index.html +7 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s/app-deployment.yml.tt +23 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s/app-service.yml.tt +15 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-role-binding.yml +13 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-role.yml +9 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/k8s-general/cicd-service-account.yml +5 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/templates/stage_one/scripts/ci-deploy.sh.tt +23 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/ci_styles/circleci/test/0/_test.rb +57 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/devops/devops.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/kubernetes.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/ingress.yml +2 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/nginx.yml +1 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/cert_manager.yml +32 -0
- 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
- 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
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/echo1.yaml +32 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/templates/stage_one/echo2.yaml +32 -0
- 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
- 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
- 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
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/kubernetes/stories/ingress/stories/nginx/stories/cert_manager/test/0/_test.rb +15 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/rails.yml +51 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/docker-compose.yml.tt +41 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/app-deployment.yaml.tt +72 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/app-service.yaml.tt +20 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/database-deployment.yaml.tt +59 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/database-service.yaml.tt +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/db-data-persistentvolumeclaim.yaml.tt +14 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/env-configmap.yaml.tt +12 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/redis-deployment.yaml.tt +33 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/redis-service.yaml.tt +19 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/secret.yaml.tt +11 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s/sidekiq-deployment.yaml.tt +56 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/frameworks/rails/test/0/_test.rb +15 -0
- data/lib/roro/stacks/unstoppable_developer_styles/sashimi/sashimi.yml +1 -0
- data/lib/roro/templates/adventure/%adventure_name%.yml.tt +5 -0
- data/lib/roro/templates/adventure/test/0/_test.rb.tt +8 -0
- data/lib/roro/templates/adventure_test/_test.rb.tt +31 -0
- data/lib/roro/version.rb +1 -1
- data/lib/roro.rb +13 -12
- data/mise/containers/ruby_gem/Dockerfile +25 -12
- data/mise/containers/ruby_gem/Dockerfile-ubuntu +13 -0
- data/mise/logs/cases.yml +235 -0
- data/mise/logs/getsome.yml +204 -0
- data/mise/logs/itineraries.yml +235 -0
- data/mise/logs/reflector.yml +204 -0
- data/mise/scripts/ci/jobs/run.sh +6 -0
- data/mise/scripts/rollon/build_app.sh +7 -0
- data/mise/scripts/rollon/down.sh +9 -0
- data/mise/scripts/rollon/git_commit.sh +8 -0
- data/mise/scripts/rollon/image_build.sh +7 -0
- data/mise/scripts/rollon/image_push.sh +8 -0
- data/mise/scripts/rollon/prune.sh +3 -0
- data/mise/scripts/rollon/reset_sandbox.sh +13 -0
- data/mise/scripts/rollon/run.sh +16 -0
- data/mise/scripts/rollon-pull.sh +37 -0
- data/mise/scripts/rollon.sh +26 -0
- data/rakelib/ci/prepare/config/pack.rake +15 -0
- data/rakelib/ci/prepare/config/process.rake +12 -0
- data/rakelib/ci/prepare/config/validate.rake +13 -0
- data/rakelib/ci/prepare/config.rake +8 -0
- data/rakelib/ci/prepare/workflows/adventures.rake +70 -0
- data/rakelib/ci/prepare/workflows/rubies.rake +15 -0
- data/rakelib/ci/prepare.rake +11 -0
- data/rakelib/ci/test/adventures.rake +18 -0
- data/rakelib/ci/test/rubies.rake +12 -0
- data/rakelib/ci/update.rake +6 -0
- data/rakelib/club/harvest.rake +9 -0
- data/rakelib/docker/image/build.rake +8 -0
- data/rakelib/test/annotate.rake +16 -0
- data/roro.gemspec +21 -19
- metadata +408 -278
- data/.circleci/setup-gem-credentials.sh +0 -3
- data/.ruby-version +0 -1
- data/.travis.yml +0 -7
- data/lib/roro/cli/roll_your_own.rb +0 -12
- data/lib/roro/configurator.rb +0 -15
- data/lib/roro/configurators/adventure_case_builder.rb +0 -65
- data/lib/roro/configurators/utilities.rb +0 -188
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/fatsufodo.yml +0 -1
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/django.yml +0 -39
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/Dockerfile.tt +0 -7
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/docker-compose.yml.tt +0 -20
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/templates/stage_one/requirements.txt.tt +0 -2
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/django/test/stage_one/stage_one_test.rb +0 -37
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/expressjs.yml +0 -8
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/templates/stage_one/Dockerfile.tt +0 -14
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/expressjs/templates/stage_one/docker-compose.yml.tt +0 -21
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/flask.yml +0 -14
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/templates/stage_one/requirements.txt +0 -2
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/flask/test/stage_one/stage_test.rb +0 -37
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/rails/rails.yml +0 -12
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/fatsufodo/stories/rails/templates/stage_one/docker-compose.yml.tt +0 -9
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/okonomi.yml +0 -1
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/roll_your_own.yml +0 -23
- 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
- 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
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/okonomi/stories/roll_your_own/test/stage_one/stage_one_test.rb +0 -63
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/Dockerfile.tt +0 -16
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/Gemfile.tt +0 -2
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_one/entrypoint.sh +0 -8
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/rails/templates/stage_two/database.yml.tt +0 -16
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/omakase/stories/wordpress/test/stage_one/stage_test.rb +0 -40
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/sashimi.yml +0 -1
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_one/docker-compose.yml.tt +0 -20
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_one/requirements.txt.tt +0 -2
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/templates/stage_two/settings.py +0 -130
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/django/test/stage_one/stage_one_test.rb +0 -37
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/expressjs.yml +0 -7
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/templates/stage_one/Dockerfile.tt +0 -14
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/expressjs/templates/stage_one/docker-compose.yml.tt +0 -21
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/rails.yml +0 -12
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/Dockerfile.tt +0 -16
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/Gemfile.tt +0 -2
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/docker-compose.yml.tt +0 -17
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_one/entrypoint.sh +0 -8
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/rails/templates/stage_two/database.yml.tt +0 -16
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/__MACOSX/scripts/._.DS_Store +0 -0
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/.DS_Store +0 -0
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/bundler.sh +0 -22
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/git.sh +0 -21
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh +0 -38
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/utilities.sh +0 -53
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base.sh +0 -6
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/clone_idea.sh +0 -14
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/clone_repos.sh +0 -33
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/install_correct_bundler.sh +0 -21
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize/install_rubies.sh +0 -6
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/initialize.sh +0 -18
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/roro.sh +0 -15
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/source.sh +0 -28
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/bundle_all.sh +0 -12
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/git_pull_all.sh +0 -15
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/rvm_install_all.sh +0 -12
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/utility/yarn_install_all.sh +0 -10
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/wordpress/templates/stage_one/docker-compose.yml.tt +0 -31
- data/lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/wordpress/wordpress.yml +0 -16
- data/lib/roro/stacks/library/roro/docker_compose/docker-compose.yml +0 -22
- data/lib/roro/stacks/library/roro/k8s/k8s.yml +0 -15
- data/lib/roro/stacks/library/roro/plots/node/node.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/php/php.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/python/plots/django/django.yml +0 -10
- data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/Dockerfile +0 -7
- data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/docker-compose.yml +0 -20
- data/lib/roro/stacks/library/roro/plots/python/plots/django/templates/requirements.txt +0 -2
- data/lib/roro/stacks/library/roro/plots/python/plots/flask/flask.yml +0 -0
- data/lib/roro/stacks/library/roro/plots/python/python.yml +0 -1
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/databases/mysql.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/databases/postgres.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails/rails.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails_react/rails_react.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/plots/rails_vue/rails_vue.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/plots/rails/rails.yml +0 -16
- data/lib/roro/stacks/library/roro/plots/ruby/plots/ruby_gem/ruby_gem.yml +0 -22
- data/lib/roro/stacks/library/roro/plots/ruby/ruby.yml +0 -22
- data/lib/roro/stacks/library/roro/roro/roro.yml +0 -15
- data/lib/roro/stacks/stories_v1/greenfield/rails.yml +0 -9
- data/lib/roro/stacks/stories_v1/greenfield/roro.yml +0 -7
- data/lib/roro/stacks/stories_v1/greenfield.yml +0 -1
- data/lib/roro/stacks/stories_v1/rollon/rails/ci_cd/circleci.yml +0 -2
- data/lib/roro/stacks/stories_v1/rollon/rails/ci_cd.yml +0 -1
- data/lib/roro/stacks/stories_v1/rollon/rails/database/mysql.yml +0 -17
- data/lib/roro/stacks/stories_v1/rollon/rails/database/postgresql.yml +0 -15
- data/lib/roro/stacks/stories_v1/rollon/rails/database.yml +0 -9
- data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql/default.yml +0 -1
- data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql/edge.yml +0 -1
- data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes/postgresql.yml +0 -10
- data/lib/roro/stacks/stories_v1/rollon/rails/kubernetes.yml +0 -1
- data/lib/roro/stacks/stories_v1/rollon/rails.yml +0 -76
- data/lib/roro/stacks/stories_v1/rollon/roro.yml +0 -5
- data/lib/roro/stacks/stories_v1/rollon/ruby_gem.yml +0 -5
- data/lib/roro/stacks/stories_v1/rollon.yml +0 -42
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/config.yml.tt +0 -11
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_build.yml +0 -14
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_push.yml +0 -11
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/jobs/_test.yml +0 -12
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/setup-gem-credentials.sh +0 -3
- data/lib/roro/stacks/stories_v1/templates/rails/.circleci/workflows/_build_test_push.yml +0 -12
- data/lib/roro/stacks/stories_v1/templates/rails/Dockerfile.greenfield.tt +0 -51
- data/lib/roro/stacks/stories_v1/templates/rails/config/database.mysql.yml +0 -19
- data/lib/roro/stacks/stories_v1/templates/rails/database/with_mysql/_service.yml +0 -10
- data/lib/roro/stacks/stories_v1/templates/rails/database/with_postgresql/_service.yml +0 -7
- data/lib/roro/stacks/stories_v1/templates/rails/docker-compose.yml.tt +0 -59
- data/lib/roro/stacks/stories_v1/templates/rails/dotenv/database.mysql.env.tt +0 -6
- data/lib/roro/stacks/stories_v1/templates/rails/dotenv/database.pg.env.tt +0 -4
- data/lib/roro/stacks/stories_v1/templates/rails/dotenv/web.env.tt +0 -2
- data/lib/roro/stacks/stories_v1/templates/rails/kube.rake.tt +0 -114
- data/lib/roro/stacks/stories_v1/templates/rails/roro/containers/app/Dockerfile.tt +0 -34
- data/lib/roro/stacks/stories_v1/templates/rails/roro/docker-entrypoint.sh +0 -8
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/certificate.yml.tt +0 -0
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/cluster-issuer.yml.tt +0 -0
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployment.yml.tt +0 -50
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/postgres_deploy.yaml +0 -47
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/rails_deploy.yaml +0 -62
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/redis_deploy.yaml +0 -23
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/deployments/sidekiq_deploy.yaml +0 -56
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/ingress.yml.tt +0 -0
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/ingresses/ingress.yaml +0 -13
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/job-migrate.yml.tt +0 -0
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/jobs/setup.yaml +0 -42
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/secret-digital-ocean.yml.tt +0 -4
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/service.yml.tt +0 -10
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/postgres_svc.yaml +0 -13
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/rails_svc.yaml +0 -13
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/services/redis_svc.yaml +0 -13
- data/lib/roro/stacks/stories_v1/templates/rails/roro/kube/volumes/postgres_volumes.yaml +0 -25
- data/lib/roro/stacks/stories_v1/templates/roro/containers/database/env/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/roro/containers/database/scripts/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/roro/env/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/roro/keys/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/bundler.sh +0 -22
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/git.sh +0 -21
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh +0 -38
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/base/utilities.sh +0 -53
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/base.sh +0 -6
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/clone_idea.sh +0 -14
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/clone_repos.sh +0 -33
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/install_correct_bundler.sh +0 -21
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize/install_rubies.sh +0 -6
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/initialize.sh +0 -18
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/roro.sh +0 -15
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/source.sh +0 -28
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/bundle_all.sh +0 -12
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/git_pull_all.sh +0 -15
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/rvm_install_all.sh +0 -12
- data/lib/roro/stacks/stories_v1/templates/roro/scripts/utility/yarn_install_all.sh +0 -10
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/config.yml.tt +0 -16
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/jobs/_test.yml +0 -4
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/.circleci/setup-gem-credentials.sh +0 -3
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/docker-compose.yml +0 -15
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/.keep +0 -0
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/ruby_image/Dockerfile.tt +0 -16
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/containers/ruby_image/ci.env.tt +0 -1
- data/lib/roro/stacks/stories_v1/templates/ruby_gem/roro/keys/.keep +0 -0
- data/mise/containers/ruby_gem/Dockerfile-app +0 -51
- data/mise/containers/ruby_gem/Dockerfile-ruby_gem +0 -16
- /data/{.circleci → lib/roro/stacks/unstoppable_developer_styles/okonomi/languages/php/adventures/laravel}/.keep +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /data/lib/roro/stacks/{library/roro → unstoppable_developer_styles/okonomi/languages/ruby/frameworks/rails/versions/rails_7_0/test/3/dummy}/.keep +0 -0
- /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
- /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
- /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
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/rails/rails.yml +0 -0
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Dockerfile.tt +0 -0
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/omakase/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Gemfile.lock.tt +0 -0
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/Gemfile.tt +0 -0
- /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
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_one/entrypoint.sh +0 -0
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles/fatsufodo/stories → unstoppable_developer_styles/omakase/frameworks}/rails/templates/stage_two/database.yml.tt +0 -0
- /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
- /data/lib/roro/stacks/{library/roro/plots/python/plots/django → unstoppable_developer_styles/omakase/frameworks/wordpress/templates/manifest}/.keep +0 -0
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /data/lib/roro/stacks/{library/roro/plots/ruby/plots/rails/databases → unstoppable_developer_styles/omakase/frameworks/wordpress/test}/.keep +0 -0
- /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
- /data/lib/roro/stacks/{catalog/unstoppable/developer_styles → unstoppable_developer_styles}/omakase/omakase.yml +0 -0
- /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
- /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
- /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
- /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
- /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
- /data/lib/roro/stacks/{stories_v1/templates/rails → unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one}/.keep +0 -0
- /data/lib/roro/stacks/{stories_v1/templates/rails/database/with_postgresql → unstoppable_developer_styles/sashimi/frameworks/rails/templates/stage_one/k8s}/.keep +0 -0
- /data/lib/roro/stacks/{stories_v1/templates/rails/dotenv → unstoppable_developer_styles/sashimi/frameworks/rails/test}/.keep +0 -0
- /data/lib/roro/stacks/{stories_v1/templates/rails/roro → unstoppable_developer_styles/sashimi/frameworks/rails/test/0/dummy}/.keep +0 -0
- /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers → templates/adventure}/.keep +0 -0
- /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers/app → templates/adventure/templates/manifest}/.keep +0 -0
- /data/lib/roro/{stacks/stories_v1/templates/rails/roro/containers/frontend → templates/adventure/test/0/dummy}/.keep +0 -0
- /data/lib/roro/{stacks/stories_v1/templates/rails/roro/keys → templates/adventure_test/dummy}/.keep +0 -0
- /data/{lib/roro/stacks/stories_v1/templates/rails/roro/kube → mise/env}/.keep +0 -0
- /data/{lib/roro/stacks/stories_v1/templates/roro/containers → mise/scripts}/.keep +0 -0
@@ -3,6 +3,7 @@
|
|
3
3
|
module Roro
|
4
4
|
module Configurators
|
5
5
|
class AdventurePicker < Thor
|
6
|
+
|
6
7
|
include Utilities
|
7
8
|
|
8
9
|
attr_reader :inflection
|
@@ -11,7 +12,7 @@ module Roro
|
|
11
12
|
def choose_adventure(stack)
|
12
13
|
build_inflection(stack)
|
13
14
|
say("Rolling story on from stack: #{@stack}\n\n")
|
14
|
-
say(@
|
15
|
+
say(@prompt)
|
15
16
|
choice = ask(@inflection)
|
16
17
|
story_name = story_from(choice.to_s)
|
17
18
|
"#{stack}/#{story_name}"
|
@@ -22,13 +23,13 @@ module Roro
|
|
22
23
|
prompt = inflection_prompt
|
23
24
|
options = inflection_options
|
24
25
|
prompt_options = humanize(options)
|
25
|
-
@
|
26
|
+
@prompt = "#{prompt}\n"
|
26
27
|
@inflection = ["#{prompt_options}\n\n", "Choices: [#{set_color(options.keys.map { |k| k.to_i }.join(' '), :blue)}]"]
|
27
28
|
end
|
28
29
|
|
29
30
|
def inflection_prompt
|
30
31
|
prompt = 'Please choose from these'
|
31
|
-
collection =
|
32
|
+
collection = stack_name(@stack).gsub('_', ' ') + ":\n"
|
32
33
|
[prompt, stack_parent(@stack), collection].join(' ')
|
33
34
|
end
|
34
35
|
|
@@ -36,10 +37,10 @@ module Roro
|
|
36
37
|
stack ||= @stack
|
37
38
|
Hash.new.tap do |h|
|
38
39
|
children(stack)
|
39
|
-
.map { |f|
|
40
|
+
.map { |f| stack_name(f) }
|
40
41
|
.sort
|
41
42
|
.each_with_index do |c, i|
|
42
|
-
h[(i + 1).to_s] =
|
43
|
+
h[(i + 1).to_s] = stack_name(c)
|
43
44
|
end
|
44
45
|
end
|
45
46
|
end
|
@@ -54,9 +55,9 @@ module Roro
|
|
54
55
|
end
|
55
56
|
|
56
57
|
def get_story_preface(story)
|
57
|
-
storyfile = "#{story}/#{
|
58
|
+
storyfile = "#{story}/#{stack_name(story)}.yml"
|
58
59
|
if stack_is_storyfile?(storyfile)
|
59
|
-
read_yaml("#{story}/#{
|
60
|
+
read_yaml("#{story}/#{stack_name(story)}.yml")[:preface]
|
60
61
|
else
|
61
62
|
nil
|
62
63
|
end
|
@@ -11,16 +11,206 @@ module Roro
|
|
11
11
|
no_commands do
|
12
12
|
|
13
13
|
def write(buildenv, storyfile)
|
14
|
-
@
|
14
|
+
@buildenv = buildenv
|
15
|
+
@storyfile = storyfile
|
16
|
+
@env = buildenv[:env]
|
17
|
+
@env[:force] = true
|
18
|
+
@env[:exit_on_failure] = true
|
15
19
|
actions = read_yaml(storyfile)[:actions]
|
16
20
|
unless actions.nil?
|
17
|
-
self.source_paths << "#{stack_parent_path(storyfile)}/templates"
|
18
21
|
actions.each do |a|
|
19
|
-
|
22
|
+
self.source_paths.shift
|
23
|
+
self.source_paths << "#{stack_parent_path(storyfile)}/templates"
|
24
|
+
begin
|
25
|
+
eval a
|
26
|
+
if ENV['RORO_DOCUMENT_LAYERS'].eql?('true')
|
27
|
+
save_layer(storyfile)
|
28
|
+
end
|
29
|
+
rescue
|
30
|
+
raise Error, msg: "#{a} #{storyfile}"
|
31
|
+
end
|
20
32
|
end
|
21
33
|
end
|
22
34
|
end
|
23
35
|
|
36
|
+
def copy_manifest(dir = nil)
|
37
|
+
paths = manifest_paths
|
38
|
+
paths.each do |path|
|
39
|
+
self.source_paths.shift
|
40
|
+
self.source_paths << path
|
41
|
+
begin
|
42
|
+
|
43
|
+
directory '', '.', @env
|
44
|
+
rescue
|
45
|
+
Roro::Error
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# def polish
|
51
|
+
# if File.exist?('polisher')
|
52
|
+
# FileUtils.cp_r('polisher/.', '.')
|
53
|
+
# FileUtils.rm_rf('polisher')
|
54
|
+
# end
|
55
|
+
# end
|
56
|
+
|
57
|
+
def save_layer(stack)
|
58
|
+
stacks = Roro::CLI.stacks
|
59
|
+
reflector = Reflector.new
|
60
|
+
parent = stack_name(stack.split("#{stacks}/").last).split('.').first
|
61
|
+
@buildenv[:itinerary].each do |i|
|
62
|
+
index = reflector.itinerary_index(@buildenv[:itinerary], i)
|
63
|
+
['dummy', "layers/#{parent}"].each do |dir|
|
64
|
+
target = "#{stacks}/#{i}/test/#{index}/#{dir}"
|
65
|
+
artifacts = Dir.glob("#{target}/**/{*,.*}")
|
66
|
+
artifacts.map! { |a| a.split("#{target}/").last }.each do |g|
|
67
|
+
t = "#{target}/#{g}"
|
68
|
+
if File.file?(g) && File.exist?(t)
|
69
|
+
FileUtils.cp(g, t) unless File.read(g).eql?(File.read(t))
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def success_response(url, desired_response = '200')
|
77
|
+
actual_response = system("curl -o /dev/null -s -w '%{http_code}\n' http://localhost")
|
78
|
+
raise Roro::Error unless actual_response.eql?(desired_response)
|
79
|
+
end
|
80
|
+
|
81
|
+
def generate_mise
|
82
|
+
generator = Roro::CLI.new
|
83
|
+
generator.generate_mise
|
84
|
+
generator.generate_containers 'app', 'db'
|
85
|
+
generator.generate_environments @env
|
86
|
+
generator.generate_keys
|
87
|
+
end
|
88
|
+
|
89
|
+
def copy_layer(dir)
|
90
|
+
paths = template_paths
|
91
|
+
paths.each do |path|
|
92
|
+
self.source_paths.shift
|
93
|
+
self.source_paths << path
|
94
|
+
begin
|
95
|
+
directory dir, '.', @env
|
96
|
+
rescue
|
97
|
+
Roro::Error
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
def epilogue(log)
|
103
|
+
array = []
|
104
|
+
log[:itinerary].each do |i|
|
105
|
+
parent_path = stack_parent_path(i)
|
106
|
+
if stack_parent(i).eql?('versions')
|
107
|
+
keyword = stack_parent(parent_path)
|
108
|
+
else
|
109
|
+
keyword = stack_name(i)
|
110
|
+
end
|
111
|
+
array << keyword
|
112
|
+
end
|
113
|
+
"https://www.handsomefencer.com/tutorials/#{array.join('-')}"
|
114
|
+
end
|
115
|
+
|
116
|
+
def write_log(log)
|
117
|
+
create_file 'mise/log.yml', log.to_yaml
|
118
|
+
say 'Arigato.'
|
119
|
+
say epilogue(log)
|
120
|
+
end
|
121
|
+
|
122
|
+
def section(name)
|
123
|
+
array = []
|
124
|
+
section_partials(name).each do |p|
|
125
|
+
array << read_partial(p)
|
126
|
+
end
|
127
|
+
array.empty? ? (raise Roro::Error) : array.join("\n")
|
128
|
+
end
|
129
|
+
|
130
|
+
def section_partials(name)
|
131
|
+
array = partials.select do |p|
|
132
|
+
p.match?(/#{name}/)
|
133
|
+
end
|
134
|
+
matchers = array.map { |p| p.split("/partials/#{name}/").last }.uniq
|
135
|
+
innermosts = []
|
136
|
+
matchers.each do |m|
|
137
|
+
duplicates = array.select do |p|
|
138
|
+
p.match? m
|
139
|
+
end
|
140
|
+
innermosts<< duplicates.last
|
141
|
+
end
|
142
|
+
innermosts
|
143
|
+
end
|
144
|
+
|
145
|
+
def partial(name)
|
146
|
+
read_partial(partials.select { |p| p.match?(/_#{name}.*.erb/) }.last)
|
147
|
+
end
|
148
|
+
|
149
|
+
def read_partial(partial)
|
150
|
+
begin
|
151
|
+
ERB.new(File.read(partial)).result(binding) if partial
|
152
|
+
rescue
|
153
|
+
msg = "Missing variable in #{partial}"
|
154
|
+
raise Roro::Error, msg
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
def partials
|
159
|
+
array = []
|
160
|
+
itinerary = @buildenv[:itinerary]
|
161
|
+
itinerary.each do |file|
|
162
|
+
array += partials_for(file)
|
163
|
+
end
|
164
|
+
array.uniq
|
165
|
+
end
|
166
|
+
|
167
|
+
def partials_for(ancestor = nil, crumbs = nil, paths = [] )
|
168
|
+
if crumbs.nil?
|
169
|
+
origin = Roro::CLI.stacks
|
170
|
+
crumbs = ancestor.split("#{origin}/").last.split('/')
|
171
|
+
ancestor = origin
|
172
|
+
end
|
173
|
+
path = "#{ancestor}/templates/partials"
|
174
|
+
paths += Dir.glob("#{path}/**/_*.erb") if File.exist?(path)
|
175
|
+
if crumbs.empty?
|
176
|
+
paths
|
177
|
+
else
|
178
|
+
partials_for("#{ancestor}/#{crumbs.shift}", crumbs, paths)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
def manifest_paths(dir = nil, stack = nil, array = nil, paths = [] )
|
183
|
+
dir ||= 'manifest'
|
184
|
+
stack ||= Roro::CLI.stacks
|
185
|
+
array ||= @storyfile.split("#{stack}/").last.split('/')
|
186
|
+
path = "#{stack}/templates/#{dir}"
|
187
|
+
if File.exist?(path)
|
188
|
+
paths << path
|
189
|
+
end
|
190
|
+
child = "#{stack}/#{array.shift}"
|
191
|
+
array.empty? ? paths : manifest_paths(dir, child, array, paths)
|
192
|
+
end
|
193
|
+
|
194
|
+
def template_paths_for(stack, array = nil, paths = [] )
|
195
|
+
if array.nil?
|
196
|
+
array ||= stack.split("#{stack}/").last.split('/')
|
197
|
+
stack = Roro::CLI.stacks
|
198
|
+
end
|
199
|
+
path = "#{stack}/templates"
|
200
|
+
if File.exist?(path)
|
201
|
+
paths << path
|
202
|
+
end
|
203
|
+
array.empty? ? paths : template_paths_for("#{stack}/#{array.shift}", array, paths)
|
204
|
+
end
|
205
|
+
|
206
|
+
def template_paths
|
207
|
+
array = []
|
208
|
+
@buildenv[:itinerary].each do |stack|
|
209
|
+
array += template_paths_for(stack)
|
210
|
+
end
|
211
|
+
array.uniq
|
212
|
+
end
|
213
|
+
|
24
214
|
def interpolated_stack_path
|
25
215
|
"#{@env[:stack]}/#{@env[:story]}"
|
26
216
|
end
|
@@ -28,7 +218,11 @@ module Roro
|
|
28
218
|
def interpolated_story_name
|
29
219
|
"#{@env[:story]}"
|
30
220
|
end
|
221
|
+
|
222
|
+
def interpolated_app_name
|
223
|
+
@env[:base][:app_name][:value]
|
224
|
+
end
|
31
225
|
end
|
32
226
|
end
|
33
227
|
end
|
34
|
-
end
|
228
|
+
end
|
@@ -5,11 +5,12 @@ require 'yaml'
|
|
5
5
|
module Roro
|
6
6
|
module Configurators
|
7
7
|
class Configurator
|
8
|
+
|
8
9
|
include Utilities
|
9
10
|
|
10
11
|
attr_reader :structure, :itinerary, :manifest, :stack, :env
|
11
12
|
|
12
|
-
def initialize(options = {}
|
13
|
+
def initialize(options = {})
|
13
14
|
@options = options ? options : {}
|
14
15
|
@stack = options[:stack] || CatalogBuilder.build
|
15
16
|
@validator = Validator.new(@stack)
|
@@ -18,13 +19,18 @@ module Roro
|
|
18
19
|
@structure = StructureBuilder.build
|
19
20
|
@asker = QuestionAsker.new
|
20
21
|
@writer = AdventureWriter.new
|
22
|
+
@env = @structure[:env]
|
23
|
+
@log = @structure
|
21
24
|
end
|
22
25
|
|
23
26
|
def rollon
|
24
27
|
validate_stack
|
25
28
|
choose_adventure
|
29
|
+
# satisfy_dependencies
|
26
30
|
build_env
|
27
31
|
write_story
|
32
|
+
# structure[:env] = structure[:env].merge(@dependency_hash)
|
33
|
+
write_log
|
28
34
|
end
|
29
35
|
|
30
36
|
def validate_stack
|
@@ -34,30 +40,87 @@ module Roro
|
|
34
40
|
def choose_adventure
|
35
41
|
@adventure.build_itinerary(@stack)
|
36
42
|
@itinerary = @adventure.itinerary
|
37
|
-
@manifest
|
43
|
+
@manifest = @adventure.manifest
|
38
44
|
end
|
39
45
|
|
40
46
|
def build_env
|
41
|
-
|
42
|
-
|
47
|
+
manifest.each do |story|
|
48
|
+
accrete_story(story)
|
49
|
+
end
|
43
50
|
override_environment_variables
|
44
51
|
end
|
45
52
|
|
53
|
+
# def satisfy_dependencies
|
54
|
+
# @satisfier = DependencySatisfier.new
|
55
|
+
# @dependency_hash = @satisfier.satisfy_dependencies(manifest)
|
56
|
+
# end
|
57
|
+
|
46
58
|
def accrete_story(story)
|
47
59
|
content = read_yaml(story)[:env]
|
48
|
-
content.keys.each { |k| @env[k].merge!(content[k]) } if content
|
60
|
+
content.keys.each { |k| @structure[:env][k].merge!(content[k]) } if content
|
49
61
|
end
|
50
62
|
|
51
63
|
def override_environment_variables
|
52
|
-
@env.each do |e,
|
53
|
-
answer = @asker.confirm_default(@builder.override(e, k, v),
|
64
|
+
@structure[:env].each do |e, h| h.each do |k, v|
|
65
|
+
answer = @asker.confirm_default(@builder.override(e, k, v), h)
|
54
66
|
answer.eql?('') ? return : v[:value] = answer
|
55
67
|
end
|
56
68
|
end
|
57
69
|
end
|
58
70
|
|
71
|
+
# def copy_stage_dummy(stage)
|
72
|
+
# location = Dir.pwd
|
73
|
+
# index = itinerary_index(stage).index(itinerary)
|
74
|
+
# test_dir = "#{stack_parent_path(stage)}/test"
|
75
|
+
# return unless File.exist?(test_dir)
|
76
|
+
# stage_dummy = "#{test_dir}/#{index}/dummy"
|
77
|
+
# generated = Dir.glob("#{location}/**/*")
|
78
|
+
# dummies = Dir.glob("#{stage_dummy}/**/*")
|
79
|
+
# dummies.each do |dummy|
|
80
|
+
# generated.select do |g|
|
81
|
+
# if dummy.split(stage_dummy).last.match?(g.split(Dir.pwd).last)
|
82
|
+
# if File.file?(g)
|
83
|
+
# FileUtils.cp_r(g, "#{stage_dummy}#{g.split(Dir.pwd).last}")
|
84
|
+
# end
|
85
|
+
# end
|
86
|
+
# end
|
87
|
+
# end
|
88
|
+
# end
|
89
|
+
|
90
|
+
def itinerary_index(stage)
|
91
|
+
itineraries = read_yaml("#{Roro.gem_root}/test/fixtures/matrixes/itineraries.yml")
|
92
|
+
foo = itineraries.select! do |i|
|
93
|
+
i.include?(stack_parent_path(stage.split(Roro::CLI.stacks).last))
|
94
|
+
end
|
95
|
+
foo
|
96
|
+
end
|
97
|
+
|
59
98
|
def write_story
|
60
|
-
@manifest.each
|
99
|
+
@manifest.each do |m|
|
100
|
+
@structure[:itinerary] = @itinerary
|
101
|
+
@writer.write(@structure, m)
|
102
|
+
# copy_stage_dummy(m) if ENV['RORO_ENV'].eql?('test')
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def write_log
|
107
|
+
@log[:dependency_hash] = @dependency_hash
|
108
|
+
@log[:itinerary] = @itinerary
|
109
|
+
@log[:manifest] = @manifest
|
110
|
+
@log[:stack] = @stack
|
111
|
+
@log[:structure] = @structure
|
112
|
+
@writer.write_log(@log)
|
113
|
+
end
|
114
|
+
|
115
|
+
private
|
116
|
+
|
117
|
+
def stage_dummy_index(stack)
|
118
|
+
itineraries = read_yaml("#{Roro::CLI.test_root}/fixtures/matrixes/itineraries.yml")
|
119
|
+
adventures = itineraries.select! do |i|
|
120
|
+
candidate = stack.split(Roro::CLI.stacks).last
|
121
|
+
i.include? stack_parent_path(candidate)
|
122
|
+
end
|
123
|
+
adventures.index(itinerary)
|
61
124
|
end
|
62
125
|
end
|
63
126
|
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
# # frozen_string_literal: true
|
2
|
+
#
|
3
|
+
# require 'os'
|
4
|
+
#
|
5
|
+
# module Roro
|
6
|
+
# module Configurators
|
7
|
+
# class DependencySatisfier < Thor
|
8
|
+
# include Thor::Actions
|
9
|
+
# include Utilities
|
10
|
+
#
|
11
|
+
# attr_reader :dependencies, :checks, :dependencies, :manifest, :builder, :env
|
12
|
+
#
|
13
|
+
# no_commands do
|
14
|
+
#
|
15
|
+
# def satisfy_dependencies(manifest = [])
|
16
|
+
# @manifest = manifest
|
17
|
+
# @builder = {
|
18
|
+
# actions: [],
|
19
|
+
# env: {}
|
20
|
+
# }
|
21
|
+
# @dependencies = {}.tap do |d|
|
22
|
+
# d.merge!(gather_base_dependencies)
|
23
|
+
# d.merge!(gather_stack_dependencies)
|
24
|
+
# end
|
25
|
+
# gather_checks
|
26
|
+
# checks.each { |c| validate_check(c) }
|
27
|
+
# checks.each { |c| satisfy(c) }
|
28
|
+
# install_dependencies
|
29
|
+
#
|
30
|
+
# end
|
31
|
+
#
|
32
|
+
# def install_dependencies
|
33
|
+
# actions = @builder[:actions]
|
34
|
+
# actions.each do |a|
|
35
|
+
# eval a
|
36
|
+
# end
|
37
|
+
# @env = @builder[:env] || {}
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# def gather_base_dependencies(stack = Roro::CLI.dependency_root)
|
41
|
+
# {}.tap do |b|
|
42
|
+
# children(stack).each { |c| b.merge!(read_yaml(c)) }
|
43
|
+
# end
|
44
|
+
# end
|
45
|
+
#
|
46
|
+
# def gather_stack_dependencies
|
47
|
+
# {}.tap do |b|
|
48
|
+
# manifest.each { |c| b.merge!(read_yaml(c)[:dependencies] || {}) }
|
49
|
+
# end
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# def gather_checks
|
53
|
+
# @checks = []
|
54
|
+
# manifest.each do |f|
|
55
|
+
# read_yaml(f).dig(:depends_on)&.each do |c|
|
56
|
+
# @checks << c
|
57
|
+
# end
|
58
|
+
# end
|
59
|
+
# @checks
|
60
|
+
# end
|
61
|
+
#
|
62
|
+
# def validate_check(check)
|
63
|
+
# msg = "No #{check} dependency exists. Please define it before depending on it."
|
64
|
+
# dependencies[check.to_sym] || raise(Roro::Error, msg)
|
65
|
+
# end
|
66
|
+
#
|
67
|
+
# def satisfy(check)
|
68
|
+
# d = dependencies[check.to_sym]
|
69
|
+
# return if dependency_met?(check)
|
70
|
+
# help = hint(d, :help)
|
71
|
+
# lucky = hint(d, :lucky)
|
72
|
+
# msg = ["\n\n#{set_color("Missing Dependency", :yellow)}: #{check}"]
|
73
|
+
# if lucky
|
74
|
+
# msg << " #{set_color("Platform", :yellow)}: #{platform}"
|
75
|
+
# msg << " #{set_color("Install with", :yellow)}: $ #{lucky.shift}"
|
76
|
+
# lucky.each do |c|
|
77
|
+
# msg << " $ #{c}"
|
78
|
+
# end
|
79
|
+
# end
|
80
|
+
# if help
|
81
|
+
# msg << " Help: #{help}" if help
|
82
|
+
# end
|
83
|
+
# say(msg.join("\n\s\s"))
|
84
|
+
# if lucky && yes?("Do you feel lucky?")
|
85
|
+
# @builder ||= {
|
86
|
+
# actions: [],
|
87
|
+
# env: {}
|
88
|
+
# }
|
89
|
+
# @builder[:env].merge!(d.dig(:env) || {})
|
90
|
+
# @builder[:actions] = @builder[:actions] + lucky
|
91
|
+
# end
|
92
|
+
# end
|
93
|
+
#
|
94
|
+
#
|
95
|
+
# def hint(hash, key)
|
96
|
+
# hash
|
97
|
+
# case
|
98
|
+
# when OS.linux? && hash.dig(:overrides, platform_for(hash), key )
|
99
|
+
# hash.dig(:overrides, platform_for(hash), key)
|
100
|
+
# when hash.dig(:overrides, platform, key)
|
101
|
+
# hash.dig(:overrides, platform, key)
|
102
|
+
# when hash.dig(key)
|
103
|
+
# hash.dig(key)
|
104
|
+
# end
|
105
|
+
# end
|
106
|
+
#
|
107
|
+
# def dependency_met?(command)
|
108
|
+
# system(command.to_s) ? true : false
|
109
|
+
# end
|
110
|
+
#
|
111
|
+
# def platform_for(dependency)
|
112
|
+
# overrides = dependency.dig(:overrides)
|
113
|
+
# return if overrides.nil? || overrides.empty?
|
114
|
+
# return platform if overrides.keys.include?(platform)
|
115
|
+
# overrides.select do |key, value|
|
116
|
+
# return key if value.dig(:aliases)&.include?(platform.to_s)
|
117
|
+
# end
|
118
|
+
# end
|
119
|
+
#
|
120
|
+
# def platform
|
121
|
+
# case
|
122
|
+
# when OS.linux?
|
123
|
+
# distro
|
124
|
+
# else
|
125
|
+
# OS.host_os.to_sym
|
126
|
+
# end
|
127
|
+
# end
|
128
|
+
#
|
129
|
+
# def distro
|
130
|
+
# OS.parse_os_release[:ID].to_sym
|
131
|
+
# end
|
132
|
+
# end
|
133
|
+
# end
|
134
|
+
# end
|
135
|
+
# end
|
@@ -13,16 +13,16 @@ module Roro
|
|
13
13
|
answer.size > 1 ? answer : override_default(question)
|
14
14
|
end
|
15
15
|
|
16
|
-
def confirm_default(question,
|
16
|
+
def confirm_default(question, hash)
|
17
17
|
options = { "y": "yes", "n": "no", 'a': 'accept all defaults'}
|
18
18
|
humanized_options = options.map {|key, value|
|
19
19
|
"(#{key}) #{value}"
|
20
20
|
}
|
21
21
|
getsome = "Would you like to accept the default value?\n"
|
22
22
|
prompt = [question, getsome, humanized_options, "\n"].join("\n")
|
23
|
-
case ask(prompt)
|
23
|
+
case ask(prompt, path: hash[:path])
|
24
24
|
when 'y'
|
25
|
-
|
25
|
+
hash[:value]
|
26
26
|
when 'n'
|
27
27
|
override_default(question)
|
28
28
|
when 'a'
|
@@ -21,7 +21,7 @@ module Roro
|
|
21
21
|
|
22
22
|
def override_prompt(environment, key, value)
|
23
23
|
name = value.dig(:name) || key
|
24
|
-
prompt = "Would you like to accept the default value for #{name}?\n"
|
24
|
+
# prompt = "Would you like to accept the default value for #{name}?\n"
|
25
25
|
help = value.dig(:help) ? "#{value.dig(:help)}" : nil
|
26
26
|
default = "#{key}=#{value[:value]}"
|
27
27
|
["\nEnvironment: #{environment}",
|
@@ -42,17 +42,17 @@ module Roro
|
|
42
42
|
|
43
43
|
def inflection_prompt
|
44
44
|
prompt = 'Please choose from these'
|
45
|
-
collection =
|
45
|
+
collection = stack_name(@inflection).gsub('_', ' ') + ":\n"
|
46
46
|
[prompt, stack_parent(@inflection), collection].join(' ')
|
47
47
|
end
|
48
48
|
|
49
49
|
def inflection_options
|
50
50
|
Hash.new.tap do |h|
|
51
51
|
children(@inflection)
|
52
|
-
.map { |f|
|
52
|
+
.map { |f| stack_name(f) }
|
53
53
|
.sort
|
54
54
|
.each_with_index do |c, i|
|
55
|
-
h[(i + 1).to_s] =
|
55
|
+
h[(i + 1).to_s] = stack_name(c)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -67,9 +67,9 @@ module Roro
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def get_story_preface(story)
|
70
|
-
storyfile = "#{story}/#{
|
70
|
+
storyfile = "#{story}/#{stack_name(story)}.yml"
|
71
71
|
if stack_is_storyfile?(storyfile)
|
72
|
-
read_yaml("#{story}/#{
|
72
|
+
read_yaml("#{story}/#{stack_name(story)}.yml")[:preface]
|
73
73
|
else
|
74
74
|
nil
|
75
75
|
end
|