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
!903
merge qa-build-cms-hlt-ma commit
859accf6
from 6261987
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
merge qa-build-cms-hlt-ma commit
859accf6
from 6261987
tmp_qa-build-cms-hlt-ma_859accf6
into
master
Overview
0
Commits
26
Pipelines
0
Changes
24
Merged
Ghost User
requested to merge
tmp_qa-build-cms-hlt-ma_859accf6
into
master
1 year ago
Overview
0
Commits
26
Pipelines
0
Changes
24
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
78e47d8c
26 commits,
1 year ago
24 files
+
8275
−
41
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
24
Search (e.g. *.vue) (Ctrl+P)
build-executor/main.sh
+
2
−
2
Options
@@ -510,7 +510,7 @@ function test_standalone_image_docker(){
# Input environment variable ${CIENV_DOCKERREGISTRY}: registry where the image should be pushed
# Input environment variable ${CIENV_SINGULARITYREGISTRY}: registry where the image should be pushed
# Input environment variable ${CIENV_SINGULARITYROBOT}: robot user for the registry where the image should be pushed
# Input environment variable ${CI_
BUILD
_TOKEN}: authentication token for the gitlab registry
# Input environment variable ${CI_
JOB
_TOKEN}: authentication token for the gitlab registry
# Input environment variable ${CI_SING_TOKEN}: authentication token for the HARBOR registry
# Output: standalone WL image stored in the remote Docker image registry
function
publish_standalone_image
(){
@@ -523,7 +523,7 @@ function publish_standalone_image(){
ARCH
=
"
$(
uname
-m
)
"
theimage
=
"
${
CIENV_DOCKERREGISTRY
}
/
${
HEPWL_DOCKERIMAGENAME
}
:
${
HEPWL_DOCKERIMAGETAG
}
"
echo
"[publish_standalone_image] theimage:
$theimage
"
echo
$CI_
BUILD
_TOKEN
| docker login
-u
gitlab-ci-token
--password-stdin
gitlab-registry.cern.ch
||
fail
"[publish_standalone_image] docker login"
echo
$CI_
JOB
_TOKEN
| docker login
-u
gitlab-ci-token
--password-stdin
gitlab-registry.cern.ch
||
fail
"[publish_standalone_image] docker login"
echo
"[publish_standalone_image] docker push
${
theimage
}
_
${
ARCH
}
"
docker tag
"
${
theimage
}
"
"
${
theimage
}
_
${
ARCH
}
"
||
fail
"[publish_standalone_image] docker tag
${
theimage
}
${
theimage
}
_
${
ARCH
}
"
docker push
"
${
theimage
}
_
${
ARCH
}
"
||
fail
"[publish_standalone_image] docker push
${
theimage
}
_
${
ARCH
}
"
Loading