Commit graph

134 commits

Author SHA1 Message Date
renovate[bot]
f12b6b076b
chore(deps): update dependency golangci/golangci-lint to v2.1.6 (#85) 2025-05-09 16:03:33 +02:00
renovate[bot]
7cffed4ba7
chore(deps): update dependency rust-lang/mdbook to v0.4.49 (#87) 2025-05-09 16:03:18 +02:00
renovate[bot]
19f1e085e9
chore(deps): update dependency go to v1.24.3 (#91) 2025-05-09 16:03:07 +02:00
ba421d7dd8
chore(main): release 1.0.0 (#79)
## 1.0.0[0] (2025-05-04)

### Features

* **deps:** require Go 1.23 (#70[1])
* docs website (#80[2])
* publish container image (#82[3])
* upload qcow2 images ([#69[4])

[0] https://github.com/apricote/hcloud-upload-image/compare/v0.3.1...v1.0.0
[1] https://github.com/apricote/hcloud-upload-image/issues/70
[2] https://github.com/apricote/hcloud-upload-image/issues/80
[3] https://github.com/apricote/hcloud-upload-image/issues/82
[4] https://github.com/apricote/hcloud-upload-image/issues/69
2025-05-04 02:40:17 +02:00
f481f20a33
chore(deps): update module github.com/apricote/hcloud-upload-image/hcloudimages to v1.0.0 (#84) 2025-05-04 00:34:02 +00:00
9611d091a8
chore(main): release hcloudimages 1.0.0 (#78)
🤖 I have created a release *beep* *boop*
---


## 1.0.0[0] (2025-05-04)

### Features

* upload qcow2 images (#69[1])

[0] https://github.com/apricote/hcloud-upload-image/compare/hcloudimages/v0.3.1...hcloudimages/v1.0.0
[1] https://github.com/apricote/hcloud-upload-image/issues/69
2025-05-04 02:30:16 +02:00
renovate[bot]
80f8291cac
chore(deps): update docker/login-action digest to 6d4b68b (#83) 2025-05-04 00:24:36 +00:00
91df729f1c
feat: publish container image (#82)
Use `goreleaser` and `ko` to automatically build and publish container
images in the release workflow. The images are published to
`ghcr.io/apricote/hcloud-upload-image`.

Co-authored-by: Ilja Malachowski <malahovskiy.in@gmail.com>
2025-05-04 00:23:20 +00:00
renovate[bot]
02e80b277f
chore(deps): update dependency rust-lang/mdbook to v0.4.48 (#81) 2025-05-04 02:20:30 +02:00
d144b85e3d
feat: docs website (#80)
Deploy the documentation to GitHub Pages using `mdbook` and a little
more content for it. Can be visited at https://apricote.github.io/hcloud-upload-image.
2025-05-04 02:18:47 +02:00
c175ca0352
chore(release): disable version link between lib and cli (#77)
Needed to be able to release lib first.
2025-05-04 00:54:29 +02:00
renovate[bot]
2df6fdd850
chore(deps): update module golang.org/x/crypto to v0.37.0 (#72) 2025-05-04 00:49:36 +02:00
0cff95bab8
chore(release): open separate prs for lib and cli (#75)
The CLI depends on the lib, and to make sure that users who install
through `go install` use the correct version, we need to cut a release
for the lib first, bump in CLI and then release CLI.
2025-05-04 00:49:28 +02:00
e253df6fe9
chore(renovate): make sure to bump dependencies in lib too (#74) 2025-05-03 22:41:42 +00:00
renovate[bot]
4829843c2e
chore(deps): update dependency golangci/golangci-lint to v2 (#66) 2025-05-04 00:40:35 +02:00
renovate[bot]
cef79b943c
chore(config): migrate renovate config (#73) 2025-05-03 22:34:17 +00:00
renovate[bot]
df19de506c
chore(deps): update module golang.org/x/net to v0.38.0 [security] (#63) 2025-05-04 00:31:44 +02:00
renovate[bot]
099ae2d061
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.21.0 (#62) 2025-05-04 00:28:39 +02:00
ac3e9dd7ec
feat: upload qcow2 images (#69)
It is now possible to upload qcow2 images. These images will be
converted to raw disk images on the cloud server.

In the CLI you can use the new `--format=qcow2` flag to upload qcow2
images. In the library you can set `UploadOptions.ImageFormat` to
`FormatQCOW2`.

Because of the underlying process, qcow2 images need to be written to a
file first. This limits their size to 960 MB at the moment. The CLI
automatically checks the file size (if possible) and shows a warning if
this limit would be triggered. The library accepts an input with the
file size and logs a warning if the limit would be triggered.

Closes #44
2025-05-04 00:28:11 +02:00
renovate[bot]
b556533208
chore(deps): update dependency golangci/golangci-lint to v1.64.8 (#64) 2025-05-04 00:20:28 +02:00
renovate[bot]
91bcf7067f
chore(deps): update module github.com/spf13/cobra to v1.9.1 (#65) 2025-05-04 00:20:06 +02:00
f3fcb623fc
feat(deps): require Go 1.23 (#70)
Required for newer version of hcloud-go/v2.
2025-05-04 00:19:37 +02:00
021787a9c3
chore: lower ssh retry exponential backoff limit (#68)
The process is already slow enough, no need to waste so much time
between SSH attempts.
2025-05-04 00:01:50 +02:00
b328867f6b
chore(main): release 0.3.1 (#48)
🤖 I have created a release *beep* *boop*
---


<details><summary>0.3.1</summary>

##
[0.3.1](https://github.com/apricote/hcloud-upload-image/compare/v0.3.0...v0.3.1)
(2024-12-07)


### Bug Fixes

* **cli:** local install fails because of go.mod replace
([#47](https://github.com/apricote/hcloud-upload-image/issues/47))
([66dc5f7](66dc5f70b6))
</details>

<details><summary>hcloudimages: 0.3.1</summary>

##
[0.3.1](https://github.com/apricote/hcloud-upload-image/compare/hcloudimages/v0.3.0...hcloudimages/v0.3.1)
(2024-12-07)


### Bug Fixes

* **cli:** local install fails because of go.mod replace
([#47](https://github.com/apricote/hcloud-upload-image/issues/47))
([66dc5f7](66dc5f70b6))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-12-07 01:57:59 +01:00
renovate[bot]
d5ddab06f2
chore(deps): update module golang.org/x/crypto to v0.30.0 (#55) 2024-12-07 00:56:34 +00:00
renovate[bot]
5032760cea
chore(deps): update module github.com/stretchr/testify to v1.10.0 (#53) 2024-12-07 00:50:40 +00:00
renovate[bot]
83c9e043f9
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.17.0 (#52) 2024-12-07 01:48:38 +01:00
renovate[bot]
020285e508
chore(deps): update dependency golangci/golangci-lint to v1.62.2 (#54) 2024-12-07 01:48:23 +01:00
renovate[bot]
f8b953466b
chore(deps): update module golang.org/x/crypto to v0.29.0 (#42) 2024-11-16 23:24:45 +01:00
renovate[bot]
6cc128ffe9
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.16.0 (#49) 2024-11-16 23:20:05 +01:00
renovate[bot]
baf35bb218
chore(deps): update dependency golangci/golangci-lint to v1.62.0 (#50) 2024-11-16 23:19:55 +01:00
66dc5f70b6
fix(cli): local install fails because of go.mod replace (#47)
Remove the replace directive in `go.mod`. It does not apply on `go
install github.com/apricote/hcloud-upload-image` and is otherwise
covered by `go.work`.
2024-11-02 22:21:38 +01:00
renovate[bot]
489ece1798
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.15.0 (#41) 2024-11-02 22:10:18 +01:00
4e24d83c7a
docs: add generated CLI help output to repo (#46)
Generate the help pages using `cobras` builtin functionality and commit
them to the repository. This gives users to ability to review the
options of `hcloud-upload-image` without having to install it first.
2024-11-02 21:57:53 +01:00
renovate[bot]
b181eebd38
chore(deps): update dependency golangci/golangci-lint to v1.61.0 (#43) 2024-11-02 21:56:18 +01:00
renovate[bot]
6d8d2a02df
chore(deps): update module github.com/apricote/hcloud-upload-image/hcloudimages to v0.3.0 (#40)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 17:57:15 +02:00
99d5396435
refactor: drop custom package in favor of hcloud-go (#39) 2024-06-23 14:49:33 +00:00
a07856317d
chore(main): release 0.3.0 (#35) 2024-06-23 16:28:07 +02:00
renovate[bot]
32a82ffc6f
chore(deps): update module golang.org/x/crypto to v0.24.0 (#28)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 14:27:41 +00:00
ebe08b345c
feat: update default x86 server type to cx22 (#38)
`cx11` is deprecated and will be removed in September.

Changelog:
https://docs.hetzner.cloud/changelog#2024-06-06-old-server-types-with-shared-intel-vcpus-are-deprecated
2024-06-23 14:25:58 +00:00
d921510af3
chore: fix goreleaser config file version (#37) 2024-06-23 14:25:23 +00:00
42eeb00a07
feat: set server type explicitly (#36)
- **CLI**: New flag `--server-type` that overrides the `--architecture`
flag and allows users to specify the server type they want
- **Lib**: New field in `UploadOptions`: `ServerType *hcloud.ServerType`
that overrides the `Architecture` field and allows users to specify the
server type they want

Closes #30
2024-06-23 16:21:14 +02:00
renovate[bot]
f244acdfaf
chore(deps): update goreleaser/goreleaser-action action to v6 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 14:20:14 +00:00
256989f4a3
fix: error early when the image write fails (#34)
Closes #33
2024-06-23 16:13:52 +02:00
renovate[bot]
8347e4ef16
chore(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.9.0 (#27)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 16:13:35 +02:00
renovate[bot]
63f17e9760
chore(deps): update dependency golangci/golangci-lint to v1.59.1 (#26)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 16:02:18 +02:00
renovate[bot]
1f3c2afee9
chore(deps): update module github.com/spf13/cobra to v1.8.1 (#32)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 16:01:46 +02:00
renovate[bot]
13b1e26093
chore(deps): update dependency golangci/golangci-lint to v1.58.2 (#25)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 12:03:52 +02:00
043c73cf7d
ci: properly tag versions of library (#23)
Fixes #22
2024-05-19 17:20:52 +02:00
caaa5435bb
docs: cli install (#21) 2024-05-10 18:01:39 +00:00