| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Documentation of this CLI is still under development:
pre-commit install
mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
It's also possible to use nix phases to test nix develop --check and build the application nix develop --build, as specified in the Makefile, without entering the shell.
A tag will be pushed to Gitlab with the format: v${VERSION}. Gitlab's CI will then run the publishing pipeline.
Install Nix package manager by following the official installation instructions.
To install the package to the current profile you need to register the current repository
nix registry add stackstate-cli "git+ssh://git@github.com/stackvista/stackstate-cli"
nix profile install stackstate-cli#stsAlternatively temporary shell environment with sts binary in $PATH can be started using
nix shell "git+ssh://git@github.com/stackvista/stackstate-cli?ref=master"
Where ref= can reference to any branch name
All the CI dependencies are also defined by flake.nix inside the ciDeps directive. It is possible to start bash session with all these dependencies in scope by calling nix develop #.ci.
To build the base image locally run
nix build .#ci-image & docker load < result # Test docker run -ti --rm stackstate-cli2-ci:latest go version
This repository pulls the stackstate-api spec from the openapi repository.
CI will check whether the requested api version and generated code are kep up to date.
| Back | FazBrowse Home | New Git URL |