Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3c01c26a8 |
||
|
|
cfd328ce27 |
||
|
|
bec3fbc2b8 |
||
|
|
e3eb4f93b3 |
||
|
|
24549e2542 |
||
|
|
999885bd8f |
||
|
|
d3d75c6645 |
5 changed files with 33 additions and 10 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -6,3 +6,8 @@
|
|||
/v0.1.6.tar.gz
|
||||
/v0.1.7.tar.gz
|
||||
/v0.1.8.tar.gz
|
||||
/v0.1.9.tar.gz
|
||||
/v0.2.0.tar.gz
|
||||
/v0.2.1.tar.gz
|
||||
/v0.2.2.tar.gz
|
||||
/v0.2.3.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v0.1.8.tar.gz) = ada8f3183904ac0aa1715e564f708ce3bda02719ecc2587e3774205bba39e585f2df7392861317a4324e8ea2c2f6fa031c3a0f440be6ca5408398b238089b891
|
||||
SHA512 (v0.2.3.tar.gz) = 78e6bae5a26e50ddc01a251802a02d6c48d8a87a8a1c343f9b40d0b2fdafbe435d62e6c1b6fb7c1365f536fac02f01d9057b2ffdaef27a9f91f3b245840754fb
|
||||
|
|
|
|||
|
|
@ -51,12 +51,13 @@ rlJournalStart
|
|||
|
||||
rlRun "podman exec test ls /home" 1,2
|
||||
rlRun "podman exec test touch /var/spool/test" 1
|
||||
rlRun "podman exec test dnf install nmap-ncat -y" 0
|
||||
rlWatchdog "rlRun \"podman exec test nc -l 53\"" 3
|
||||
|
||||
CONT_ID=$(podman ps | grep test | cut -d ' ' -f 1)
|
||||
rlRun "podman inspect $CONT_ID | udica my_container >$OUTPUT_FILE"
|
||||
rlRun "podman stop test"
|
||||
rlRun "podman rm test"
|
||||
rlRun "podman rm --force test"
|
||||
|
||||
rlRun "cat $OUTPUT_FILE"
|
||||
rlAssertExists "my_container.cil"
|
||||
|
|
@ -71,10 +72,11 @@ rlJournalStart
|
|||
|
||||
rlRun "podman exec test2 ls /home" 0
|
||||
rlRun "podman exec test2 touch /var/spool/test" 0
|
||||
rlWatchdog "rlRun \"podman exec test2 nc -l 53\" 1" 3
|
||||
rlRun "podman exec test2 dnf install nmap-ncat -y" 0
|
||||
rlWatchdog "rlRun \"podman exec test2 nc -l 53\" 2" 3
|
||||
|
||||
rlRun "podman stop test2"
|
||||
rlRun "podman rm test2"
|
||||
rlRun "podman rm --force test2"
|
||||
|
||||
rlRun "semodule -r my_container base_container net_container home_container"
|
||||
rlRun "rm my_container.cil"
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@
|
|||
- python3
|
||||
tests:
|
||||
- smoke:
|
||||
dir: ./source/tests
|
||||
run: python3 -m unittest
|
||||
dir: ./source
|
||||
run: python3 -m unittest -v tests/test_unit.py
|
||||
- smoke2:
|
||||
dir: ./source/tests
|
||||
run: python3 test_main.py selinux_enabled
|
||||
dir: ./source
|
||||
run: python3 tests/test_integration.py
|
||||
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
|
|
|
|||
20
udica.spec
20
udica.spec
|
|
@ -1,7 +1,7 @@
|
|||
Summary: A tool for generating SELinux security policies for containers
|
||||
Name: udica
|
||||
Version: 0.1.8
|
||||
Release: 2%{?dist}
|
||||
Version: 0.2.3
|
||||
Release: 1%{?dist}
|
||||
Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz
|
||||
License: GPLv3+
|
||||
BuildArch: noarch
|
||||
|
|
@ -60,6 +60,22 @@ install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 13 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.3-1
|
||||
- New rebase https://github.com/containers/udica/releases/tag/v0.2.3
|
||||
|
||||
* Mon Aug 03 2020 Lukas Vrabec <lvrabec@redhat.com> - 0.2.2-1
|
||||
- New rebase https://github.com/containers/udica/releases/tag/v0.2.2
|
||||
|
||||
* Fri Oct 25 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.2.1-1
|
||||
- New rebase https://github.com/containers/udica/releases/tag/v0.2.1
|
||||
|
||||
* Wed Sep 25 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.2.0-1
|
||||
- New rebase https://github.com/containers/udica/releases/tag/v0.2.0
|
||||
|
||||
* Wed Aug 28 2019 Lukas Vrabec <lvrabec@redhat.com> - 0.1.9-1
|
||||
- Update tests test_basic.podman.cil, test_basic.docker.cil. Round 2
|
||||
- New rebase https://github.com/containers/udica/releases/tag/v0.1.9
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue