Compare commits
7 Commits
4d7d714a48
..
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a7ab1f9d5 | |||
|
f7e4a2d545
|
|||
|
7142ff0fa3
|
|||
| afcca9eb47 | |||
|
c76b0e6ade
|
|||
|
8e5e02d29d
|
|||
|
c15f1ae5c4
|
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: release-plz release
|
||||
env:
|
||||
CARGO_REGISTRIES_INFRA_TOKEN: "Bearer ${{ secrets.RELEASE_PLZ_TOKEN }}"
|
||||
run: release-plz release --git-token "${{ secrets.RELEASE_PLZ_TOKEN }}" --forge gitea --dry-run
|
||||
run: release-plz release --git-token "${{ secrets.RELEASE_PLZ_TOKEN }}" --forge gitea
|
||||
|
||||
release-plz-pr:
|
||||
name: Release-plz PR
|
||||
|
||||
@@ -20,6 +20,6 @@ jobs:
|
||||
path: .
|
||||
- name: Upload package
|
||||
run: |
|
||||
curl --user ${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }} \
|
||||
curl --user ${{ gitea.actor }}:${{ secrets.REGISTRY_TOKEN }} \
|
||||
--upload-file "$(ls | grep -E 'crete-[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-.*.pkg.tar.zst')" \
|
||||
https://git.huizinga.dev/api/packages/infra/arch/core
|
||||
|
||||
@@ -31,6 +31,7 @@ repos:
|
||||
rev: "1.0.0"
|
||||
hooks:
|
||||
- id: mdformat
|
||||
exclude: "^CHANGELOG.md$"
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
|
||||
+24
-12
@@ -7,13 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.2](https://git.huizinga.dev/infra/crete/compare/v0.1.1...v0.1.2) - 2026-04-17
|
||||
|
||||
### <!-- 0 -->Features
|
||||
|
||||
- Make dns optional
|
||||
- Allow more than two dns entries
|
||||
|
||||
## [0.1.1](https://git.huizinga.dev/infra/crete/compare/v0.1.0...v0.1.1) - 2026-04-13
|
||||
|
||||
### <!-- 2 -->Bug Fixes
|
||||
|
||||
- No default value for advertise routes
|
||||
|
||||
## [0.1.0](https://git.huizinga.dev/infra/crete/releases/tag/v0.1.0) - 2026-04-07
|
||||
|
||||
### <!-- 0 -->Features
|
||||
|
||||
- *(package)* Added PKGBUILD
|
||||
- _(package)_ Added PKGBUILD
|
||||
- Set user agent
|
||||
- *(performance)* Disable request features to reduce binary size
|
||||
- _(performance)_ Disable request features to reduce binary size
|
||||
- Generate talos configs
|
||||
- Show error if no clusters are found in repo
|
||||
- Initial rewrite of python render tool
|
||||
@@ -28,14 +41,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### <!-- 5 -->Miscellaneous Tasks
|
||||
|
||||
- *(actions)* Publish Arch Linux package
|
||||
- *(license)* Add GPL license
|
||||
- *(actions)* Name steps
|
||||
- *(actions)* Renamed release-plz workflow file
|
||||
- *(actions)* Use committed to check pr commits
|
||||
- *(actions)* Cancel in-progress ci runs when pushing to pr
|
||||
- *(docs)* Added README
|
||||
- *(actions)* Setup workflows
|
||||
- _(actions)_ Publish Arch Linux package
|
||||
- _(license)_ Add GPL license
|
||||
- _(actions)_ Name steps
|
||||
- _(actions)_ Renamed release-plz workflow file
|
||||
- _(actions)_ Use committed to check pr commits
|
||||
- _(actions)_ Cancel in-progress ci runs when pushing to pr
|
||||
- _(docs)_ Added README
|
||||
- _(actions)_ Setup workflows
|
||||
- Publish to gitea registry
|
||||
- *(pre-commit)* Update pre commit config
|
||||
# Changelog
|
||||
- _(pre-commit)_ Update pre commit config
|
||||
|
||||
Generated
+1
-1
@@ -214,7 +214,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "crete"
|
||||
version = "0.1.0"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"clap_complete",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "crete"
|
||||
version = "0.1.0"
|
||||
version = "0.1.2"
|
||||
edition = "2024"
|
||||
default-run = "crete"
|
||||
publish = ["infra"]
|
||||
|
||||
@@ -140,12 +140,11 @@
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"default": null,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "ipv4"
|
||||
},
|
||||
"maxItems": 2,
|
||||
"minItems": 2
|
||||
}
|
||||
},
|
||||
"gateway": {
|
||||
"type": [
|
||||
|
||||
+2
-3
@@ -136,12 +136,11 @@
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"default": null,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "ipv4"
|
||||
},
|
||||
"maxItems": 2,
|
||||
"minItems": 2
|
||||
}
|
||||
},
|
||||
"gateway": {
|
||||
"type": [
|
||||
|
||||
+9
-1
@@ -53,7 +53,8 @@ struct Network {
|
||||
ip: Ipv4Addr,
|
||||
netmask: Ipv4Addr,
|
||||
gateway: Ipv4Addr,
|
||||
dns: [Ipv4Addr; 2],
|
||||
#[serde(default)]
|
||||
dns: Option<Vec<Ipv4Addr>>,
|
||||
#[optional_rename(OptionalTailscale)]
|
||||
#[optional_wrap]
|
||||
tailscale: Tailscale,
|
||||
@@ -128,6 +129,13 @@ impl Node {
|
||||
// Sadly we have to this manually
|
||||
// TODO: Find a better way of doing this
|
||||
let default = OptionalNodeDeserialize {
|
||||
network: Some(OptionalNetwork {
|
||||
tailscale: Some(OptionalTailscale {
|
||||
advertise_routes: Some(false),
|
||||
..Default::default()
|
||||
}),
|
||||
..Default::default()
|
||||
}),
|
||||
patches: Some(OptionalPatches {
|
||||
all: Some(vec![]),
|
||||
control_plane: Some(vec![]),
|
||||
|
||||
Reference in New Issue
Block a user