Skip to content
Snippets Groups Projects
Commit ed16c55e authored by Iñigo Moreno i Caireta's avatar Iñigo Moreno i Caireta
Browse files

Add documentation

parent 78223b45
No related branches found
No related tags found
1 merge request!67Resolve "Support LFS in templates"
Pipeline #57004 passed
...@@ -28,7 +28,6 @@ The Core pipeline, defined in link:ci-templates/core.yml[], has the following st ...@@ -28,7 +28,6 @@ The Core pipeline, defined in link:ci-templates/core.yml[], has the following st
* Check files have no trailing whitespace and are `UTF-8` encoded * Check files have no trailing whitespace and are `UTF-8` encoded
* Check that `C++` files follow this link:clang-format[] * Check that `C++` files follow this link:clang-format[]
It is important to note that both templates set the variable `GIT_LFS_SKIP_SMUDGE`, which means that when the repositories are cloned/fetched, the files hosted using Git LFS will not be downloaded. An example on how to explicitely fetch the files from LFS can be found in the https://git.code.tecnalia.com/tecnalia_robotics/common_config/blob/e93dbe6379d94e6a895a33c59bf17ccab26eacf9/.gitlab-ci.yml#L132[common_config repository].
== Manual Jobs == Manual Jobs
...@@ -52,3 +51,9 @@ The auto rules also allow for using variables to explicitely activate each job: ...@@ -52,3 +51,9 @@ The auto rules also allow for using variables to explicitely activate each job:
```yml ```yml
include::examples/build_vars.yml[] include::examples/build_vars.yml[]
``` ```
== LFS
By default, lfs files are not downloaded. If you need to add LFS, include the link:ci-templates/lfs-pull.yml[] along with anything else:
```yml
include::examples/include_lfs.yml[]
```
\ No newline at end of file
include:
- project: tecnalia_robotics-public/gitlab_templates
file:
- ci-templates/auto-rules/kinetic-default.yml
- ci-templates/auto-rules/kinetic-default.yml
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
PARALLEL_BUILDS: 2 # keep this for now, since there seems to be memory limit issues in the ci VM PARALLEL_BUILDS: 2 # keep this for now, since there seems to be memory limit issues in the ci VM
AFTER_SETUP_TARGET_WORKSPACE: "rosenv && bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$current_ws" AFTER_SETUP_TARGET_WORKSPACE: "rosenv && bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$current_ws"
CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context
ROS_REPO: main
.industrial_ci_deploy: .industrial_ci_deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment