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,4 +1,5 @@
|
||||
import re
|
||||
|
||||
from lib import BaseTest
|
||||
|
||||
|
||||
@@ -65,7 +66,7 @@ class EditMirror6Test(BaseTest):
|
||||
edit mirror: change architectures
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create -ignore-signatures -architectures=amd64 mirror6 http://cdn-fastly.deb.debian.org/debian stretch main"
|
||||
"aptly mirror create -ignore-signatures -architectures=amd64 mirror6 http://archive.debian.org/debian-archive/debian stretch main"
|
||||
]
|
||||
runCmd = "aptly mirror edit -ignore-signatures -architectures=amd64,i386 mirror6"
|
||||
|
||||
@@ -79,7 +80,7 @@ class EditMirror7Test(BaseTest):
|
||||
edit mirror: change architectures to missing archs
|
||||
"""
|
||||
fixtureCmds = [
|
||||
"aptly mirror create -ignore-signatures -architectures=amd64 stretch http://cdn-fastly.deb.debian.org/debian stretch main"
|
||||
"aptly mirror create -ignore-signatures -architectures=amd64 stretch http://archive.debian.org/debian-archive/debian stretch main"
|
||||
]
|
||||
runCmd = "aptly mirror edit -ignore-signatures -architectures=amd64,x56 stretch"
|
||||
expectedCode = 1
|
||||
|
||||
Reference in New Issue
Block a user