Giter Site home page Giter Site logo

Comments (6)

jschwe avatar jschwe commented on September 14, 2024

I'm currently working on two Travis CI pipelines.
The first one builds everything as described in the Readme, i.e.

  • Build rusty-hermit demo with rust nightly from rustup and run with uhyve from cargo

The second pipeline compiles everything from source so that regressions due to changes in uhyve or in the rust repo can be quickly identified.

  • The rust compiler fork from hermitcore is used
  • uhyve and rusty-hermit are built from source with the the newly built compiler
  • run rusty-hermit demo on uhyve

@stlankes What do you think about this? And which method of pinning the dependencies (rust and uhyve) do you prefer? I've thought of the following options:

  • Add another repo that includes rusty-hermit, hermitcore/rust and uhyve as submodules. (This is the solution that I'm currently working with)
  • Add rust and uhyve as submodules to this repo
  • Make a config file in this repo
  • Hardcode the branches that should be checked out for rust and uhyve in the travis pipeline ( This is a bit too unflexible in my opinion)

from hermit-rs.

stlankes avatar stlankes commented on September 14, 2024

@jschwe I removed Travis CI support because we have our own pipeline. Using uhyve is not so easy in CI environment. As fas as I know, Travis CI doesn't support nested virtualization. In our environment, we are able to support nested virtualization. It is currently deactivated because we are reconfiguring our setup. @stv0g is our CI expert.

We provide also the compiler as docker image. But this image based on the original nightly compiler and doesn't run any tests.

from hermit-rs.

jschwe avatar jschwe commented on September 14, 2024

Of the major CI providers to my knowledge only Travis CI provides nested virtualization by default. This seems to be somewhat recent too (late 2019 or early 2020 from what I can tell).
Based on your comment I'm assuming you are working on configuring your self hosted gitlab runner to provide nested virtualization, is this correct? Using that would of course be preferred, I just chose Travis because it works by default.

Basically this issue also isn't about which CI provider should be used, but I think it would be good if there where a CI test that tests rusty-hermit running on uhyve, both on current nightly rust builds as well as the current compiler and uhyve version in the repository. This requires specifying the dependency in some form, e.g. via submodules or a config file.

from hermit-rs.

stlankes avatar stlankes commented on September 14, 2024

I agree. I will talk @stv0g if we are enable tests with uhyve on our CI.

from hermit-rs.

stlankes avatar stlankes commented on September 14, 2024

@jschwe Do we solve this issue?

from hermit-rs.

jschwe avatar jschwe commented on September 14, 2024

Ah yes, thanks for reminding me. CI tests with uhyve were added so I'm closing the issue.

from hermit-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.