diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2017-11-01 18:56:40 +0300 |
---|---|---|
committer | 🚄 Job van der Voort 🚀 <job@gitlab.com> | 2017-11-01 18:56:40 +0300 |
commit | 69b4c5c01171bcd0ee2129cdcc00a8a59beb5322 (patch) | |
tree | 1bc965c8ed45f920f826d899e20dcfdcf2877d58 /doc/ci/examples/test-phoenix-application.md | |
parent | 5c1459ef0f1fa4f091ccb735aba9fd918f53105d (diff) |
Exclude comments from specific docs
Diffstat (limited to 'doc/ci/examples/test-phoenix-application.md')
-rw-r--r-- | doc/ci/examples/test-phoenix-application.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ci/examples/test-phoenix-application.md b/doc/ci/examples/test-phoenix-application.md index 150698ca04b..f6c81b076bc 100644 --- a/doc/ci/examples/test-phoenix-application.md +++ b/doc/ci/examples/test-phoenix-application.md @@ -1,9 +1,9 @@ -## Test a Phoenix application +# Test a Phoenix application with GitLab CI/CD This example demonstrates the integration of Gitlab CI with Phoenix, Elixir and Postgres. -### Add `.gitlab-ci.yml` file to project +## Add `.gitlab-ci.yml` to project The following `.gitlab-ci.yml` should be added in the root of your repository to trigger CI: @@ -36,7 +36,7 @@ run your migrations. Finally, the test `script` will run your tests. -### Update the Config Settings +## Update the Config Settings In `config/test.exs`, update the database hostname: @@ -45,12 +45,12 @@ config :my_app, MyApp.Repo, hostname: if(System.get_env("CI"), do: "postgres", else: "localhost"), ``` -### Add the Migrations Folder +## Add the Migrations Folder If you do not have any migrations yet, you will need to create an empty `.gitkeep` file in `priv/repo/migrations`. -### Sources +## Sources - https://medium.com/@nahtnam/using-phoenix-on-gitlab-ci-5a51eec81142 - https://davejlong.com/ci-with-phoenix-and-gitlab/ |