From: Dennis Gilmore ausil@fedoraproject.org
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org --- roles/bodhi2/backend/files/fedora-updates-push | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/roles/bodhi2/backend/files/fedora-updates-push b/roles/bodhi2/backend/files/fedora-updates-push index 201c2e2..aff2a31 100755 --- a/roles/bodhi2/backend/files/fedora-updates-push +++ b/roles/bodhi2/backend/files/fedora-updates-push @@ -2,6 +2,7 @@
SOURCE=/mnt/koji/mash/updates DEST=/pub/fedora/linux/updates/ +ALTDEST=/pub/fedora-secondary/updates/ ATOMICSOURCE=/mnt/koji/mash/atomic/ ATOMICDEST=/mnt/koji/atomic/
@@ -100,9 +101,9 @@ done for rel in 26; do
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \ - $SOURCE/f$rel-updates/ $DEST/$rel/ --link-dest $DEST/testing/$rel/) + $SOURCE/f$rel-updates/ $ALTDEST/$rel/ --link-dest $ALTDEST/testing/$rel/) OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \ - $SOURCE/f$rel-updates/ $DEST/$rel/) + $SOURCE/f$rel-updates/ $ALTDEST/$rel/)
# Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ') @@ -121,9 +122,9 @@ done for rel in 26; do
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \ - $SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/) + $SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/) OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \ - $SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/) + $SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/)
# Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
Did you need a ACK/NACK for freeze for this?
If so +1
On Thu, Mar 9, 2017 at 1:50 PM, dennis@ausil.us wrote:
From: Dennis Gilmore ausil@fedoraproject.org
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org
roles/bodhi2/backend/files/fedora-updates-push | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/roles/bodhi2/backend/files/fedora-updates-push b/roles/bodhi2/backend/files/fedora-updates-push index 201c2e2..aff2a31 100755 --- a/roles/bodhi2/backend/files/fedora-updates-push +++ b/roles/bodhi2/backend/files/fedora-updates-push @@ -2,6 +2,7 @@
SOURCE=/mnt/koji/mash/updates DEST=/pub/fedora/linux/updates/ +ALTDEST=/pub/fedora-secondary/updates/ ATOMICSOURCE=/mnt/koji/mash/atomic/ ATOMICDEST=/mnt/koji/atomic/
@@ -100,9 +101,9 @@ done for rel in 26; do
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \
$SOURCE/f$rel-updates/ $DEST/$rel/ --link-dest $DEST/testing/$rel/)
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \$SOURCE/f$rel-updates/ $ALTDEST/$rel/ --link-dest $ALTDEST/testing/$rel/)
$SOURCE/f$rel-updates/ $DEST/$rel/)
$SOURCE/f$rel-updates/ $ALTDEST/$rel/)
# Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
@@ -121,9 +122,9 @@ done for rel in 26; do
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \
$SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/)
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \$SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/)
$SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/)
$SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/)
# Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
-- 1.8.3.1 _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org
infrastructure@lists.fedoraproject.org