From a415ed30d824ebe7884b7a5f8dfcb46ceb661628 Mon Sep 17 00:00:00 2001 From: Harm Kroon Date: Fri, 14 Aug 2026 16:51:47 +0200 Subject: [PATCH] Test deb arch, dist, component modification fixes pulp#195 --- tests/playbooks/deb_remote.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/tests/playbooks/deb_remote.yaml b/tests/playbooks/deb_remote.yaml index 60ff5d8..3e73ba4 100644 --- a/tests/playbooks/deb_remote.yaml +++ b/tests/playbooks/deb_remote.yaml @@ -73,6 +73,14 @@ name: "test_deb_remote" policy: "on_demand" tls_validation: false + architectures: + - "arm64" + - "mips" + components: + - "vanaheimr" + - "muspelheim" + distributions: + - "ginnungagap" state: "present" register: "result" - name: "Verify modify remote" @@ -81,12 +89,22 @@ - "result.changed == true" - "result.remote.policy == 'on_demand'" - "result.remote.tls_validation == false" - + - "result.remote.architectures == 'arm64 mips'" + - "result.remote.components == 'vanaheimr muspelheim'" + - "result.remote.distributions == 'ginnungagap'" - name: "Modify remote (2nd try)" pulp.squeezer.deb_remote: name: "test_deb_remote" policy: "on_demand" tls_validation: false + architectures: + - "arm64" + - "mips" + components: + - "vanaheimr" + - "muspelheim" + distributions: + - "ginnungagap" state: "present" register: "result" - name: "Verify modify remote (2nd try)" @@ -141,9 +159,9 @@ - "result.changed == false" - "result.remote.name == 'test_deb_remote'" - "result.remote.url == 'https://example.org/deb/'" - - "result.remote.architectures == 'arm ppc64'" - - "result.remote.components == 'asgard jotunheimr'" - - "result.remote.distributions == 'ragnarok'" + - "result.remote.architectures == 'arm64 mips'" + - "result.remote.components == 'vanaheimr muspelheim'" + - "result.remote.distributions == 'ginnungagap'" - "result.remote.proxy_url == 'http://proxy.int:3128'" - "result.remote.tls_validation == false"