Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hep-workloads
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
HEP-Benchmarks
hep-workloads
Merge requests
!897
BMK-1294
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
BMK-1294
BMK-1294
into
qa-build-mg5amc-madgraph4gpu-2022
Overview
0
Commits
5
Pipelines
0
Changes
4
Merged
Domenico Giordano
requested to merge
BMK-1294
into
qa-build-mg5amc-madgraph4gpu-2022
1 year ago
Overview
0
Commits
5
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
qa-build-mg5amc-madgraph4gpu-2022
version 1
9a186a91
1 year ago
qa-build-mg5amc-madgraph4gpu-2022 (base)
and
latest version
latest version
f170b3a9
5 commits,
1 year ago
version 1
9a186a91
9 commits,
1 year ago
4 files
+
38
−
36
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
build-executor/main.sh
+
4
−
2
Options
@@ -624,12 +624,14 @@ function execute_procedure(){
check_tag_version
||
fail
"[execute_procedure]
$1
: check_tag_version"
if
[
"
$HEPWL_CVMFSREPOS
"
!=
"NONE"
]
;
then
echo
"[execute_procedure] Running procedure to snapshot cmvfs via the following functions: run_docker_wl, run_shrinkwrap, copy_cvmfs, copy_build."
run_docker_wl
||
fail
"[execute_procedure]
$1
: run_docker_wl"
run_shrinkwrap
||
fail
"[execute_procedure]
$1
: run_shrinkwrap"
copy_cvmfs
||
fail
"[execute_procedure]
$1
: copy_cvmfs"
copy_build
||
fail
"[execute_procedure]
$1
: copy_build"
else
# Needed for the cases without cvmfs, to make available an empty dir
echo
"[execute_procedure] No cvmfs snapshotting needed. Skipping this step. Just run create_functional_dirs."
create_functional_dirs
fi
build_standalone_image
||
fail
"[execute_procedure]
$1
: build_standalone_image"
@@ -767,7 +769,7 @@ if ! load_and_validate_specfile "$CIENV_HEPWL_SPECFILE"; then fail "invalid SPEC
if
[
"
$CIENV_MOUNTCVMFS
"
-gt
0
]
&&
[
"
$HEPWL_CVMFSREPOS
"
!=
"NONE"
]
;
then
mount_cvmfs
||
fail
'[main.sh] mount_cvmfs'
else
echo
-e
"
\n
[main.sh]
WARNING: cvmfs will not
be mounted
\n
"
echo
-e
"
\n
[main.sh]
INFO: there is not cvmfs repo to
be mounted
\n
"
fi
execute_procedure
"
$CIENV_BUILDEVENT
"
@@ -775,7 +777,7 @@ execute_procedure "$CIENV_BUILDEVENT"
if
[
"
$CIENV_MOUNTCVMFS
"
-gt
0
]
&&
[
"
$HEPWL_CVMFSREPOS
"
!=
"NONE"
]
;
then
unmount_cvmfs
||
fail
'[main.sh] unmount_cvmfs'
else
echo
-e
"
\n
[main.sh]
WARNING: cvmfs will not
be unmounted
\n
"
echo
-e
"
\n
[main.sh]
INFO: there is not cvmfs repo to
be unmounted
\n
"
fi
echo
-e
"
\n
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
Loading