Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Julien Cabieces
otb
Commits
ec46d362
Commit
ec46d362
authored
6 years ago
by
Antoine Regimbeau
Browse files
Options
Downloads
Patches
Plain Diff
CI: add prepare stage
parent
14896a4d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+24
-0
24 additions, 0 deletions
.gitlab-ci.yml
with
24 additions
and
0 deletions
.gitlab-ci.yml
+
24
−
0
View file @
ec46d362
...
...
@@ -66,3 +66,27 @@ build:ubuntu-llvm-wip:
except
:
[
merge_requests
]
extends
:
.common-build
superbuild-prepare
:
stage
:
prepare
image
:
$BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
before_script
:
# This override the previous before_script
-
git checkout $CI_COMMIT_REF_NAME
# We are now doing the git-lfs install
# This is done after the checkout so we avoid downloading Data
# But we need it to upload the archive
-
git-lfs install
-
git config --global user.email "otbbot@orfeo-toolbox.org"
-
git config --global user.name "otbbot"
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$K8S_SECRET_SSH")
# This is for debug, we are checking the owner of the ssh key
# - ssh -o StrictHostKeyChecking=no -T git@gitlab.orfeo-toolbox.org
script
:
-
ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
artifacts
:
expire_in
:
24 hrs
paths
:
# This recovers logs from superbuild build
-
build/*/*/*/*.log
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment