Comments (6)
Seems that GitHub actions don't support hardware virtualization due to the use of Azure on DV2 instances, as discussed on this thread: actions/runner-images#183.
Luckily for us, perhaps, seems that Travis-CI do what we need.
Some examples:
- https://github.com/ankidroid/Anki-Android/blob/master/.travis.yml
- https://github.com/mmcc007/test_emulators/blob/master/.travis.yml
Another interesting thing, but out of topic, is this: https://hub.docker.com/r/ennweb/kvm
from terrible.
The pipeline seems to be ready. Today I'll do additional tests and then I think we could merge.
from terrible.
A really interesting trick which I'm trying to use is mentioned in this thread: travis-ci/travis-ci#1839
The problem we have is that after adding the travis user to the libvirt group, we should restart the session. Obviously this is impossible in Travis CI. For this reason we are going to use the following command to avoid this problem: sudo -E sudo -u $USER -E bash -c "COMMAND"
.
@89luca89
from terrible.
This should depend on #50 and use cloud_init images
from terrible.
To avoid the creation of each image using Packer, we decided to store the already built images on the cloud and download them from the Travis instance.
To do this, I've also found an interesting blog which explains how to do this: https://angelov.ai/post/2020/wget-files-from-gdrive/
from terrible.
@alegrey91 adding to this, we use those images instead of cloud-init images to ensure also support for all cases like luks setups (that are not always supported in cloud-init instances)
from terrible.
Related Issues (20)
- [IMPROVEMENT] Add support for Windows guests HOT 9
- [IMPROVEMENT] Add support for custom commands at the end of the run
- [BUG] Saved state handling does not manage well remote terraform hosts
- [IMPROVEMENT] Support non-netplan Ubuntu
- [IMPROVEMENT] Add custom state output folder
- [DOCUMENTATION] improve code commenting HOT 1
- [BUG] terraform depends on dhcp leases
- [IMPROVEMENT] Support non-root users
- [IMPROVEMENT] Update Dockerfile with last Terrible version HOT 5
- [IMPROVEMENT] Add more targets to CI pipeline HOT 2
- [IMPROVEMENT] Improve network interface detection
- [IMPROVEMENT] Add support for executing commands on-destroy
- [CI] Migrate from TravisCI
- [IMPROVEMENT] Security updates should not be enforced HOT 1
- [IMPROVEMENT] Improve Asserts HOT 3
- [IMPROVEMENT] Support for other providers
- [BUG] Docker file should use the corrert source
- [IMPROVEMENT] Improve inventory defaults
- [IMPROVEMENT] Add basic tooling
- [IMPROVEMENT] Add support for other type of networks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terrible.