The Kraken standard library.
Project description
kraken-std
The Kraken standard library.
Features
Cargo
Build Rust projects with Cargo.
Features
- Inject HTTP(S) Basic-auth credentials into Git clone and Cargo download requests in
cargo build
for compatibility with private registries (workaround until rust-lang/cargo#10592 is working and merged).
Quickstart
# kraken.build.py
from kraken.std.cargo import cargo_build, cargo_settings
cargo_settings().add_auth("example.jfrog.io", "me@example.org", "api_token")
cargo_build()
Docker
Build and publish Docker images.
Supported backends
Quickstart
# kraken.build.py
from kraken.std.docker import build_docker_image
build_docker_image(
name="buildDocker",
dockerfile="docker/release.Dockerfile",
tags=["kraken-example"],
load=True,
)
Helm
Package and publish Helm charts to OCI or HTTP(S) registries.
Quickstart
# kraken.build.py
from kraken.std.helm import helm_push, helm_package, helm_settings
helm_settings().add_auth("example.jfrog.io", "me@example.org", "api_token")
package = helm_package(chart_path="./my-helm-chart")
helm_push(chart_tarball=package.chart_tarball, registry="example.jfrog.io/helm-local", tag)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kraken-std-0.1.5.tar.gz
(17.5 kB
view hashes)
Built Distribution
kraken_std-0.1.5-py3-none-any.whl
(22.2 kB
view hashes)
Close
Hashes for kraken_std-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d35dcc4646a430ac2c371e7b4905a3885173e360c3db917f7b68447a24a6c03 |
|
MD5 | b7468e05e8180d4cbc22aad4d2f0b1e7 |
|
BLAKE2b-256 | 9fab124106898c52943a17789d416afb2fe4eb556ada40db4ffc64fb829612d3 |