Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LidarView-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LidarView
LidarView-Core
Merge requests
!300
Ci fix lfs fetch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Ci fix lfs fetch
ci-fix-lfs-fetch
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Arnaud Billon
requested to merge
ci-fix-lfs-fetch
into
master
3 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c08c055a
2 commits,
3 years ago
1 file
+
13
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
CI/.gitlab-ci-for-lidarview.yml
+
13
−
9
Options
@@ -13,7 +13,7 @@ variables:
LV_CI_SRC_DIR
:
$CI_BUILDS_DIR/S
# LV Runners Work Directory for Sources
LV_CI_BUILD_DIR
:
$CI_BUILDS_DIR/SB
# LV Runners Work Directory for Builds
LV_PROJECT_SRC_PATH
:
$CI_BUILDS_DIR/S/$CI_PROJECT_ID
# LV Project Sources
LV_PROJECT_BSB_PATH
:
$CI_BUILDS_DIR/SB/$CI_PROJECT_ID
# LV Project Build
LV_PROJECT_BSB_PATH
:
$CI_BUILDS_DIR/SB/$CI_PROJECT_ID
# LV Project Build
LV_PROJECT_BLV_PATH
:
$CI_BUILDS_DIR/SB/$CI_PROJECT_ID/lidarview-superbuild/common-superbuild/lidarview/build/
LV_ARTIFACTS_DIR
:
$CI_PROJECT_DIR/artifacts
# Following variables should be set only if the script is triggered from a LidarView submodule
@@ -115,7 +115,7 @@ workflow:
-
cmake -E make_directory $LV_PROJECT_SRC_PATH
-
cmake -E make_directory $LV_PROJECT_BSB_PATH
-
cd $LV_PROJECT_SRC_PATH
# First Fetch Master
-
git clone -j8 $CI_PROJECT_URL .
# Clone in Place, no submodules, no recursive, smudged
-
git clone -j8 $CI_PROJECT_URL
--depth 1
.
# Clone in Place, no submodules, no recursive, smudged
-
git submodule update --init --recursive
# Must Init with master branch first before fetching
-
git fetch --all
-
git submodule foreach --recursive "git fetch --all"
@@ -144,7 +144,7 @@ workflow:
-Dsuperbuild_download_location="../downloads"
$LV_PROJECT_SRC_PATH/Superbuild
-
cmake --build . --parallel
8
.clean
:
stage
:
clean
extends
:
.default_rules
@@ -163,13 +163,13 @@ workflow:
-
git checkout $CI_COMMIT_SHA
-
git submodule foreach --recursive "git fetch --all"
-
git submodule update --init --recursive
-
git
status
-
git
log --oneline -n1 --no-abbrev
-
cd $LV_PROJECT_SRC_PATH/$TRIGGER_MODULE_PATH
# WIP Go to Trigger Module PATH, checkout SHA factorize on configure/build/test ?
-
git fetch --all
-
git checkout $TRIGGER_MODULE_SHA
-
git submodule foreach --recursive "git fetch --all"
-
git submodule update --init --recursive
-
git
status
-
git
log --oneline -n1 --no-abbrev
-
cd $LV_PROJECT_BLV_PATH
# create a compilation database for the analize stage (clang-tidy)
-
cmake -DBUILD_TESTING=True -DCMAKE_EXPORT_COMPILE_COMMANDS=True .
@@ -190,13 +190,17 @@ workflow:
stage
:
test
extends
:
.default_rules
script
:
-
git config lfs.pruneoffsetdays
0
# Store less objects
-
cd $LV_PROJECT_SRC_PATH/Plugins/VelodynePlugin
# Manually fetch both remotes Workaround
-
git lfs fetch private --prune
-
git lfs fetch origin --prune
-
cd $LV_PROJECT_SRC_PATH
-
git lfs pull
# Make sure every
-
git submodule foreach --recursive "git lfs pull"
-
git lfs fetch --prune
# Heavy but at least LFS Remote are pulled
-
git submodule foreach --recursive "git lfs fetch --prune"
-
git lfs pull
-
git submodule foreach --recursive "git lfs pull"
-
cd $LV_PROJECT_BLV_PATH
-
ctest --timeout 120 --repeat until-pass:3
# in some occasion, the machine on which the runner run can be under heavily load
# this may caused some failure (ex: Stream tests), so rerun the failing test
.package
:
stage
:
package
Loading