acti-rs
Build
Images
To build the OCI image (it's only the acti-registrant
for now):
$ make OWNER=... image
To push it to the local registry:
$ make OWNER=... LOCAL_REGISTRY=... push-local
and to the public registry:
$ make OWNER=... PUBLIC_REGISTRY=... push-public
Local toolchain
Note that building all crates in the workspace requires hwloc-2.7.1
to be
installed and reachable, due to the libhwloc2-rs
dependency.
$ cargo build --release
Utilities
crdgen
Executable that prints to stdout the CustomResourceDefinition
Kubernetes API
Objects defined in the acticrds
crate in YAML format, allowing to easily
define them.
For a containerized build of the executable (stored locally):
$ make crdgen
To build it, run it and dump the CRDs into a file:
$ make generate-yaml-crds