Skip to content
Snippets Groups Projects

Fixes uncovered in dry-run mode

Merged Ritesh Raj Sarraf requested to merge wip/ritesh/dry-run-fixes.main into main
All threads resolved!
1 file
+ 3
9
Compare changes
  • Side-by-side
  • Inline
+ 3
9
@@ -224,12 +224,12 @@ obs-prepare-server:
# We need to seed the current release to the new release to take care of the arch independent packages.
# Aptly can keep different files with the same name in its internal pool, but it will bail out when that
# pool is published to a public apt repository. At that point, it will error out citing 2 files with same name but different checksums
EOF
for c in $COMPONENTS
do
aptly repo copy $OSNAME:$RELEASE:$c $OSNAME:$NEXT_RELEASE:$c
echo aptly repo copy $OSNAME:$RELEASE:$c $OSNAME:$NEXT_RELEASE:$c
done
osc fork --no-verify $OSNAME:$RELEASE $OSNAME:$NEXT_RELEASE
EOF
echo osc fork --no-verify $OSNAME:$RELEASE $OSNAME:$NEXT_RELEASE
for c in $COMPONENTS
do
echo "obs_admin --clone-repository $OSNAME:$RELEASE:$c default $OSNAME:$NEXT_RELEASE:$c default"
@@ -260,17 +260,11 @@ obs-new-repos-setup:
- |
for c in $COMPONENTS
do
# For every component, we also need a :$component:snapshots repository for gitlab
./create-new-repos "$c:snapshots" "$c"
if ! [ $DEV_RELEASE -eq 1 ]
then
for n in $NEW_COMPONENTS
do
./create-new-repos "$n:$c" "$c"
# Also create the snapshot repositories
./create-new-repos "$n:$c:snapshots" "$n:$c"
done
fi
done
Loading