mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
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:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user