Giter Club home page Giter Club logo

cli's Introduction

cli

license GoDoc Go Report Card codecov

Vela is in active development and is a pre-release product.

Feel free to send us feedback at https://github.com/go-vela/community/issues/new.

Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang.

Vela uses a syntax similar to Docker Compose to define its configuration. This structure for repeated use, within the application, is called a pipeline and a single execution of a pipeline is referenced as a build.

Documentation

For installation and usage, please visit our docs.

Contributing

We are always welcome to new pull requests!

Please see our contributing documentation for further instructions.

Support

We are always here to help!

Please see our support documentation for further instructions.

Copyright and License

Copyright 2019 Target Brands, Inc.

Apache License, Version 2.0

cli's People

Contributors

annamalai87 avatar claire1618 avatar colindean avatar delta592 avatar dependabot[bot] avatar ecrupper avatar gregorydosh avatar jacoblbeck avatar jbrockopp avatar jenmarttarget avatar jmccann avatar jordansussman avatar kaymckay avatar kellymerrick avatar plyr4 avatar renovate[bot] avatar timhuynh94 avatar tmapes avatar wass3r avatar wass3rw3rk avatar wsan3 avatar

Stargazers

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

Watchers

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

cli's Issues

Dependency Dashboard

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

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.19.1@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
github-actions
.github/workflows/build.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
.github/workflows/codeql-analysis.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • github/codeql-action v3.24.7@3ab4101902695724f9365a384f86c1074d94e18c
  • github/codeql-action v3.24.7@3ab4101902695724f9365a384f86c1074d94e18c
  • github/codeql-action v3.24.7@3ab4101902695724f9365a384f86c1074d94e18c
.github/workflows/prerelease.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • skx/github-action-publish-binaries release-1.3
  • elgohr/Publish-Docker-Github-Action v5@eb53b3ec07136a6ebaed78d8135806da64f7c7e2
.github/workflows/publish.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • elgohr/Publish-Docker-Github-Action v5@eb53b3ec07136a6ebaed78d8135806da64f7c7e2
.github/workflows/reviewdog.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • reviewdog/action-golangci-lint v2.6.1@00311c26a97213f93f2fd3a3524d66762e956ae0
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • reviewdog/action-golangci-lint v2.6.1@00311c26a97213f93f2fd3a3524d66762e956ae0
.github/workflows/test.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
  • codecov/codecov-action v4.1.0@54bcd8715eee62d40e33596ef5e8f0f48dbbccab
.github/workflows/validate-pr-title.yml
.github/workflows/validate.yml
  • actions/checkout v4.1.1@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/setup-go v5.0.0@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
gomod
go.mod
  • go 1.21.9
  • github.com/Masterminds/semver/v3 v3.2.1
  • github.com/buildkite/yaml v0.0.0-20230306222819-0e4e032d4835@0e4e032d4835
  • github.com/cli/browser v1.3.0
  • github.com/davecgh/go-spew v1.1.1
  • github.com/dustin/go-humanize v1.0.1
  • github.com/gin-gonic/gin v1.9.1
  • github.com/go-git/go-git/v5 v5.11.0
  • github.com/go-vela/sdk-go v0.23.3-0.20240513192330-1d75672772e6@1d75672772e6
  • github.com/go-vela/server v0.23.4-0.20240513143405-93571138ad3f@93571138ad3f
  • github.com/go-vela/types v0.23.4-0.20240417135026-fb4a95c30338@fb4a95c30338
  • github.com/go-vela/worker v0.23.3-0.20240424172515-3d4399807a4b@3d4399807a4b
  • github.com/golang-jwt/jwt/v5 v5.2.1
  • github.com/gosuri/uitable v0.0.4
  • github.com/joho/godotenv v1.5.1
  • github.com/manifoldco/promptui v0.9.0
  • github.com/sirupsen/logrus v1.9.3
  • github.com/spf13/afero v1.11.0
  • github.com/urfave/cli/v2 v2.27.1
  • github.com/whilp/git-urls v1.0.0
  • gopkg.in/yaml.v3 v3.0.1
  • gopkg.in/yaml.v2 v2.4.0

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

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

refactor CLI authentication workflow

Description

What is your idea?

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

Definition of Done

What is the end goal of this story?

Effort (Optional)

Estimated effort to complete this story? (Best Guess e.g. 1-2 days)

Impacted Personas (Optional)

Which personas will benefit from completing this story? (Users, Administrators, etc)

Add the ability to view service logs

Description

What is your idea?

The CLI needs the ability to view service logs from a pipeline.

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

Allows users using services to check their logs via CLI

Definition of Done

What is the end goal of this story?

Logs are viewable

Get/View hooks

Description

Implement hooks management via the Vela CLI

Value

Offer the same functionality presented in the UI at /org/repo/hooks but via the CLI.
eg.
vela get hooks --org octocat --repo hello-world
vela view hook --org octocat --repo hello-world --hook-number 10

Definition of Done

A user can view hooks through the CLI

Effort (Optional)

2 days

Impacted Personas (Optional)

Users

Support deployments

Description

What is your idea?

Related stories:

go-vela/server#89
go-vela/sdk-go#32

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

Definition of Done

What is the end goal of this story?

Effort (Optional)

Estimated effort to complete this story? (Best Guess e.g. 1-2 days)

Impacted Personas (Optional)

Which personas will benefit from completing this story? (Users, Administrators, etc)

Don’t require repo flag when typing org type commands

Description

What is your idea?

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

Definition of Done

What is the end goal of this story?

Effort (Optional)

Estimated effort to complete this story? (Best Guess e.g. 1-2 days)

Impacted Personas (Optional)

Which personas will benefit from completing this story? (Users, Administrators, etc)

Manage favorited repos

Description

Implement repo favorites management via the Vela CLI

Value

Offer the same functionality presented in the UI at / (home page) but via the CLI.
eg.
vela get favorites or update functionality for vela get repos
vela add favorite --org octocat --repo hello-world

Definition of Done

A user can manage favorites through the CLI

Effort (Optional)

2 days

Impacted Personas (Optional)

Users

Investigate adding bash auto-completion in urfaves new v2 implementation

Description

What is your idea?

After we upgrade to cli/urfave v2, we should investigate auto-completion again to make the CLI easier to use.

auto-completion docs in v2 library:
https://github.com/urfave/cli/blob/master/docs/v2/manual.md#bash-completion

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

improves usability

Definition of Done

What is the end goal of this story?

We have options for deciding if we want to move forward with auto-completion.

Add prompt for the value of a secret to avoid secrets in command line history

Right now the CLI requires the value of a secret to be in the command being ran, e.g.

$ vela add secret --type org --org github --repo '*' --name docker_password --value "password"

This means that the secret value might end up in a history file somewhere. It would be cool if vela had a separate prompt for the value of a secret.

$ vela add secret --type org --org github --repo '*' --name docker_password
enter secret value: 

A verification of the secret could be added by prompting twice, similar to how gopass insert works.

vela already does this when doing the initial login:

image

Generating config file displays misleading error message

Trying out vela, excited for this. Thanks! In the spirit of giving constructive feedback, I wanted to open this. There is a confusing message displayed upon initial creation of a config file

To reproduce

I used https://go-vela.github.io/docs/usage/reference/cli/authentication/#configuration-file to first generate my token.

I then used the following command to generate the config file (token and url redacted):

Actual Result

vela generate config --addr <<URL_REDACTED>> --token <<TOKEN_REDACTED>>
time="2019-11-15T10:36:04-06:00" level=warning msg="Unable to find config file @ C:\\Users\\<<USER_REDACTED>>/.vela/config.yml"

The msg text made me concerned this command failed. But inspecting the path mentioned revealed the file was created successfully.

Expected Result

The command succeeds without a message, or with explicit success messaging

Wild Speculation

Perhaps this msg comes earlier in the process, during some initialization step for all vela commands that looks for this config file? In this case, it's a bit of a one-time πŸ” and πŸ₯š problem

Update urfave/cli to v2

Description

What is your idea?

Update our urfave/cli library to the v2 functionality.

https://github.com/urfave/cli#using-v2-releases

Value

Why is this important? Who does it impact? Will this make something better, faster, etc?

  • Reduce technical debt

Definition of Done

What is the end goal of this story?

This repo is using the v2 branch of the urfave/cli library.

Effort (Optional)

Estimated effort to complete this story? (Best Guess e.g. 1-2 days)

N/A

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.