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
77cc0148
Commit
77cc0148
authored
Nov 23, 2021
by
Louis Abel
📺
Browse files
Merge branch 'devel' into 'main'
Devel See merge request
!41
parents
350ef6c8
e73ba201
Pipeline
#122
passed with stage
in 31 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
sync/common_8
View file @
77cc0148
...
...
@@ -52,8 +52,10 @@ NONSIG_COMPOSE=(
)
declare -A SIG_COMPOSE
#SIG_COMPOSE=(
#)
SIG_COMPOSE=(
[kernel]="kernel/kernel"
[kmod]="kernel/kmod"
)
# These repos have modules
MODS=(
...
...
@@ -141,6 +143,7 @@ from configparser import ConfigParser
config = ConfigParser()
config.read('${TREEINFO_VAR}')
config.set('tree', 'variants', 'BaseOS,AppStream')
config.add_section('variant-AppStream')
config.set('variant-AppStream', 'id', 'AppStream')
config.set('variant-AppStream', 'name', 'AppStream')
config.set('variant-AppStream', 'type', 'variant')
...
...
sync/minor-release-sync-to-staging.sh
View file @
77cc0148
...
...
@@ -27,20 +27,19 @@ done
# sync all sig stuff
# Disabled as we will have a different method for sig content and sig content
# is available upstream.
#for SIG in "${!SIG_COMPOSE[@]}"; do
# echo "${SIG}: Syncing"
# cd "/mnt/compose/${MAJ}/latest-${SIG}-${MAJ}/compose" || { echo "${COMPOSE}: Failed to change directory"; break; }
#
# TARGET="${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${SIG_COMPOSE[$SIG]}"
# mkdir -p "${TARGET}"
# # disabling because none of our files should be starting with dashes. If they
# # are something is *seriously* wrong here.
# # shellcheck disable=SC2035
# sudo -l && find **/* -maxdepth 0 -type d | parallel --will-cite -j 18 sudo rsync -av --chown=10004:10005 --progress --relative --human-readable \
# {} "${TARGET}"
#done
# Only enabled for giving preferential treatment.
for
SIG
in
"
${
!SIG_COMPOSE[@]
}
"
;
do
echo
"
${
SIG
}
: Syncing"
cd
"/mnt/compose/
${
MAJ
}
/latest-
${
SIG
}
-
${
MAJ
}
/compose"
||
{
echo
"
${
COMPOSE
}
: Failed to change directory"
;
break
;
}
TARGET
=
"
${
STAGING_ROOT
}
/
${
CATEGORY_STUB
}
/
${
REV
}
/
${
SIG_COMPOSE
[
$SIG
]
}
"
mkdir
-p
"
${
TARGET
}
"
# disabling because none of our files should be starting with dashes. If they
# are something is *seriously* wrong here.
# shellcheck disable=SC2035
sudo
-l
&&
find
**
/
*
-maxdepth
0
-type
d | parallel
--will-cite
-j
18
sudo
rsync
-av
--chown
=
10004:10005
--progress
--relative
--human-readable
\
{}
"
${
TARGET
}
"
done
# copy around the ISOs a bit, make things comfortable
for
ARCH
in
"
${
ARCHES
[@]
}
"
;
do
...
...
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