Skip to content

Commit

Permalink
build(ci): add gitlab ci for whonix.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Nov 13, 2023
1 parent aa84d08 commit 58b5773
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ ubuntu:
paths:
- $PKGDEST/*.deb

whonix:
extends: debian
variables:
DISTRIBUTION: whonix

opensuse:
stage: build
image: registry.gitlab.com/roddhjav/builders/opensuse
Expand Down Expand Up @@ -146,15 +151,15 @@ preprocess-debian:
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null

preprocess-ubuntu:
stage: preprocess
extends: preprocess-debian
image: ubuntu
dependencies:
- ubuntu
script:
- apt-get update -q
- apt-get install -y apparmor apparmor-profiles
- dpkg --install $PKGDEST/*
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null

preprocess-whonix:
extends: preprocess-debian
dependencies:
- whonix

preprocess-opensuse:
stage: preprocess
Expand Down

2 comments on commit 58b5773

@monsieuremre
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrelanos are there any profiles missing in this collection that would prevent a whonix box from functioning? Maybe stuff like sdwdate. Most whonix utils have their profiles. I think @roddhjav would be open to having those profiles ported into here, if you are into that kind of thing. If not, it might be necessary to add these profiles as install dependencies for the .deb target produced for whonix/kicksecure.

@adrelanos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adrelanos are there any profiles missing in this collection that would prevent a whonix box from functioning?

No idea. I don't really understand why a missing profile could break Whonix. Sounds complicated. Too complicated to just have this as a git commit comment. If this requires more input from me, please open a new issue.

Maybe stuff like sdwdate. Most whonix utils have their profiles. I think @roddhjav would be open to having those profiles ported into here, if you are into that kind of thing. If not, it might be necessary to add these profiles as install dependencies for the .deb target produced for whonix/kicksecure.

Created #250 for it.

Please sign in to comment.