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
ba6e9911
Commit
ba6e9911
authored
Nov 12, 2021
by
Louis Abel
📺
Browse files
Merge branch 'devel' into 'main'
Devel See merge request
!39
parents
29bd9fe1
17f819cb
Pipeline
#117
passed with stage
in 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sync/common_8
View file @
ba6e9911
...
...
@@ -116,8 +116,8 @@ EOF
function treeinfoModderKickstart() {
BaseOSArch="${1}"
TREEINFO_VAR="${STAGING_ROOT}/${RELEASE_DIR}/BaseOS/${BaseOSArch}/
os
/.treeinfo"
PRISTINE_TREE="${STAGING_ROOT}/${RELEASE_DIR}/BaseOS/${BaseOSArch}/
os
/.treeinfo-pristine"
TREEINFO_VAR="${STAGING_ROOT}/${RELEASE_DIR}/BaseOS/${BaseOSArch}/
kickstart
/.treeinfo"
PRISTINE_TREE="${STAGING_ROOT}/${RELEASE_DIR}/BaseOS/${BaseOSArch}/
kickstart
/.treeinfo-pristine"
test -f "${TREEINFO_VAR}"
treeinfo_retval=$?
test -x /usr/bin/python3
...
...
sync/minor-release-sync-to-staging.sh
View file @
ba6e9911
...
...
@@ -60,16 +60,16 @@ for ARCH in "${ARCHES[@]}"; do
cp
"
${
SOURCE
}
"
/
*
.iso
"
${
TARGET
}
/"
cp
"
${
SOURCE
}
"
/
*
.iso.manifest
"
${
TARGET
}
/"
pushd
"
${
TARGET
}
"
||
{
echo
"Could not change directory"
;
break
;
}
# shellcheck disable=SC2086
for
file
in
*
.iso
;
do
printf
"# %s: %s bytes
\n
%s
\n
"
\
"
${
file
}
"
\
"
$(
stat
-c
%s
${
file
}
)
"
\
"
$(
sha256sum
--tag
${
file
}
)
"
\
|
sudo tee
-a
CHECKSUM
;
done
popd
||
{
echo
"Could not change directory"
;
break
;
}
done
# shellcheck disable=SC2086
for
file
in
*
.iso
;
do
printf
"# %s: %s bytes
\n
%s
\n
"
\
"
${
file
}
"
\
"
$(
stat
-c
%s
${
file
}
)
"
\
"
$(
sha256sum
--tag
${
file
}
)
"
\
|
sudo tee
-a
CHECKSUM
;
done
popd
||
{
echo
"Could not change directory"
;
break
;
}
done
# make a kickstart directory
...
...
sync/sync-to-prod.sh
View file @
ba6e9911
...
...
@@ -29,7 +29,8 @@ if [ $ret_val -eq "0" ]; then
cd
"
${
PRODUCTION_ROOT
}
/
${
CATEGORY_STUB
}
/"
||
{
echo
"Failed to change directory"
;
exit
1
;
}
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
/usr/local/bin/create-filelist
>
fullfiletimelist-rocky
cp
fullfiletimelist-rocky fullfiletimelist
fi
chown
10004:10005 fullfilelist fullfiletimelist-rocky
chown
10004:10005 fullfilelist fullfiletimelist-rocky
fullfiletimelist
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