Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Release Engineering
Public
toolkit
Commits
2742347e
Verified
Commit
2742347e
authored
Dec 19, 2021
by
Louis Abel
📺
Browse files
add workers 8 and remove update
parent
e73ba201
Pipeline
#129
passed with stage
in 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sync/prep-staging-8.sh
View file @
2742347e
...
...
@@ -21,8 +21,9 @@ for y in "${ALL_REPOS[@]}"; do
test
-d
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree"
ret_val
=
$?
if
[
"
$ret_val
"
-eq
0
]
;
then
createrepo
--update
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree"
\
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
createrepo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree"
\
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
\
--workers
8
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree/repodata/repomd.xml"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
...
...
@@ -44,7 +45,8 @@ for x in "${ARCHES[@]}"; do
ret_val
=
$?
if
[
"
$ret_val
"
-eq
0
]
;
then
createrepo
--update
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/
${
z
}
"
\
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
\
--workers
8
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/
${
z
}
/repodata/repomd.xml"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
...
...
@@ -60,7 +62,8 @@ for x in "${ARCHES[@]}"; do
ret_val
=
$?
if
[
"
$ret_val
"
-eq
0
]
;
then
createrepo
--update
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/debug/tree"
\
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
\
--workers
8
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/debug/tree/repodata/repomd.xml"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
...
...
Write
Preview
Markdown
is supported
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