Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
payload-gitlab-cms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
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
awesome-workshop
payload-gitlab-cms
Commits
dffd1d19
Commit
dffd1d19
authored
5 years ago
by
Clemens Lange
Browse files
Options
Downloads
Patches
Plain Diff
Add cms-addpkg example
parent
32e7bca7
No related branches found
No related tags found
No related merge requests found
Pipeline
#1381613
failed
5 years ago
Stage: setup
Stage: compile
Stage: run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
dffd1d19
...
...
@@ -71,6 +71,24 @@ cmssw_compile:
-
cp -r "${CI_PROJECT_DIR}/ZPeakAnalysis" "${CMSSW_BASE}/src/MyAnalysis/"
-
scram b
cmssw_addpkg
:
stage
:
compile
tags
:
-
cvmfs
variables
:
CMS_PATH
:
/cvmfs/cms.cern.ch
CMSSW_RELEASE
:
CMSSW_10_6_8_patch1
script
:
-
shopt -s expand_aliases
-
set +u && source ${CMS_PATH}/cmsset_default.sh; set -u
-
cmsrel ${CMSSW_RELEASE}
-
cd ${CMSSW_RELEASE}/src
-
cmsenv
# For a single package analysis, the repository would be called "MyAnalysis"
# Here we mimick this by creating the directory by hand
-
git cms-addpkg PhysicsTools/PatExamples
-
scram b
cmssw_run
:
stage
:
run
image
:
...
...
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