Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb
Moore
Commits
ea2c5251
Commit
ea2c5251
authored
10 months ago
by
Ross John Hunter
Browse files
Options
Downloads
Patches
Plain Diff
Guess the Rec branch name on-the-fly as well for make_functor_Docs in CI
parent
eb2db91f
No related branches found
No related tags found
1 merge request
!3449
Fix the Moore CI docs pipeline
Pipeline
#7365159
passed
10 months ago
Stage: check
Stage: build
Stage: docs
Stage: .post
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
with
2 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
1
View file @
ea2c5251
...
...
@@ -97,12 +97,13 @@ build-docs:
# As the previous stage is allowed to fail, skip this stage if the previous
# did not complete successfully (i.e. did not create the `run` symlink)
-
test -L run || { echo "WARNING build job failed, stopping"; exit 77; }
-
TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-${CI_COMMIT_BRANCH}}
script
:
# First try producing just the graphs (gaudirun.py). If that fails, Moore
# is likely incompatible with the last nightly, so fail with a warning.
-
./run make -C doc graphs || { echo "WARNING build is incompatible with last nightly, stopping"; exit 77; }
-
reasons=
-
./run python doc/make_functor_docs.py "${CI_COMMIT_SHA:0:8}" "
2024-patches
" > doc/selection/thor_functors_reference.generated.rst || reasons+='ERROR failed functor docs build\n'
-
./run python doc/make_functor_docs.py "${CI_COMMIT_SHA:0:8}" "
${TARGET_BRANCH}
" > doc/selection/thor_functors_reference.generated.rst || reasons+='ERROR failed functor docs build\n'
-
./run make -C doc linkcheck || reasons+='ERROR failed link check\n'
-
./run make -C doc html || reasons+='ERROR failed html generation\n'
-
if [ -n "$reasons" ]; then echo -e $reasons; exit 1; fi
...
...
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