Giter Club home page Giter Club logo

sloctl's People

Contributors

a-hales avatar bsski avatar greg-agacinski avatar kgreczka9 avatar natalialanga avatar nieomylnieja avatar patrykdabrowski-nobl9 avatar renovate[bot] avatar triluch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

zacnickens

sloctl's Issues

sloctl does not resolve to environment variables SLOCTL_CLIENT_ID SLOCTL_CLIENT_SECRET when running as root in version 0.0.87

Steps to reproduce

As root user

export SLOCTL_CLIENT_ID="xxxx"
export SLOCTL_CLIENT_SECRET="xxxx"
sloctl get slos

Results in error

No context was set in the current configuration file.
At least one context must be provided and set as default in the current configuration file.
Run 'sloctl config add-context' or indicate the path to the file using '--config' flag.
Sloctl also accepts configuration via environmental variables, set 'SLOCTL_CLIENT_ID' and 'SLOCTL_CLIENT_SECRET'.
Visit sloctl documentation for more details: https://docs.nobl9.com/sloctl-user-guide.

Error: context "default" is not present in the config file /root/.config/nobl9/config.toml

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • golang 1.22-alpine3.18
test/docker/Dockerfile.e2e
  • bats/bats 1.11.0
test/docker/Dockerfile.unit
  • bats/bats 1.11.0
github-actions
.github/workflows/checks.yml
  • actions/checkout v4
  • actions/setup-go v5
  • actions/setup-node v4
  • actions/cache v4
.github/workflows/e2e-tests.yml
  • actions/checkout v4
  • actions/setup-go v5
.github/workflows/pr-title.yml
  • Slashgear/action-check-pr-title v4.3.0
.github/workflows/release-candidate.yml
  • actions/checkout v4
  • actions/setup-go v5
  • goreleaser/goreleaser-action v5
.github/workflows/release-drafter.yml
  • actions/checkout v4
  • release-drafter/release-drafter v6
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-go v5
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/login-action v3
  • docker/metadata-action v5
  • goreleaser/goreleaser-action v5
  • docker/build-push-action v5
.github/workflows/unit-tests.yml
  • actions/checkout v4
  • actions/setup-go v5
.github/workflows/vulns.yml
  • actions/checkout v4
  • actions/setup-go v5
gomod
go.mod
  • go 1.21
  • github.com/go-playground/validator/v10 v10.19.0
  • github.com/goccy/go-yaml v1.11.3
  • github.com/nobl9/nobl9-go v0.79.1
  • github.com/pkg/errors v0.9.1
  • github.com/schollz/progressbar/v3 v3.14.2
  • github.com/spf13/cobra v1.8.0
  • github.com/stretchr/testify v1.9.0
  • golang.org/x/sync v0.6.0
npm
package.json
  • cspell 8.6.1
  • markdownlint-cli 0.39.0
  • yaml 2.4.1
  • yarn 1.22.22
regex
Makefile
  • securego/gosec v2.19.0
  • golangci/golangci-lint v1.57.2
  • golang.org/x/vuln/cmd/govulncheck v1.0.4
  • golang.org/x/tools/cmd/goimports v0.19.0

  • Check this box to trigger a request for Renovate to run again on this repository

[FEAT] Improve VERSION file management

Is your feature request related to a problem? Please describe.

Currently sloctl maintainers have to manually increment VERSION file before each release.
It's a step that's easy to miss/forget.

Describe the solution you'd like

I see two solutions:

  • Automate the VERSION file incrementing (harder).
    • Automating this during each push, security wise, would be rather unwanted changed. We'd have to commit directly to main.
    • Maybe the best/only viable solution is to commit to PR branches on each PR?
  • Drop and error if VERSION file is not incremented during release (easier).

brew install for sloctl-macos-0.0.77 results in ENOENT error, no such file found

on Monterrey 12.6 running brew update and upgrade results in error on sloctl.

==> Downloading https://github.com/nobl9/sloctl/releases/download/v0.0.77/sloctl-macos-0.0.77
Already downloaded: /Users/zcn/Library/Caches/Homebrew/downloads/6fc4b13f2c68084177eeed7a9353af51434cd8d02cda7f6d2c872a07687f5a18--sloctl-macos-0.0.77
==> Installing sloctl from nobl9/sloctl
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - sloctl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.