Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jenkins.debian.net
Manage
Activity
Members
Labels
Code
Merge requests
11
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Debian QA
jenkins.debian.net
Commits
c26ea9f7
Commit
c26ea9f7
authored
3 years ago
by
Holger Levsen
Browse files
Options
Downloads
Patches
Plain Diff
deploy_jdn: allow to deploy only on some nodes, but not jenkins
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
a4ce754d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy_jdn
+13
-3
13 additions, 3 deletions
deploy_jdn
with
13 additions
and
3 deletions
deploy_jdn
+
13
−
3
View file @
c26ea9f7
...
...
@@ -25,8 +25,14 @@
# ./deploy_jdn jenkins o167 - deploy on jenkins and osuosl167
# ./deploy_jdn jenkins c9 - deploy on jenkins and codethink9
# ./deploy_jdn jenkins 10 - deploy on jenkins and ionos10
# ./deploy_jdn jenkins 5 6 - deploy on jenkins and ionos
6
and ionos6
# ./deploy_jdn jenkins 5 6 - deploy on jenkins and ionos
5
and ionos6
# ./deploy_jdn jenkins amd64 - deploy on jenkins and all amd64 nodes
# ./deploy_jdn only ionos10 - deploy on ionos10
# ./deploy_jdn only o167 - deploy on osuosl167
# ./deploy_jdn only c9 - deploy on codethink9
# ./deploy_jdn only 10 - deploy on ionos10
# ./deploy_jdn only 5 6 - deploy on ionos5 and ionos6
# ./deploy_jdn only amd64 - deploy on all amd64 only
# ./deploy_jdn upgrade|u - run "apt-get update && upgrade && clean" everywhere
# ./deploy_jdn upgradey|uy - run "apt-get upgrade -y" everywhere
# ./deploy_jdn rmstamp|rm - delete stamp files everywhere
...
...
@@ -101,8 +107,12 @@ elif [ "$1" = "check" ] ; then
elif
[
"
$1
"
=
""
]
;
then
HOSTS
=(
root@jenkins.debian.net
)
echo
-n
"Running j.d.n.git updates on
${
HOSTS
[@]
}
now"
elif
[
"
$1
"
=
"jenkins"
]
;
then
HOSTS
=(
root@jenkins.debian.net
)
elif
[
"
$1
"
=
"jenkins"
]
||
[
"
$1
"
=
"only"
]
;
then
if
[
"
$1
"
=
"jenkins"
]
;
then
HOSTS
=(
root@jenkins.debian.net
)
else
HOSTS
=()
fi
shift
for
i
in
"
$@
"
;
do
case
"
$i
"
in
...
...
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