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
@@ -0,0 +1,120 @@
|
|
1
|
+
require "active_support/core_ext/integer/time"
|
2
|
+
|
3
|
+
Rails.application.configure do
|
4
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
5
|
+
|
6
|
+
# Code is not reloaded between requests.
|
7
|
+
config.cache_classes = true
|
8
|
+
|
9
|
+
# Eager load code on boot. This eager loads most of Rails and
|
10
|
+
# your application in memory, allowing both threaded web servers
|
11
|
+
# and those relying on copy on write to perform better.
|
12
|
+
# Rake tasks automatically ignore this option for performance.
|
13
|
+
config.eager_load = true
|
14
|
+
|
15
|
+
# Full error reports are disabled and caching is turned on.
|
16
|
+
config.consider_all_requests_local = false
|
17
|
+
config.action_controller.perform_caching = true
|
18
|
+
|
19
|
+
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
20
|
+
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
21
|
+
# config.require_master_key = true
|
22
|
+
|
23
|
+
# Disable serving static files from the `/public` folder by default since
|
24
|
+
# Apache or NGINX already handles this.
|
25
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
|
+
|
27
|
+
# Compress CSS using a preprocessor.
|
28
|
+
# config.assets.css_compressor = :sass
|
29
|
+
|
30
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
31
|
+
config.assets.compile = false
|
32
|
+
|
33
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
34
|
+
# config.asset_host = 'http://assets.example.com'
|
35
|
+
|
36
|
+
# Specifies the header that your server uses for sending files.
|
37
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
38
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
39
|
+
|
40
|
+
# Store uploaded files on the local file system (see config/storage.yml for options).
|
41
|
+
config.active_storage.service = :local
|
42
|
+
|
43
|
+
# Mount Action Cable outside main process or domain.
|
44
|
+
# config.action_cable.mount_path = nil
|
45
|
+
# config.action_cable.url = 'wss://example.com/cable'
|
46
|
+
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
47
|
+
|
48
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
49
|
+
# config.force_ssl = true
|
50
|
+
|
51
|
+
# Include generic and useful information about system operation, but avoid logging too much
|
52
|
+
# information to avoid inadvertent exposure of personally identifiable information (PII).
|
53
|
+
config.log_level = :info
|
54
|
+
|
55
|
+
# Prepend all log lines with the following tags.
|
56
|
+
config.log_tags = [ :request_id ]
|
57
|
+
|
58
|
+
# Use a different cache store in production.
|
59
|
+
# config.cache_store = :mem_cache_store
|
60
|
+
|
61
|
+
# Use a real queuing backend for Active Job (and separate queues per environment).
|
62
|
+
# config.active_job.queue_adapter = :resque
|
63
|
+
# config.active_job.queue_name_prefix = "app_production"
|
64
|
+
|
65
|
+
config.action_mailer.perform_caching = false
|
66
|
+
|
67
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
68
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
69
|
+
# config.action_mailer.raise_delivery_errors = false
|
70
|
+
|
71
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
72
|
+
# the I18n.default_locale when a translation cannot be found).
|
73
|
+
config.i18n.fallbacks = true
|
74
|
+
|
75
|
+
# Send deprecation notices to registered listeners.
|
76
|
+
config.active_support.deprecation = :notify
|
77
|
+
|
78
|
+
# Log disallowed deprecations.
|
79
|
+
config.active_support.disallowed_deprecation = :log
|
80
|
+
|
81
|
+
# Tell Active Support which deprecation messages to disallow.
|
82
|
+
config.active_support.disallowed_deprecation_warnings = []
|
83
|
+
|
84
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
85
|
+
config.log_formatter = ::Logger::Formatter.new
|
86
|
+
|
87
|
+
# Use a different logger for distributed setups.
|
88
|
+
# require "syslog/logger"
|
89
|
+
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
|
90
|
+
|
91
|
+
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
92
|
+
logger = ActiveSupport::Logger.new(STDOUT)
|
93
|
+
logger.formatter = config.log_formatter
|
94
|
+
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
95
|
+
end
|
96
|
+
|
97
|
+
# Do not dump schema after migrations.
|
98
|
+
config.active_record.dump_schema_after_migration = false
|
99
|
+
|
100
|
+
# Inserts middleware to perform automatic connection switching.
|
101
|
+
# The `database_selector` hash is used to pass options to the DatabaseSelector
|
102
|
+
# middleware. The `delay` is used to determine how long to wait after a write
|
103
|
+
# to send a subsequent read to the primary.
|
104
|
+
#
|
105
|
+
# The `database_resolver` class is used by the middleware to determine which
|
106
|
+
# database is appropriate to use based on the time delay.
|
107
|
+
#
|
108
|
+
# The `database_resolver_context` class is used by the middleware to set
|
109
|
+
# timestamps for the last write to the primary. The resolver uses the context
|
110
|
+
# class timestamps to determine how long to wait before reading from the
|
111
|
+
# replica.
|
112
|
+
#
|
113
|
+
# By default Rails will store a last write timestamp in the session. The
|
114
|
+
# DatabaseSelector middleware is designed as such you can define your own
|
115
|
+
# strategy for connection switching and pass that into the middleware through
|
116
|
+
# these configuration options.
|
117
|
+
# config.active_record.database_selector = { delay: 2.seconds }
|
118
|
+
# config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
|
119
|
+
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
|
120
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
version: '3.9'
|
2
|
+
|
3
|
+
services:
|
4
|
+
|
5
|
+
app:
|
6
|
+
build:
|
7
|
+
context: .
|
8
|
+
dockerfile: Dockerfile
|
9
|
+
ports:
|
10
|
+
- "3000:3000"
|
11
|
+
depends_on:
|
12
|
+
- db
|
13
|
+
volumes:
|
14
|
+
- .:/app
|
15
|
+
- gem_cache:/usr/local/bundle/gems
|
16
|
+
- node_modules:/app/node_modules
|
17
|
+
env_file:
|
18
|
+
- ./mise/env/base.env
|
19
|
+
environment:
|
20
|
+
RAILS_ENV: development
|
21
|
+
|
22
|
+
db:
|
23
|
+
image: postgres:13.5
|
24
|
+
volumes:
|
25
|
+
- db_data:/var/lib/postgresql/data
|
26
|
+
env_file:
|
27
|
+
- ./mise/env/base.env
|
28
|
+
|
29
|
+
|
30
|
+
volumes:
|
31
|
+
db_data:
|
32
|
+
gem_cache:
|
33
|
+
node_modules:
|
@@ -0,0 +1,90 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
describe 'adventure::rails-v7_0::0 sqlite & ruby-v2_7' do
|
4
|
+
Given { skip }
|
5
|
+
Given(:workbench) {}
|
6
|
+
Given { @rollon_loud = false }
|
7
|
+
Given { @rollon_dummies = false }
|
8
|
+
Given { rollon(__dir__) }
|
9
|
+
|
10
|
+
describe 'must have a' do
|
11
|
+
describe 'docker entrypoint' do
|
12
|
+
Then { assert_file 'entrypoints/docker-entrypoint.sh' }
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'config/database.yml' do
|
16
|
+
describe 'with sqlite' do
|
17
|
+
Then { assert_file 'config/database.yml', %r{database: db/test\.sqlite3} }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe 'mise-en-place' do
|
22
|
+
Then { assert_file 'mise/env/base.env' }
|
23
|
+
end
|
24
|
+
|
25
|
+
describe 'Gemfile with the correct' do
|
26
|
+
describe 'rails version' do
|
27
|
+
Then { assert_file 'Gemfile', /gem "rails", "~> 7.0.2/ }
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'db' do
|
31
|
+
Then { assert_file 'Gemfile', /gem ["']sqlite3["'], ["']~> 1.4/ }
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe 'Dockerfile' do
|
36
|
+
Given(:file) { 'Dockerfile' }
|
37
|
+
|
38
|
+
describe 'syntax' do
|
39
|
+
Then { assert_file file, %r{# syntax=docker/dockerfile:1} }
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'ruby version' do
|
43
|
+
Then { assert_file file, /FROM ruby:2.7/ }
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'packages' do
|
47
|
+
Then { assert_file file, /RUN apk add / }
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'bundler version' do
|
51
|
+
Then { assert_file 'Dockerfile', /bundler:2.2.28/ }
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'alpine db packages' do
|
55
|
+
describe 'sqlite' do
|
56
|
+
Then { assert_file 'Dockerfile', /sqlite-dev/ }
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'node' do
|
60
|
+
Then { assert_file 'Dockerfile', /nodejs/ }
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'docker-compose.yml' do
|
66
|
+
Given(:file) { 'docker-compose.yml' }
|
67
|
+
|
68
|
+
describe 'volumes' do
|
69
|
+
Then { assert_file file, /\nvolumes:\n\s\sdb_data/ }
|
70
|
+
And { assert_file file, /\s\sgem_cache/ }
|
71
|
+
And { assert_file file, /\s\snode_modules/ }
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'database service' do
|
75
|
+
describe 'database service' do
|
76
|
+
Then { assert_file file, /\n\s\sdb:/ }
|
77
|
+
|
78
|
+
describe 'image' do
|
79
|
+
Then { assert_file file, /\n\s\s\s\simage: postgres:13.5:latest/ }
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'env_file' do
|
83
|
+
Then { assert_file file, /\n\s\s\s\senv_file:/ }
|
84
|
+
And { assert_file file, %r{\n\s\s\s\s\s\s- \./mise/env/base.env} }
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# syntax=docker/dockerfile:1
|
2
|
+
|
3
|
+
FROM ruby:2.7.4-alpine
|
4
|
+
|
5
|
+
RUN apk add --update \
|
6
|
+
build-base \
|
7
|
+
file \
|
8
|
+
git \
|
9
|
+
tzdata \
|
10
|
+
nodejs \
|
11
|
+
yarn
|
12
|
+
|
13
|
+
RUN apk add --update \
|
14
|
+
sqlite-dev
|
15
|
+
|
16
|
+
WORKDIR /app
|
17
|
+
|
18
|
+
RUN gem install bundler:2.2.28
|
19
|
+
|
20
|
+
COPY Gemfile Gemfile.lock ./
|
21
|
+
RUN bundle install -j4 --retry 3
|
22
|
+
|
23
|
+
COPY . .
|
24
|
+
|
25
|
+
RUN chmod -R 755 entrypoints/docker-entrypoint.sh
|
26
|
+
|
27
|
+
RUN yarn install
|
28
|
+
|
29
|
+
CMD ["./entrypoints/docker-entrypoint.sh"]
|
@@ -0,0 +1,72 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
ruby "2.7.4"
|
5
|
+
|
6
|
+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
7
|
+
gem "rails", "~> 7.0.2", ">= 7.0.2.2"
|
8
|
+
|
9
|
+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
10
|
+
gem "sprockets-rails"
|
11
|
+
|
12
|
+
# Use sqlite3 as the database for Active Record
|
13
|
+
gem "sqlite3", "~> 1.4"
|
14
|
+
|
15
|
+
# Use the Puma web server [https://github.com/puma/puma]
|
16
|
+
gem "puma", "~> 5.0"
|
17
|
+
|
18
|
+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
19
|
+
gem "importmap-rails"
|
20
|
+
|
21
|
+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
22
|
+
gem "turbo-rails"
|
23
|
+
|
24
|
+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
25
|
+
gem "stimulus-rails"
|
26
|
+
|
27
|
+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
28
|
+
gem "jbuilder"
|
29
|
+
|
30
|
+
# Use Redis adapter to run Action Cable in production
|
31
|
+
# gem "redis", "~> 4.0"
|
32
|
+
|
33
|
+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
34
|
+
# gem "kredis"
|
35
|
+
|
36
|
+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
37
|
+
# gem "bcrypt", "~> 3.1.7"
|
38
|
+
|
39
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
40
|
+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
|
41
|
+
|
42
|
+
# Reduces boot times through caching; required in config/boot.rb
|
43
|
+
gem "bootsnap", require: false
|
44
|
+
|
45
|
+
# Use Sass to process CSS
|
46
|
+
# gem "sassc-rails"
|
47
|
+
|
48
|
+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
49
|
+
# gem "image_processing", "~> 1.2"
|
50
|
+
|
51
|
+
group :development, :test do
|
52
|
+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
53
|
+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
|
54
|
+
end
|
55
|
+
|
56
|
+
group :development do
|
57
|
+
# Use console on exceptions pages [https://github.com/rails/web-console]
|
58
|
+
gem "web-console"
|
59
|
+
|
60
|
+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
61
|
+
# gem "rack-mini-profiler"
|
62
|
+
|
63
|
+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
64
|
+
# gem "spring"
|
65
|
+
end
|
66
|
+
|
67
|
+
group :test do
|
68
|
+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
69
|
+
gem "capybara"
|
70
|
+
gem "selenium-webdriver"
|
71
|
+
gem "webdrivers"
|
72
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite. Versions 3.8.0 and up are supported.
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem "sqlite3"
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# syntax=docker/dockerfile:1
|
2
|
+
|
3
|
+
FROM ruby:2.7.4-alpine
|
4
|
+
|
5
|
+
RUN apk add --update \
|
6
|
+
build-base \
|
7
|
+
file \
|
8
|
+
git \
|
9
|
+
tzdata \
|
10
|
+
nodejs \
|
11
|
+
yarn
|
12
|
+
|
13
|
+
RUN apk add --update \
|
14
|
+
sqlite-dev
|
15
|
+
|
16
|
+
WORKDIR /app
|
17
|
+
|
18
|
+
RUN gem install bundler:2.2.28
|
19
|
+
|
20
|
+
COPY Gemfile Gemfile.lock ./
|
21
|
+
RUN bundle install -j4 --retry 3
|
22
|
+
|
23
|
+
COPY . .
|
24
|
+
|
25
|
+
RUN chmod -R 755 entrypoints/docker-entrypoint.sh
|
26
|
+
|
27
|
+
RUN yarn install
|
28
|
+
|
29
|
+
CMD ["./entrypoints/docker-entrypoint.sh"]
|
@@ -0,0 +1,33 @@
|
|
1
|
+
version: '3.9'
|
2
|
+
|
3
|
+
services:
|
4
|
+
|
5
|
+
app:
|
6
|
+
build:
|
7
|
+
context: .
|
8
|
+
dockerfile: Dockerfile
|
9
|
+
ports:
|
10
|
+
- "3000:3000"
|
11
|
+
depends_on:
|
12
|
+
- database
|
13
|
+
volumes:
|
14
|
+
- .:/app
|
15
|
+
- gem_cache:/usr/local/bundle/gems
|
16
|
+
- node_modules:/app/node_modules
|
17
|
+
env_file:
|
18
|
+
- ./mise/env/base.env
|
19
|
+
- ./mise/env/development.env
|
20
|
+
environment:
|
21
|
+
RAILS_ENV: development
|
22
|
+
|
23
|
+
database:
|
24
|
+
image: nouchka/sqlite3:latest
|
25
|
+
stdin_open: true
|
26
|
+
tty: true
|
27
|
+
volumes:
|
28
|
+
- db_data/:/root/db/
|
29
|
+
|
30
|
+
volumes:
|
31
|
+
db_data:
|
32
|
+
gem_cache:
|
33
|
+
node_modules:
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite. Versions 3.8.0 and up are supported.
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem "sqlite3"
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
@@ -0,0 +1,34 @@
|
|
1
|
+
version: '3.9'
|
2
|
+
|
3
|
+
services:
|
4
|
+
|
5
|
+
app:
|
6
|
+
build:
|
7
|
+
context: .
|
8
|
+
dockerfile: Dockerfile
|
9
|
+
ports:
|
10
|
+
- "3000:3000"
|
11
|
+
depends_on:
|
12
|
+
- db
|
13
|
+
volumes:
|
14
|
+
- .:/app
|
15
|
+
- gem_cache:/usr/local/bundle/gems
|
16
|
+
- node_modules:/app/node_modules
|
17
|
+
env_file:
|
18
|
+
- ./mise/env/base.env
|
19
|
+
environment:
|
20
|
+
RAILS_ENV: development
|
21
|
+
|
22
|
+
db:
|
23
|
+
image: nouchka/sqlite3:latest
|
24
|
+
stdin_open: true
|
25
|
+
tty: true
|
26
|
+
volumes:
|
27
|
+
- db_data/:/root/db/
|
28
|
+
env_file:
|
29
|
+
- ./mise/env/base.env
|
30
|
+
|
31
|
+
volumes:
|
32
|
+
db_data:
|
33
|
+
gem_cache:
|
34
|
+
node_modules:
|
@@ -0,0 +1,19 @@
|
|
1
|
+
docker_compose_version=3.9
|
2
|
+
git_config_user_name=Jane Doe
|
3
|
+
git_config_user_email=jane.doe@example.com
|
4
|
+
rails_version=7.0
|
5
|
+
JOB_WORKER_URL=redis://redis:6379/0
|
6
|
+
REDIS_URL=redis://redis:6379/0
|
7
|
+
app_name=unstoppable_app
|
8
|
+
ruby_version=2.7.4
|
9
|
+
bundler_version=2.2.28
|
10
|
+
db_vendor=sqlite3
|
11
|
+
db_pkg=sqlite-dev
|
12
|
+
db_volume=/var/local-db
|
13
|
+
db_image=nouchka/sqlite3
|
14
|
+
db_image_version=latest
|
15
|
+
db_gem=sqlite
|
16
|
+
DATABASE_NAME=postgres
|
17
|
+
DATABASE_PASSWORD=postgres
|
18
|
+
DATABASE_USERNAME=postgres
|
19
|
+
DATABASE_HOST=db
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
describe 'adventure::rails-v7_0::0 sqlite & ruby-v3_0' do
|
4
|
+
Given { skip }
|
5
|
+
Given(:workbench) {}
|
6
|
+
Given { @rollon_loud = false }
|
7
|
+
Given { @rollon_dummies = false }
|
8
|
+
Given { rollon(__dir__) }
|
9
|
+
|
10
|
+
describe 'must have a' do
|
11
|
+
describe 'config/database.yml' do
|
12
|
+
describe 'with sqlite' do
|
13
|
+
Given { skip }
|
14
|
+
Then { assert_file 'config/database.yml', %r{database: db/test\.sqlite3} }
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'Gemfile with the correct' do
|
19
|
+
describe 'rails version' do
|
20
|
+
Then { assert_file 'Gemfile', /gem "rails", "~> 7.0.2/ }
|
21
|
+
end
|
22
|
+
|
23
|
+
describe 'db' do
|
24
|
+
Then { assert_file 'Gemfile', /gem ["']sqlite3["'], ["']~> 1.4/ }
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'Dockerfile' do
|
29
|
+
Given(:file) { 'Dockerfile' }
|
30
|
+
|
31
|
+
describe 'ruby version' do
|
32
|
+
Then { assert_file file, /FROM ruby:3.0/ }
|
33
|
+
end
|
34
|
+
|
35
|
+
describe 'alpine db packages' do
|
36
|
+
describe 'sqlite' do
|
37
|
+
Then { assert_file 'Dockerfile', /postgresql-dev/ }
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'docker-compose.yml' do
|
43
|
+
Given(:file) { 'docker-compose.yml' }
|
44
|
+
|
45
|
+
describe 'database service' do
|
46
|
+
describe 'database service' do
|
47
|
+
Then { assert_file file, /\n\s\sdb:/ }
|
48
|
+
|
49
|
+
describe 'image' do
|
50
|
+
Then { assert_file file, %r{\n\s\s\s\simage: nouchka/sqlite3:latest} }
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'env_file' do
|
54
|
+
Then { assert_file file, /\n\s\s\s\senv_file:/ }
|
55
|
+
And { assert_file file, %r{\n\s\s\s\s\s\s- \./mise/env/base.env} }
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# syntax=docker/dockerfile:1
|
2
|
+
|
3
|
+
FROM ruby:3.0-alpine
|
4
|
+
|
5
|
+
RUN apk add --update \
|
6
|
+
build-base \
|
7
|
+
file \
|
8
|
+
git \
|
9
|
+
tzdata \
|
10
|
+
nodejs \
|
11
|
+
yarn
|
12
|
+
|
13
|
+
RUN apk add --update \
|
14
|
+
sqlite-dev
|
15
|
+
|
16
|
+
WORKDIR /app
|
17
|
+
|
18
|
+
RUN gem install bundler:2.2.28
|
19
|
+
|
20
|
+
COPY Gemfile Gemfile.lock ./
|
21
|
+
RUN bundle install -j4 --retry 3
|
22
|
+
|
23
|
+
COPY . .
|
24
|
+
|
25
|
+
RUN chmod -R 755 entrypoints/docker-entrypoint.sh
|
26
|
+
|
27
|
+
RUN yarn install
|
28
|
+
|
29
|
+
CMD ["./entrypoints/docker-entrypoint.sh"]
|