├── continuous_deployment_and_repository_secrets ├── 09_extra_mile │ ├── hola │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── modules │ │ └── integrations │ │ └── sops │ │ └── sops.tpl ├── 01_postgres_secret │ ├── secrets │ │ └── .postgrespassword │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_web_secrets_01 │ ├── secrets │ │ ├── .postgrespassword │ │ └── .databaseurl │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_web_secrets_02 │ ├── secrets │ │ ├── .postgrespassword │ │ ├── .databaseurl │ │ └── .secretkeybase │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 03_sops │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ ├── repo │ │ └── migrations │ │ │ └── .formatter.exs │ │ └── static │ │ └── favicon.ico ├── 06_github_secrets │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 07_deploy_action │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 05_convenience_script │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_secrets_decrypt_script │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 08_contributing_workflow │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ ├── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex │ └── priv │ └── repo │ └── migrations │ └── .formatter.exs ├── set_up_integration_pipelines_with_github_actions ├── 10_multi_arch │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 11_triggers │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 12_extra_mile │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 02_cache_deps_build │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 04_failing_mix_test │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 06_failing_dialyzer │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 08_build_docker │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 01_failing_mix_compile │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 03_conditional_steps │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 04_successful_mix_test │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 05_failing_mix_format │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 05_successful_mix_format │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ └── components │ │ └── layouts.ex ├── 06_successful_dialyzer │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 07_unused_dependencies │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex ├── 09_cache_docker_build │ ├── test │ │ └── test_helper.exs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ └── lib │ │ ├── kanban │ │ └── mailer.ex │ │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex └── 01_successful_mix_compile │ ├── test │ └── test_helper.exs │ ├── rel │ └── overlays │ │ └── bin │ │ ├── server.bat │ │ └── server │ └── lib │ ├── kanban │ └── mailer.ex │ └── kanban_web │ └── components │ └── layouts.ex ├── images └── cover.jpg ├── distributed_erlang └── 01_connect_multiple_releases │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ ├── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex │ ├── priv │ ├── repo │ │ └── migrations │ │ │ └── .formatter.exs │ └── static │ │ ├── favicon.ico │ │ └── robots.txt.gz │ └── .sops.yaml ├── the_dev_environment_and_docker_compose ├── 09_extra_mile │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_phx_with_ecto │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_postgres_simple │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_postgres_ports_published │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 05_postgres_pinned_version │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 06_postgres_explicit_volume │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 07_adding_your_phoenix_app │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 08_update_your_ci_pipeline │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 03_postgres_ports_published_hardcoded │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── test │ └── test_helper.exs │ ├── lib │ ├── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── kanban_web │ │ └── components │ │ └── layouts.ex │ └── priv │ └── repo │ └── migrations │ └── .formatter.exs ├── the_production_environment_and_packer ├── 09_extra_mile │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_ec2_import_01 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_ec2_import_02 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_ec2_import_03 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_ec2_import_04 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── environments │ │ └── production │ │ └── main.tf ├── 02_sg_import_01 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_sg_import_02 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── environments │ │ └── production │ │ └── main.tf ├── 04_key_pair_import │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 05_boostrap_ec2 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 06_packer_intro │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 07_packer_refactor │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 08_final_version │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 03_vpc_and_subnet_config │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── test │ └── test_helper.exs │ ├── lib │ ├── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex │ ├── priv │ └── repo │ │ └── migrations │ │ └── .formatter.exs │ └── environments │ └── production │ └── main.tf ├── instrument_your_application_with_logs_and_metrics ├── 01_logs │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_extra_mile │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_metrics_and_promex │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 03_metrics_and_grafana_dashboards │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ └── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── priv │ └── repo │ └── migrations │ └── .formatter.exs ├── create_a_custom_promex_metric_and_grafana_alert ├── 05_extra_mile │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── modules │ │ └── integrations │ │ └── sops │ │ └── sops.tpl ├── 02_custom_dashboard │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── modules │ │ └── integrations │ │ └── sops │ │ └── sops.tpl ├── 03_custom_alert │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── modules │ │ └── integrations │ │ └── sops │ │ └── sops.tpl ├── 04_final_version │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ ├── priv │ │ └── repo │ │ │ └── migrations │ │ │ └── .formatter.exs │ └── modules │ │ └── integrations │ │ └── sops │ │ └── sops.tpl └── 01_cpu_promex_plugin │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ ├── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── kanban_web │ │ ├── components │ │ └── layouts.ex │ │ └── controllers │ │ └── page_html.ex │ ├── priv │ └── repo │ │ └── migrations │ │ └── .formatter.exs │ └── modules │ └── integrations │ └── sops │ └── sops.tpl ├── revise_your_aws_stack_to_create_a_multinode_swarm ├── 04_join_script_01 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_join_script_02 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_join_script_03 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_multinode_swarm │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 03_initialize_script │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 01_multiple_ec2_instances │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 05_initial_deployment_automation │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ └── kanban │ │ ├── mailer.ex │ │ └── repo.ex │ └── priv │ └── repo │ └── migrations │ └── .formatter.exs ├── autoscaling_and_optimizing_your_deployment_strategy ├── 05_load_balancer │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 03_implement_autoscaling │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 04_trigger_auto_scaling │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 06_automatic_rollbacks │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 07_housekeeping_tasks │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ ├── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ │ └── kanban_web │ │ │ ├── components │ │ │ └── layouts.ex │ │ │ └── controllers │ │ │ └── page_html.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_one_script_to_rule_them_all_01 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ └── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs ├── 02_one_script_to_rule_them_all_02 │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── migrate.bat │ │ │ ├── server.bat │ │ │ ├── server │ │ │ └── migrate │ ├── packer │ │ └── .auto.pkrvars.hcl │ ├── test │ │ └── test_helper.exs │ ├── lib │ │ └── kanban │ │ │ ├── mailer.ex │ │ │ └── repo.ex │ └── priv │ │ └── repo │ │ └── migrations │ │ └── .formatter.exs └── 01_autoscaling_group_and_launch_template │ ├── rel │ └── overlays │ │ └── bin │ │ ├── migrate.bat │ │ ├── server.bat │ │ ├── server │ │ └── migrate │ ├── packer │ └── .auto.pkrvars.hcl │ ├── test │ └── test_helper.exs │ ├── lib │ └── kanban │ │ └── mailer.ex │ └── priv │ └── repo │ └── migrations │ └── .formatter.exs └── use_terraform_to_create_github_issues_and_milestones └── final_version └── .tool-versions /continuous_deployment_and_repository_secrets/09_extra_mile/hola: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/secrets/.postgrespassword: -------------------------------------------------------------------------------- 1 | postgres 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/secrets/.postgrespassword: -------------------------------------------------------------------------------- 1 | postgres 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/secrets/.postgrespassword: -------------------------------------------------------------------------------- 1 | postgres 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /images/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gilacost/engineering_elixir_applications/HEAD/images/cover.jpg -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_successful_mix_format/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_successful_mix_compile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/secrets/.databaseurl: -------------------------------------------------------------------------------- 1 | ecto://postgres:postgres@db/postgres 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/secrets/.databaseurl: -------------------------------------------------------------------------------- 1 | ecto://postgres:postgres@db/postgres 2 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/secrets/.secretkeybase: -------------------------------------------------------------------------------- 1 | qXn8qahf3JMiVCgOB//kuEFp9U6me/xnLPVTWQtNfO9F8J40wUW0Et62DSkX3orD 2 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_successful_mix_compile/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_successful_mix_format/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/environments/production/main.tf: -------------------------------------------------------------------------------- 1 | module "swarm" { 2 | source = "../../modules/cloud/aws/compute/swarm" 3 | } 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/environments/production/main.tf: -------------------------------------------------------------------------------- 1 | module "swarm" { 2 | source = "../../modules/cloud/aws/compute/swarm" 3 | } 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/rel/overlays/bin/migrate.bat: -------------------------------------------------------------------------------- 1 | call "%~dp0\kanban" eval Kanban.Release.migrate 2 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\kanban" start 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_successful_mix_compile/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_successful_mix_format/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/environments/production/main.tf: -------------------------------------------------------------------------------- 1 | module "swarm" { 2 | source = "../../modules/cloud/aws/compute/swarm" 3 | } 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/packer/.auto.pkrvars.hcl: -------------------------------------------------------------------------------- 1 | # in packer/.auto.pkrvars.hcl 2 | 3 | ami_regions = ["eu-west-1"] 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | Ecto.Adapters.SQL.Sandbox.mode(Kanban.Repo, :manual) 3 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/lib/kanban/mailer.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Mailer do 2 | use Swoosh.Mailer, otp_app: :kanban 3 | end 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/priv/repo/migrations/.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | import_deps: [:ecto_sql], 3 | inputs: ["*.exs"] 4 | ] 5 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_successful_mix_compile/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_successful_mix_format/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/09_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | PHX_SERVER=true exec ./kanban start 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/01_phx_with_ecto/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./kanban start 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/09_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_01/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_02/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_03/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/01_ec2_import_04/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_01/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/02_sg_import_02/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/04_key_pair_import/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/05_boostrap_ec2/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/06_packer_intro/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/07_packer_refactor/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/08_final_version/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/01_autoscaling_group_and_launch_template/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd -P -- "$(dirname -- "$0")" 3 | exec ./kanban eval Kanban.Release.migrate 4 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/07_deploy_action/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/01_logs/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/11_triggers/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/02_postgres_simple/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/rel/overlays/bin/migrate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | exec ./kanban eval Kanban.Release.migrate 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/01_postgres_secret/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_01/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/02_web_secrets_02/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/05_convenience_script/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/06_github_secrets/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/09_extra_mile/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/priv/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gilacost/engineering_elixir_applications/HEAD/distributed_erlang/01_connect_multiple_releases/priv/static/favicon.ico -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/04_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/08_build_docker/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/10_multi_arch/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/12_extra_mile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/04_postgres_ports_published/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/05_postgres_pinned_version/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/06_postgres_explicit_volume/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/07_adding_your_phoenix_app/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/08_update_your_ci_pipeline/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_production_environment_and_packer/03_vpc_and_subnet_config/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/05_load_balancer/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/04_secrets_decrypt_script/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/08_contributing_workflow/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/03_custom_alert/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/05_extra_mile/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/priv/static/robots.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gilacost/engineering_elixir_applications/HEAD/distributed_erlang/01_connect_multiple_releases/priv/static/robots.txt.gz -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/02_metrics_and_promex/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/02_multinode_swarm/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/03_initialize_script/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_01/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_02/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/04_join_script_03/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_failing_mix_compile/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/01_successful_mix_compile/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/02_cache_deps_build/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/03_conditional_steps/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_failing_mix_test/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/04_successful_mix_test/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_failing_mix_format/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/05_successful_mix_format/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_failing_dialyzer/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/06_successful_dialyzer/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/07_unused_dependencies/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /set_up_integration_pipelines_with_github_actions/09_cache_docker_build/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /the_dev_environment_and_docker_compose/03_postgres_ports_published_hardcoded/lib/kanban_web/components/layouts.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.Layouts do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "layouts/*" 5 | end 6 | -------------------------------------------------------------------------------- /use_terraform_to_create_github_issues_and_milestones/final_version/.tool-versions: -------------------------------------------------------------------------------- 1 | github-cli 2.42.1 2 | terraform 1.7.1 3 | awscli 2.15.15 4 | elixir 1.16.0-otp-26 5 | erlang 26.2.1 6 | postgres 15.2 7 | packer 1.9.0 8 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_01/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/02_one_script_to_rule_them_all_02/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/03_implement_autoscaling/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/04_trigger_auto_scaling/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/06_automatic_rollbacks/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /autoscaling_and_optimizing_your_deployment_strategy/07_housekeeping_tasks/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /continuous_deployment_and_repository_secrets/03_sops/priv/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gilacost/engineering_elixir_applications/HEAD/continuous_deployment_and_repository_secrets/03_sops/priv/static/favicon.ico -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/01_cpu_promex_plugin/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/02_custom_dashboard/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /create_a_custom_promex_metric_and_grafana_alert/04_final_version/modules/integrations/sops/sops.tpl: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "${age_public_key}" 6 | -------------------------------------------------------------------------------- /distributed_erlang/01_connect_multiple_releases/.sops.yaml: -------------------------------------------------------------------------------- 1 | creation_rules: 2 | - path_regex: secrets/.*$ 3 | key_groups: 4 | - age: 5 | - "age1c0yk03qh0rvprxr9wruqygt9zarw3vre92mf3t6zmfa75ueqvquqq4y8ml" 6 | -------------------------------------------------------------------------------- /instrument_your_application_with_logs_and_metrics/03_metrics_and_grafana_dashboards/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/01_multiple_ec2_instances/lib/kanban_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | defmodule KanbanWeb.PageHTML do 2 | use KanbanWeb, :html 3 | 4 | embed_templates "page_html/*" 5 | end 6 | -------------------------------------------------------------------------------- /revise_your_aws_stack_to_create_a_multinode_swarm/05_initial_deployment_automation/lib/kanban/repo.ex: -------------------------------------------------------------------------------- 1 | defmodule Kanban.Repo do 2 | use Ecto.Repo, 3 | otp_app: :kanban, 4 | adapter: Ecto.Adapters.Postgres 5 | end 6 | --------------------------------------------------------------------------------