mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
ipatests: Skip keyring tests on containerized platforms
The kernel keyrings are not namespaced yet. Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
parent
2b85bfb030
commit
e5c09675f3
@ -12,7 +12,7 @@ jobs:
|
||||
vmImage: $(VM_IMAGE)
|
||||
container:
|
||||
image: $(DOCKER_BUILD_IMAGE)
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --env container=docker
|
||||
steps:
|
||||
- template: templates/${{ variables.PREPARE_BUILD_TEMPLATE }}
|
||||
- script: |
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
vmImage: $(VM_IMAGE)
|
||||
container:
|
||||
image: $(DOCKER_BUILD_IMAGE)
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --env container=docker
|
||||
steps:
|
||||
- template: templates/${{ variables.PREPARE_BUILD_TEMPLATE }}
|
||||
- script: |
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
vmImage: $(VM_IMAGE)
|
||||
container:
|
||||
image: $(DOCKER_BUILD_IMAGE)
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --env container=docker
|
||||
steps:
|
||||
- template: templates/${{ variables.PREPARE_BUILD_TEMPLATE }}
|
||||
- task: UsePythonVersion@0
|
||||
@ -115,7 +115,7 @@ jobs:
|
||||
vmImage: $(VM_IMAGE)
|
||||
container:
|
||||
image: $(DOCKER_BUILD_IMAGE)
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged
|
||||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged --env container=docker
|
||||
steps:
|
||||
- template: templates/${{ variables.PREPARE_BUILD_TEMPLATE }}
|
||||
- task: UsePythonVersion@0
|
||||
|
@ -11,8 +11,6 @@ vms:
|
||||
- test_ipaserver
|
||||
- test_ipatests_plugins
|
||||
- test_xmlrpc/test_dns_plugin.py
|
||||
ignore:
|
||||
- test_ipapython/test_keyring.py
|
||||
type: base
|
||||
|
||||
- container_job: xmlrpc
|
||||
|
@ -36,6 +36,9 @@ SIZE_512 = 'abcdefgh' * 64
|
||||
SIZE_1024 = 'abcdefgh' * 128
|
||||
|
||||
|
||||
@pytest.mark.skip_if_container(
|
||||
"any", reason="kernel keyrings are not namespaced yet"
|
||||
)
|
||||
class test_keyring:
|
||||
"""
|
||||
Test the kernel keyring interface
|
||||
|
Loading…
Reference in New Issue
Block a user