drone / drone-runtime

[DEPRECATED] migrated to https://github.com/drone-runners
Other
62 stars 43 forks source link

driver: qemu #14

Open bradrydzewski opened 6 years ago

bradrydzewski commented 6 years ago

support qemu as the runtime engine. The corresponding yaml would be slightly different than docker, and would look something like this:

---
version: 1
kind: pipeline
type: qemu

settings:
  image: debian.img

platform:
  os: linux
  arch: amd64

steps:
- name: build
  commands:
  - go build
  - go test
zlim commented 5 years ago

For the settings, you may want to reference: https://github.com/kata-containers/documentation/blob/master/architecture.md#assets

Also, another useful reference: https://github.com/firecracker-microvm/firecracker/blob/master/api_server/swagger/firecracker.yaml#L304