Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCData
lhc-sm-api
Commits
449c1689
Commit
449c1689
authored
Jun 27, 2022
by
Aleksandra Mnich
Browse files
[SIGMON-369] wip
parent
bf8f8268
Pipeline
#4152348
failed with stage
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/deploy_analysis.sh
View file @
449c1689
...
...
@@ -11,12 +11,9 @@ yum install jq -y
echo
"
${
EOS_ACCOUNT_PASSWORD
}
"
| kinit
"
${
EOS_ACCOUNT_USERNAME
}
@CERN.CH"
REPOS
=
(
$(
curl
-s
https://gitlab.cern.ch/api/v4/groups/152156 | jq
-r
".projects[].http_url_to_repo"
)
)
REPOS
=
$(
curl
-s
https://gitlab.cern.ch/api/v4/groups/152156 | jq
-r
".projects[].http_url_to_repo"
)
for
REPO
in
REPOS
;
do
# extract the name
DIR
=(
$(
echo
$REPO
|
cut
-d
/
-f6
|
cut
-d
.
-f1
)
)
for
REPO
in
${
REPOS
}
;
do
# check if branch exists
git ls-remote
--exit-code
--heads
"
${
REPO
}
"
"
${
ANALYSIS_BRANCH
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment