Fix: Pipeline dependency on deb.debian.org, replace with archive

This should fix some tests, as a lot of them are dependent on
deb.debian.org which no longer supports Debian 9 "Stretch".
Instead we use archive.debian.org which will continue to contain
"Stretch" packages for a long time.
This commit is contained in:
Mauro Regli
2023-05-10 14:44:42 +02:00
committed by Mauro
parent 9c6f896666
commit d1102e2e9c
49 changed files with 283 additions and 278 deletions
+5 -4
View File
@@ -1,6 +1,7 @@
import os
import hashlib
import inspect
import os
from lib import BaseTest, ungzip_if_required
@@ -982,7 +983,7 @@ class PublishSnapshot35Test(BaseTest):
configOverride = {"max-tries": 1}
fixtureGpg = True
fixtureCmds = [
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://cdn-fastly.deb.debian.org/debian/ stretch main non-free",
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://archive.debian.org/debian-archive/debian/ stretch main non-free",
"aptly mirror update -keyring=aptlytest.gpg stretch",
"aptly snapshot create stretch from mirror stretch",
]
@@ -1139,7 +1140,7 @@ class PublishSnapshot37Test(BaseTest):
configOverride = {"max-tries": 1}
fixtureGpg = True
fixtureCmds = [
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://cdn-fastly.deb.debian.org/debian/ stretch main non-free",
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://archive.debian.org/debian-archive/debian/ stretch main non-free",
"aptly mirror update -keyring=aptlytest.gpg stretch",
"aptly mirror update -keyring=aptlytest.gpg stretch",
"aptly snapshot create stretch from mirror stretch",
@@ -1155,7 +1156,7 @@ class PublishSnapshot38Test(BaseTest):
configOverride = {"max-tries": 1}
fixtureGpg = True
fixtureCmds = [
"aptly -architectures=s390x mirror create -keyring=aptlytest.gpg -filter='installer' -with-installer stretch http://cdn-fastly.deb.debian.org/debian/ stretch main",
"aptly -architectures=s390x mirror create -keyring=aptlytest.gpg -filter='installer' -with-installer stretch http://archive.debian.org/debian-archive/debian/ stretch main",
"aptly mirror update -keyring=aptlytest.gpg stretch",
"aptly snapshot create stretch from mirror stretch",
]