diff --git a/README.md b/README.md index 34f5529be8fdbef7b0d739ded812689f3ddd319b..d8965de7507f0e81157bb15ede4542e67f4e7dc8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ In order to deploy this app on Kubernetes we will need to complete the following * Setup Gitlab CI in order to define the Continuous Delivery (CD) ## Step by step guide -1. Create Docker Registry Access Token +### Create Docker Registry Access Token One of the many Gitlab feature is the ability to host docker images. In order to permit Kubernetes to fetch those images, you need to provide an access token. @@ -32,7 +32,7 @@ Please follow the following steps in order to create the access token :  -2. Declare the docker registry access token in variables +### Declare the docker registry access token in variables We will reuse the previously created access token in order to reuse them in the Continuous Integration pipeline. To do that we will store them in CI variables that we will use during our CI pipeline. @@ -45,7 +45,7 @@ To do that we will store them in CI variables that we will use during our CI pip  -3. Create the Dockerfile +### Create the Dockerfile In the root directory of your project create `Dockerfile` file and fill it like the following : ```docker @@ -79,7 +79,7 @@ ADD . /app CMD gunicorn -b :$PORT mysite.wsgi ``` -4. Setup Gitlab CI +### Setup Gitlab CI At the root of your git repository create a `.gitlab-ci.yaml` file. @@ -115,7 +115,7 @@ Save, commit and push; you should be abble to see your first running pipeline Once succesfully completed, you can see the docker image in the `Registry`section on the left pane. -5. Create manifest yaml file +### Create manifest yaml file Create a file `manifest.yaml` at the root directory of your git repository and fill it with the following definition. > Keep in mind that yaml formating require that you seperate each declaration with `---` line. @@ -358,7 +358,7 @@ Once succesfully completed, you can see the docker image in the `Registry`sectio restartPolicy: Never backoffLimit: 5 ``` -6. Setup Continuous Delivery in Gitlab CI +### Setup Continuous Delivery in Gitlab CI ```yaml deploy: