mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
system tests: use repository mirrors on S3 for reproducibility
no direct internet download from apt repositories, which over time will change or cease to exist. also migrate to gpg2 on newer ubuntu.
This commit is contained in:
@@ -983,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://archive.debian.org/debian-archive/debian/ stretch main non-free",
|
||||
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch main non-free",
|
||||
"aptly mirror update -keyring=aptlytest.gpg stretch",
|
||||
"aptly snapshot create stretch from mirror stretch",
|
||||
]
|
||||
@@ -1140,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://archive.debian.org/debian-archive/debian/ stretch main non-free",
|
||||
"aptly -architectures=i386,amd64 mirror create -keyring=aptlytest.gpg -filter='$$Source (gnupg2)' -with-udebs stretch http://repo.aptly.info/system-tests/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",
|
||||
@@ -1156,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://archive.debian.org/debian-archive/debian/ stretch main",
|
||||
"aptly -architectures=s390x mirror create -keyring=aptlytest.gpg -filter='installer' -with-installer stretch http://repo.aptly.info/system-tests/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