Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
09f9737d
Commit
09f9737d
authored
14 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
add pack200 to promote script
parent
6d540ce6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
releng.control/addRepoProperties.sh
+4
-2
4 additions, 2 deletions
releng.control/addRepoProperties.sh
releng.control/promote.sh
+10
-5
10 additions, 5 deletions
releng.control/promote.sh
with
14 additions
and
7 deletions
releng.control/addRepoProperties.sh
+
4
−
2
View file @
09f9737d
...
...
@@ -25,13 +25,15 @@ BUILD_BRANCH=$2
BUILD_ID
=
$3
STATS_TAG_SUFFIX
=
$4
if
[[
-z
REPO
]]
if
[[
-z
"
${
REPO
}
"
]]
then
echo
"ERROR: this script requires a repository to add properties to."
;
exit
1
;
fi
echo
"BUILD_BRANCH:
${}
echo
"BUILD_BRANCH:
${
BUILD_BRANCH
}
"
;
echo
"BUILD_ID:
${
BUILD_ID
}
"
;
echo
"STATS_TAG_SUFFIX:
${
STATS_TAG_SUFFIX
}
"
;
if
[[
\(
!
\(
-z
"
${
BUILD_BRANCH
"}
\)
\)
-a
\(
!
\(
-z "
${
BUILD_ID
}
"
\)
\)
]]
then
...
...
This diff is collapsed.
Click to expand it.
releng.control/promote.sh
+
10
−
5
View file @
09f9737d
...
...
@@ -187,11 +187,16 @@ fi
# TODO: we currently do not add properties to tests repo ... maybe should? for mirror URL, at least.
# TODO: a fourth argument can be specified to provide stats suffix
# such as _helios_SR2, _indigo_SR0 ... but, takes some customization updated fairly often, to be accurate.
if
[[
$addProperties
-a
\(
-d
"
${
repoDirLocation
}
"
\)
]]
then
${
RELENG_CONTROL
}
/addRepoProperties.sh
"
${
repoDirLocation
}
"
"
${
buildBranch
}
"
"
${
dropDirName
}
"
fi
if
[[
$addProperties
]]
then
repoDirLocation
=
$FROMDIR
/repository
if
[[
-d
"
${
repoDirLocation
}
"
]]
then
${
RELENG_CONTROL
}
/addRepoProperties.sh
"
${
repoDirLocation
}
"
"
${
buildBranch
}
"
"
${
dropDirName
}
"
else
echo
"ERROR: addProperties requested, but repo location does not exist:
${
repoDirLocation
}
"
;
fi
fi
if
[
"patches"
==
$distribution
]
then
...
...
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