Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
abdc2c2119
|
|||
|
4ee160a736
|
|||
|
748316beae
|
|||
|
ba35d3d0a6
|
|||
|
cb1575db25
|
|||
|
dbcefef43c
|
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
[alias]
|
[alias]
|
||||||
xtask = "run --package xtask --"
|
xtask = "run --package xtask --"
|
||||||
|
|
||||||
[registry]
|
[registries.infra]
|
||||||
default = "huizinga"
|
|
||||||
|
|
||||||
[registries.huizinga]
|
|
||||||
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
|
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
|
||||||
|
|||||||
@@ -6,33 +6,32 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# TODO: Uncomment in initial release commit
|
release-plz:
|
||||||
# release-plz:
|
name: Release-plz Release
|
||||||
# name: Release-plz Release
|
runs-on: ubuntu-latest
|
||||||
# runs-on: ubuntu-latest
|
permissions:
|
||||||
# permissions:
|
contents: write
|
||||||
# contents: write
|
pull-requests: read
|
||||||
# pull-requests: read
|
steps:
|
||||||
# steps:
|
- &checkout
|
||||||
# - &checkout
|
uses: actions/checkout@v6
|
||||||
# uses: actions/checkout@v6
|
with:
|
||||||
# with:
|
fetch-depth: 0
|
||||||
# fetch-depth: 0
|
persist-credentials: false
|
||||||
# persist-credentials: false
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
# - uses: dtolnay/rust-toolchain@nightly
|
- uses: Swatinem/rust-cache@v2
|
||||||
# - uses: Swatinem/rust-cache@v2
|
- uses: taiki-e/install-action@v2
|
||||||
# - uses: taiki-e/install-action@v2
|
with:
|
||||||
# with:
|
tool: release-plz
|
||||||
# tool: release-plz
|
- &git-setup
|
||||||
# - &git-setup
|
name: Configure git
|
||||||
# name: Configure git
|
run: |
|
||||||
# run: |
|
git config user.name "Release-plz"
|
||||||
# git config user.name "Release-plz"
|
git config user.email "release-plz@noreply.huizinga.dev"
|
||||||
# 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/
|
||||||
# git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
|
- env:
|
||||||
# - env:
|
CARGO_REGISTRIES_INFRA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
|
||||||
# CARGO_REGISTRIES_HUIZINGA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
|
run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea --dry-run
|
||||||
# run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea
|
|
||||||
|
|
||||||
release-plz-pr:
|
release-plz-pr:
|
||||||
name: Release-plz PR
|
name: Release-plz PR
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ name = "crete"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
default-run = "crete"
|
default-run = "crete"
|
||||||
publish = ["huizinga"]
|
publish = ["infra"]
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["xtask"]
|
members = ["xtask"]
|
||||||
|
|||||||
@@ -2,3 +2,18 @@
|
|||||||
|
|
||||||
A tool that takes node and cluster configs and uses it to generate talos configs
|
A tool that takes node and cluster configs and uses it to generate talos configs
|
||||||
and render jinja templates.
|
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
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user