Skip to content

Commit

Permalink
ci: Add unprivileged compose test
Browse files Browse the repository at this point in the history
This should all work with preceeding commits, let's start testing
it.

Closes: coreos#1329
  • Loading branch information
cgwalters committed Apr 11, 2018
1 parent 08ff1a4 commit 6db5585
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .papr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ tests:
-v $(pwd):/srv/code -w /srv/code
registry.fedoraproject.org/fedora:27 /bin/sh -c
"./ci/build.sh && make install && ./tests/compose"
# And now one that isn't --privileged https://github.com/projectatomic/rpm-ostree/issues/1329
- docker run --rm --security-opt seccomp=unconfined
--security-opt label=type:spc_t \
-e RPMOSTREE_COMPOSE_TEST_USE_REPOS=/etc/yum.repos.d.host
-v /etc/yum.repos.d:/etc/yum.repos.d.host:ro
-v $(pwd):/srv/code -w /srv/code
registry.fedoraproject.org/fedora:27 /bin/sh -c
"./ci/build.sh && make install && env TESTS=basic ./tests/compose"


artifacts:
- test-compose-logs
Expand Down

0 comments on commit 6db5585

Please sign in to comment.