diff --git a/maven-packages/README.md b/maven-packages/README.md new file mode 100644 index 0000000000000000000000000000000000000000..6eef83908e6c55473baf00ce08fa7b947222224c --- /dev/null +++ b/maven-packages/README.md @@ -0,0 +1,36 @@ +# Include jobs from external YAML files + +You can include the jobs in this repository's YAML files as follows: + +```yml +include: + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/build.yml + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/tests.yml + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/deploy.yml +``` + +You can include the execution order in yout .gitlab-ci.yml file as follows: + +```yml +stages: + - build + - test + - deploy +``` + +## Example + +An example of a valid .gitlab-ci.yml can be: + +```yml +include: + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/build.yml + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/tests.yml + - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/maven-packages/deploy.yml + +stages: + - build + - test + - deploy + +```