Commit 2e9b7bbf authored by Jean-Francois Rey's avatar Jean-Francois Rey

update readme

parent 9e0d7307
......@@ -5,8 +5,8 @@
This project hosts the repository of a Cookbook to create Docker image of a R Shiny
App and to deploy it in production.
This template build a Docker image of the R Shiny App using the __Dockerfile__
and deploy it to a server. All tasks (jobs) are set in the __.gitlab-ci.yml__ file.
This template builds a Docker image of the R Shiny App using the __Dockerfile__
and deploys it to a server. All tasks (jobs) are set in the __.gitlab-ci.yml__ file.
**Table of Contents**
......@@ -46,7 +46,7 @@ and deploy it to a server. All tasks (jobs) are set in the __.gitlab-ci.yml__ fi
![Gitlab CI/CD R Shiny App pipeline](www/GitLab_CI_CD_pipeline_RShinyApp.png)
* At push, in GitLab repository, the pipeline is trigger.
* GitLab use __[.gitlab-ci.yml](.gitlab-ci.yml)__ file to set the pipeline
* GitLab use __[.gitlab-ci.yml](.gitlab-ci.yml)__ file to set the pipeline and run it on runners.
* First it builds the docker image using __[Dockerfile](Dockerfile)__
* Then it pushs it in the container registry of the project (with commit ID and _latest_ tags)
* At the end it deploys the image in a server (with a docker environment)
......@@ -64,7 +64,7 @@ You can fork this project and use it as a template.
You need to enable __Pipelines__ in the project setting (_Setting -> General -> Visibility_)
and enable __Shared Runners__ and the _dind_ __Specific Runners__ (see below).
You need to set secret variables (Setting -> CI/CD -> Variables) to allow deploiment :
You need to set secret variables (Setting -> CI/CD -> Variables) to allow deployment :
* __DEPLOY\_USER__ : user ID
* __DEPLOY\_PWD__ : user password
* __DEPLOY\_IP__ : the server IP to deploy to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment