2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-04-20 17:47:40 +00:00

143 Commits

Author SHA1 Message Date
dependabot[bot]
5b5b15de4f
build(deps): bump golang.org/x/net from 0.12.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 20:53:13 +00:00
John Rowley
897f49a452 chore(ci): call linter in ci 2025-04-12 11:28:20 +02:00
John Rowley
4d30dbc2b3 fix: ensure fs error is checked 2025-04-12 11:27:46 +02:00
dependabot[bot]
c15ce008db build(deps): bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.1+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
v0.3.0
2025-04-10 11:57:39 +02:00
fe4e9b2b3d [skip ci] docs: explain why root privileges are required
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2025-04-10 11:36:16 +02:00
b7e95d73b1
tests: fix manifest for centos:latest not found
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2025-04-10 11:25:26 +02:00
Lei Wang
85b144fe63 replace .Release.Version with .Release.VersionID to fix #65
Signed-off-by: Lei Wang <ssst0n3@gmail.com>
2025-04-10 11:12:58 +02:00
Will Scott
a0039dbae7 Skip disk conversion when format is raw
This skips the `convert2Img` step in favor of moving the file when targetting a raw format.
2025-03-26 02:14:33 +01:00
dc430fe1b7
chore: upgrade actions/cache to v3
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2025-03-25 13:09:34 +01:00
edgood1
dfd4d7dd43 when multiple kernels and initrds exist, use the latest 2025-03-02 12:44:55 +01:00
d8ee37833e add ubuntu 16.04 support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-08-23 15:08:21 +02:00
e31bc93074
centos-stream-9: fix Dockerfile template
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-07-09 19:05:28 +02:00
f711f8919d fix vhd format support
closes  #47

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-05-08 17:06:20 +02:00
Spencer von der Ohe
b27add5767 Fix typo in README.md
Signed-off-by: Spencer von der Ohe <s.vonderohe40@gmail.com>
2023-11-17 15:57:45 +01:00
1934915ae8
templates: clean package manager cache
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-14 12:42:52 +02:00
d54b3f9a2c
arm64 support with grub-efi
* build / convert: add `--platform` flag to support linux/amd64 &
linux/arm64
* build: add `--pull` flag
* run/hetzner: add `--type` flag to select server type
* run/hetzner: add `--location` flag to select server location

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-13 17:42:39 +02:00
f8fc729486
grub and grub-efi not supported for CentOS
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-13 13:42:00 +02:00
a41bbdb745
add grub-efi support
* tests: increase timeout
* ci: split e2e tests

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-13 11:06:26 +02:00
d4c3476031
docs: update cli and README
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 19:23:48 +02:00
fb3ee62962
add fat32 boot partition support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 19:23:47 +02:00
384a4e436c
docs: update cli and README
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 18:13:35 +02:00
a22bf9caf1
fix debian stretch support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 18:13:34 +02:00
4e533b8044
add grub support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 18:13:34 +02:00
a003e176f5
chore: bootloader abtraction
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-11 13:44:12 +02:00
ec33a7ad74
actions: move ubuntu 18 runners to latest
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
v0.2.0
2023-06-04 15:16:45 +02:00
2970af4873
update command line docs
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-06-04 14:47:40 +02:00
9abb66ad1d
run/hetzner: add split-boot support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-04-23 17:30:45 +02:00
6ef6df535d
deps: update all
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-04-23 14:24:05 +02:00
dependabot[bot]
f0798b3f3a build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 17:29:33 +01:00
93ba19a1fa fix execution exit code on error
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
fb33b2a74e luks: do not support ubuntu < 20.04 and debian < 10
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
8c36d42e06 luks: fix centos Dockerfile template
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
709f24b5df actions: add end-to-end tests as release dependency
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
f7b4861b1d tests: fix permissions error
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
0c3a736977 actions: move e2e test to a separated step
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
f75b0c7313 luks: fix ubuntu <22.04 support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
bfa5f0df1d save docker image to disk before flatten
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
be88bc29f5 add keep-cache option to preserve intermediate docker images
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
4780228c95 luks: implements support for centos
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
2f34e19636 luks: implements support for debian like distibutions
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
3ec9bdfb01 luks: implements support for Alpine
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-01 14:45:27 +01:00
dependabot[bot]
cab7d8badd build(deps): bump golang.org/x/sys
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 12:09:26 +01:00
fae73e71bc chore: upgrade go to 1.20
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-23 13:30:24 +01:00
74aac3fdcb actions: add end-to-end tests
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-23 13:30:24 +01:00
f50f8d0f93 actions: build release snapshot only on main and tags
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-23 13:30:24 +01:00
1970ac19e4 run/qemu: remove usb and device flags
refactor: move qemu to its own package
tests: implements end to end tests for the convert command with the following images: alpine:3.17, ubuntu:20.04, debian:11, centos:8

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-23 13:30:24 +01:00
532ee3f1a3 add split boot partiton support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-22 18:09:18 +01:00
490f235c6d
docs: configure CNAME
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-17 00:39:14 +01:00
466d6d40d3
deps: go mod tidy
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
v0.1.0
2023-02-15 11:29:40 +01:00
bf2687a211
docs: add container disk support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-15 11:06:52 +01:00