openpgp: export full key for internal gpg

This commit is contained in:
André Roth
2024-04-11 09:50:19 +02:00
parent 9deb031c44
commit 32595e7cb7
2 changed files with 9 additions and 12 deletions
+3 -3
View File
@@ -355,7 +355,7 @@ class UpdateMirror20Test(BaseTest):
fixtureGpg = True
configOverride = {"gpgProvider": "internal"}
fixtureCmds = [
"gpg --no-default-keyring --keyring aptlytest.gpg --export-options export-minimal --export -o " + os.path.join(
"gpg --no-default-keyring --keyring aptlytest.gpg --export -o " + os.path.join(
os.environ["HOME"], ".gnupg/aptlytest-gpg1.gpg"),
"aptly mirror create --keyring=aptlytest-gpg1.gpg -architectures=amd64 --filter='r-cran-class' flat http://repo.aptly.info/system-tests/cloud.r-project.org/bin/linux/debian bullseye-cran40/",
]
@@ -374,7 +374,7 @@ class UpdateMirror21Test(BaseTest):
configOverride = {"gpgProvider": "internal", "max-tries": 1}
fixtureGpg = True
fixtureCmds = [
"gpg --no-default-keyring --keyring aptlytest.gpg --export-options export-minimal --export -o " + os.path.join(
"gpg --no-default-keyring --keyring aptlytest.gpg --export -o " + os.path.join(
os.environ["HOME"], ".gnupg/aptlytest-gpg1.gpg"),
"aptly mirror create --keyring=aptlytest-gpg1.gpg pagerduty http://repo.aptly.info/system-tests/packages.pagerduty.com/pdagent deb/"
]
@@ -395,7 +395,7 @@ class UpdateMirror22Test(BaseTest):
configOverride = {"gpgProvider": "internal"}
fixtureGpg = True
fixtureCmds = [
"gpg --no-default-keyring --keyring aptlytest.gpg --export-options export-minimal --export -o " + os.path.join(
"gpg --no-default-keyring --keyring aptlytest.gpg --export -o " + os.path.join(
os.environ["HOME"], ".gnupg/aptlytest-gpg1.gpg"),
"aptly mirror create --keyring=aptlytest-gpg1.gpg --filter=nomatch libnvidia-container http://repo.aptly.info/system-tests/nvidia.github.io/libnvidia-container/stable/ubuntu16.04/amd64 ./"
]