Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
940815cce1
|
|||
|
09e3bbb1f7
|
|||
|
9eca72cfe0
|
|||
|
2b66fdfdcb
|
|||
|
30c3cb16a2
|
|||
|
ebca3f5783
|
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
[alias]
|
[alias]
|
||||||
xtask = "run --package xtask --"
|
xtask = "run --package xtask --"
|
||||||
|
|
||||||
[registries.infra]
|
[registry]
|
||||||
|
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,32 +6,33 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-plz:
|
# TODO: Uncomment in initial release commit
|
||||||
name: Release-plz Release
|
# release-plz:
|
||||||
runs-on: ubuntu-latest
|
# name: Release-plz Release
|
||||||
permissions:
|
# runs-on: ubuntu-latest
|
||||||
contents: write
|
# permissions:
|
||||||
pull-requests: read
|
# contents: write
|
||||||
steps:
|
# pull-requests: read
|
||||||
- &checkout
|
# steps:
|
||||||
uses: actions/checkout@v6
|
# - &checkout
|
||||||
with:
|
# uses: actions/checkout@v6
|
||||||
fetch-depth: 0
|
# with:
|
||||||
persist-credentials: false
|
# fetch-depth: 0
|
||||||
- uses: dtolnay/rust-toolchain@nightly
|
# persist-credentials: false
|
||||||
- uses: Swatinem/rust-cache@v2
|
# - uses: dtolnay/rust-toolchain@nightly
|
||||||
- uses: taiki-e/install-action@v2
|
# - uses: Swatinem/rust-cache@v2
|
||||||
with:
|
# - uses: taiki-e/install-action@v2
|
||||||
tool: release-plz
|
# with:
|
||||||
- &git-setup
|
# tool: release-plz
|
||||||
name: Configure git
|
# - &git-setup
|
||||||
run: |
|
# name: Configure git
|
||||||
git config user.name "Release-plz"
|
# run: |
|
||||||
git config user.email "release-plz@noreply.huizinga.dev"
|
# git config user.name "Release-plz"
|
||||||
git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
|
# git config user.email "release-plz@noreply.huizinga.dev"
|
||||||
- env:
|
# git config url.https://${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }}@git.huizinga.dev/.insteadOf https://git.huizinga.dev/
|
||||||
CARGO_REGISTRIES_INFRA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
|
# - env:
|
||||||
run: release-plz release --git-token "${{ secrets.GITEA_TOKEN }}" --forge gitea --dry-run
|
# CARGO_REGISTRIES_HUIZINGA_TOKEN: "Bearer ${{ secrets.REGISTRY_TOKEN }}"
|
||||||
|
# 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 = ["infra"]
|
publish = ["huizinga"]
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = ["xtask"]
|
members = ["xtask"]
|
||||||
|
|||||||
@@ -2,18 +2,3 @@
|
|||||||
|
|
||||||
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