Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
orchestra
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
revng
orchestra
Commits
332545cb
Commit
332545cb
authored
4 years ago
by
Alessandro Di Federico
Browse files
Options
Downloads
Patches
Plain Diff
CI: fix TARGET_COMPONENT_URL handling
parent
35e0f458
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3033
passed
4 years ago
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.orchestra/ci/ci.sh
+3
-3
3 additions, 3 deletions
.orchestra/ci/ci.sh
with
3 additions
and
3 deletions
.orchestra/ci/ci.sh
+
3
−
3
View file @
332545cb
...
...
@@ -65,9 +65,9 @@ echo "$BASE_USER_OPTIONS_YML" | sed "s|%GITLAB_ROOT%|$GITLAB_ROOT|g" > ../config
if
test
-n
"
$TARGET_COMPONENTS_URL
"
;
then
# Add components by repository URL
for
TARGET_COMPONENT_URL
in
$TARGET_COMPONENTS_URL
;
do
NEW_COMPONENT
+
=
"
$(
orc components
--repository-url
"
$TARGET_COMPONENT_URL
"
\
|
grep
'^Component'
\
|
cut
-d
' '
-f2
)
"
NEW_COMPONENT
=
"
$(
orc components
--repository-url
"
$TARGET_COMPONENT_URL
"
\
|
grep
'^Component'
\
|
cut
-d
' '
-f2
)
"
if
test
-z
"
$NEW_COMPONENT
"
;
then
log
"Warning: ignoring URL
$TARGET_COMPONENT_URL
since it doesn't match any component"
else
...
...
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