Actions

Dev/Continuous Integration

From Whonix

< Dev



Status Badges[edit]

For status badges see:
https://github.com/Whonix/Whonix#build-status [archive]

General Note about CI Services in use for Building Whonix ™[edit]

Since all Continuous Integration [archive] (CI) services we know of run Ubuntu and Whonix ™ is based on Debian, it was required to add a few CI specific workarounds to Whonix ™ build script. Therefore, if a CI build works, that doesn't necessarily mean, that a Debian based build would succeed as well. So the usefulness of the results is a bit limited. Nevertheless, compatibility with CI environments is a very useful "stress test" for the build script. It helps early spotting most bugs, which break the build.

Since there are no free CI services supporting mount (device-mapper), there is unfortunately no CI service which could be used for building Whonix ™ Virtual Machine images. Instead, we're CI's for simulating builds of Whonix ™ Debian Packages as well as (minimal or full) --install-to-root builds.

See also warning not to use images created inside Continuous Integration (CI) environments for anything besides testing!

CI Services in Use[edit]

Travis CI[edit]

General:

Some more technical notes:

drone.io[edit]

  • Only building Whonix ™ Debian Packages. No virtual machine images or physically isolated machines, because build timeout is too short. Only running.

Whonix ™ drone.io settings. [archive]

sudo -E ./build-steps.d/1100_prepare-build-machine --target root
sudo -E ./build-steps.d/1200_create-debian-packages

Other CI Services not in use due to issues[edit]

codeship.io[edit]

shiningpanda-ci.com[edit]

  • "Due to our limited capacity we cannot accept all projects at once and that's why your subscription was queued. As we increase our capacity we will allow more and more open-source projects, based on a first registered, first served policy. Here is your position in the queue:" 198 Whonix

wercker.com[edit]

  • has $WERCKER_CACHE_DIR
  • gpg key creation takes very very log due to low entropy - asked support
  • another issue while running grml-debootstrap
/dev/mapper/control: open failed: Operation not permitted
Failure to communicate with kernel device-mapper driver.
device mapper prerequisites not met
* Error setting up loopback device.
-> Failed (rc=1)

Footnotes[edit]

  1. If is CI detected... Linking /dev/urandom to /dev/random. In CI environment, there is usually very little entropy. Therefore gpg key creation takes very long. Since no images are deployed from CI systems, we can do this.


Fosshost is sponsors Kicksecure ™ stage server 100px
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: Discourse logo.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contribute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Dev/Continuous Integration&body=../Dev/Continuous_Integration link=https://reddit.com/submit?url=../Dev/Continuous_Integration&title=Dev/Continuous Integration link=https://news.ycombinator.com/submitlink?u=../Dev/Continuous_Integration&t=Dev/Continuous Integration link=https://mastodon.technology/share?message=Dev/Continuous Integration%20../Dev/Continuous_Integration&t=Dev/Continuous Integration

Iconfinder Apple Mail 2697658.png Subscribe to Whonix ™ Newsletter.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.