Go to file
Kasper Juul Hermansen afcbf3ad3d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
fix(deps): update rust crate aws-sdk-s3 to v1.64.0
2024-12-02 05:43:05 +00:00
crates/flux-releaser fix(deps): update all dependencies 2024-09-08 13:05:50 +00:00
docs feat: can upload archives 2024-02-18 01:29:46 +01:00
templates feat: add more debug 2024-05-26 15:19:58 +02:00
.drone.yml feat: use upstream 2024-09-08 12:45:20 +02:00
.env feat: add crdb 2024-02-21 06:51:54 +01:00
.gitignore feat: add flux releaser 2024-02-10 22:01:28 +01:00
Cargo.lock fix(deps): update rust crate aws-sdk-s3 to v1.64.0 2024-12-02 05:43:05 +00:00
Cargo.toml feat: add flux releaser 2024-02-10 22:01:28 +01:00
cuddle.yaml feat: release dev and prod 2024-09-08 12:49:36 +02:00
README.md feat: can upload archives 2024-02-18 01:29:46 +01:00
renovate.json Add renovate.json 2024-03-09 21:48:58 +00:00

Flux releaser

Usage

mkdir -p some/path

mkdir -p some/path/someEnvironment
touch some/path/someEnvironment/someFile.txt

# Should be run from a ci pipeline

flux-releaser commit \
  --app someApp \
  --branch someBranch \
  --include some/path \
  --registry https://flux-releaser.i.kjuulh.io

!!! note include path should include a sub folder for each releaseable artifact

flux releaser can also be used as a library, which is especially useful if integrated with dagger

Now you can release or auto-release this your desired environment and app

flux-releaser release \
  --app someApp \
  --branch someBranch \
  --registry https://flux-releaser.i.kjuulh.io

If cuddle.yaml is available it will automatically include required information from its references

flux-releaser release --branch someBranch

Install

Client & CI

Flux releaser is a rust app used client side and in CI as a cli app (flux-releaser), or alternatively as a rust library.

Registry

Flux releaser requires a server to function. Said flux is packaged in a helm chart, and is available at tbd, if the helm chart is used, it will stand-up a cockroach cluster and minio for artifacts.

Flux releaser also requires a connection to a flux gitops registry. This is provided to the flux app on the server via. a toml file (see configuration), but the defaults should work fine.