mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +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:
@@ -8,10 +8,10 @@ class ListMirror1Test(BaseTest):
|
||||
list mirrors: regular list
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create --ignore-signatures mirror1 http://archive.debian.org/debian-archive/debian/ stretch",
|
||||
"aptly mirror create -with-sources --ignore-signatures mirror2 http://archive.debian.org/debian-archive/debian/ stretch contrib",
|
||||
"aptly -architectures=i386 mirror create --ignore-signatures mirror3 http://archive.debian.org/debian-archive/debian/ stretch non-free",
|
||||
"aptly mirror create -ignore-signatures mirror4 http://download.opensuse.org/repositories/Apache:/MirrorBrain/Debian_9.0/ ./",
|
||||
"aptly mirror create --ignore-signatures mirror1 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch",
|
||||
"aptly mirror create -with-sources --ignore-signatures mirror2 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch contrib",
|
||||
"aptly -architectures=i386 mirror create --ignore-signatures mirror3 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch non-free",
|
||||
"aptly mirror create -ignore-signatures mirror4 http://repo.aptly.info/system-tests/download.opensuse.org/repositories/Apache:/MirrorBrain/Debian_9.0/ ./",
|
||||
]
|
||||
runCmd = "aptly mirror list"
|
||||
|
||||
@@ -50,10 +50,10 @@ class ListMirror6Test(BaseTest):
|
||||
list mirrors: regular list
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create --ignore-signatures mirror1 http://archive.debian.org/debian-archive/debian/ stretch",
|
||||
"aptly mirror create -with-sources --ignore-signatures mirror2 http://archive.debian.org/debian-archive/debian/ stretch contrib",
|
||||
"aptly -architectures=i386 mirror create --ignore-signatures mirror3 http://archive.debian.org/debian-archive/debian/ stretch non-free",
|
||||
"aptly mirror create -ignore-signatures mirror4 http://download.opensuse.org/repositories/Apache:/MirrorBrain/Debian_9.0/ ./",
|
||||
"aptly mirror create --ignore-signatures mirror1 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch",
|
||||
"aptly mirror create -with-sources --ignore-signatures mirror2 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch contrib",
|
||||
"aptly -architectures=i386 mirror create --ignore-signatures mirror3 http://repo.aptly.info/system-tests/archive.debian.org/debian-archive/debian/ stretch non-free",
|
||||
"aptly mirror create -ignore-signatures mirror4 http://repo.aptly.info/system-tests/download.opensuse.org/repositories/Apache:/MirrorBrain/Debian_9.0/ ./",
|
||||
]
|
||||
runCmd = "aptly mirror list -json"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user