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
a52038e6
Commit
a52038e6
authored
Jul 27, 2021
by
Louis Abel
📺
Browse files
Merge branch 'devel' into 'main'
open-size is empty See merge request
!16
parents
50199039
2869c480
Pipeline
#61
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sync/prep-staging-8.sh
View file @
a52038e6
...
...
@@ -25,6 +25,8 @@ for y in "${ALL_REPOS[@]}"; do
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree/repodata/repomd.xml"
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree/repodata/repomd.xml"
else
echo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/source/tree does not exist"
fi
...
...
@@ -45,6 +47,8 @@ for x in "${ARCHES[@]}"; do
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/
${
z
}
/repodata/repomd.xml"
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/
${
z
}
/repodata/repomd.xml"
else
echo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/
${
z
}
does not exist"
fi
...
...
@@ -59,6 +63,8 @@ for x in "${ARCHES[@]}"; do
"--distro=cpe:/o:rocky:rocky:
${
REVISION
:0:1
}
,Rocky Linux
${
REVISION
:0:1
}
"
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/debug/tree/repodata/repomd.xml"
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/debug/tree/repodata/repomd.xml"
else
echo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/debug/tree does not exist"
fi
...
...
@@ -77,6 +83,8 @@ for x in "${ARCHES[@]}"; do
--workers
=
8
--checksum
=
sha256
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os/repodata/repomd.xml"
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os/repodata/repomd.xml"
else
echo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os does not exist"
fi
...
...
@@ -95,6 +103,8 @@ for x in "${ARCHES[@]}"; do
# This might not be necessary, but it does not hurt incase repomd is modified
test
-f
/root/bin/sign-repo.sh
&&
/root/bin/sign-repo.sh
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os/repodata/repomd.xml"
sed
-i
'/<open-size><\/open-size>/d'
\
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os/repodata/repomd.xml"
else
echo
"
${
STAGING_ROOT
}
/
${
RELEASE_DIR
}
/
${
y
}
/
${
x
}
/os does not exist"
fi
...
...
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