6 Commits

Author SHA1 Message Date
Dreaded_X abdc2c2119 chore(docs): Added README
CI / prek (push) Successful in 10m25s
CI / cargo shear (push) Successful in 11m51s
Release-plz / Release-plz PR (push) Successful in 11m50s
Release-plz / Release-plz Release (push) Successful in 12m13s
Audit / cargo audit (push) Successful in 10m45s
2026-04-05 05:28:52 +02:00
Dreaded_X 4ee160a736 chore(actions): Setup workflows 2026-04-05 05:28:52 +02:00
Dreaded_X 748316beae chore(deps): Update dependencies 2026-04-05 05:27:53 +02:00
Dreaded_X ba35d3d0a6 chore: Disable building tests 2026-04-05 05:27:52 +02:00
Dreaded_X cb1575db25 feat(performance): Disable request features to reduce binary size 2026-04-05 05:27:52 +02:00
Dreaded_X dbcefef43c chore: Publish to gitea registry 2026-04-05 05:27:52 +02:00
4 changed files with 43 additions and 32 deletions
+1 -4
View File
@@ -1,8 +1,5 @@
[alias]
xtask = "run --package xtask --"
[registry]
default = "huizinga"
[registries.huizinga]
[registries.infra]
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
+26 -27
View File
@@ -6,33 +6,32 @@ on:
- main
jobs:
# TODO: Uncomment in initial release commit
# release-plz:
# name: Release-plz Release
# runs-on: ubuntu-latest
# permissions:
# contents: write
# pull-requests: read
# steps:
# - &checkout
# uses: actions/checkout@v6
# with:
# fetch-depth: 0
# persist-credentials: false
# - uses: dtolnay/rust-toolchain@nightly
# - uses: Swatinem/rust-cache@v2
# - uses: taiki-e/install-action@v2
# with:
# tool: release-plz
# - &git-setup
# name: Configure git
# run: |
# git config user.name "Release-plz"
# git config user.email "release-plz@noreply.huizinga.dev"
# git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
# - env:
# CARGO_REGISTRIES_HUIZINGA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
# run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea
release-plz:
name: Release-plz Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- &checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: release-plz
- &git-setup
name: Configure git
run: |
git config user.name "Release-plz"
git config user.email "release-plz@noreply.huizinga.dev"
git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
- env:
CARGO_REGISTRIES_INFRA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea --dry-run
release-plz-pr:
name: Release-plz PR
+1 -1
View File
@@ -3,7 +3,7 @@ name = "crete"
version = "0.1.0"
edition = "2024"
default-run = "crete"
publish = ["huizinga"]
publish = ["infra"]
[workspace]
members = ["xtask"]
+15
View File
@@ -2,3 +2,18 @@
A tool that takes node and cluster configs and uses it to generate talos configs
and render jinja templates.
## Installation
Add the following to `~/.cargo.config.toml`:
```toml
[registries.infra]
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
```
You can then install `crete` by running:
```bash
cargo install --registry infra crete
```