Update How to build a CI pipeline authored by Mohamed Aboud's avatar Mohamed Aboud
*to create a pipeline configuration you have to create a .gitlab-ci.yml file or edit it to change the way it is configured.
_--- down below is an explanation of the components of the configuration file:_
![image](uploads/12c92d1b06a892fb4a5319a5c2eba8d6/image.png)
**stages**: under this section you set up the different stages that your jobs will be under.
**variables**: includes the variables used in the configuration.
for the current configuration we have DOCKER_DRIVER that is set to overlay which specifies the Docker storage driver to be used.
after that we have the Docker Images:
_.openjdk_docker_image_: This is a Docker image based on OpenJDK 17, used for running Java applications.
_.flutter_docker_image_: This is a custom Docker image for running Flutter tests. It's version 3.19.0.
![image](uploads/61761eed6c17de570c6f065c0b7cae8f/image.png)
run_pipeline: that's the name of the job to be performed that extends the Docker image for running java, you can put a job under a stage by assigning a name of an existing stage to _stage_ and it generates the reports in the path specified using the _path_ tag after running the commands under the _script_ tag.
**More explanation of the run_pipeline job (what's under the script tag ?)**