Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose delete pipleline in cli #1100

Open
3 tasks done
KiaraGrouwstra opened this issue Aug 13, 2022 · 1 comment
Open
3 tasks done

expose delete pipleline in cli #1100

KiaraGrouwstra opened this issue Aug 13, 2022 · 1 comment
Labels
cli feature add new functionality

Comments

@KiaraGrouwstra
Copy link

Clear and concise description of the problem

presently, the CLI contains a number of operations on builds:

woodpecker-cli build --help
8:25PM ??? github.com/woodpecker-ci/woodpecker/cli/common/zerologger.go:20 > LogLevel = trace
NAME:
   woodpecker-cli build - manage builds

USAGE:
   woodpecker-cli build command [command options] [arguments...]

COMMANDS:
   ls       show build history
   last     show latest build details
   logs     show build logs
   info     show build details
   stop     stop a build
   start    start a build
   approve  approve a build
   decline  decline a build
   queue    show build queue
   ps       show build steps
   help, h  Shows a list of commands or help for one command

however, the api supports build operations including:

  • DeleteBuild (cancel)
  • DeleteBuildLogs

Suggested solution

it would be nice to see parity between the api and cli.
there might be other endpoints as well.

Alternative

use the api over cli

Additional context

No response

Validations

@KiaraGrouwstra
Copy link
Author

the latter may be missing from the web UI as well

@qwerty287 qwerty287 added feature add new functionality cli and removed pending:feature labels Aug 15, 2022
@anbraten anbraten changed the title expose delete build in cli expose delete pipleline in cli Mar 21, 2024
qwerty287 added a commit that referenced this issue Apr 22, 2024
On top of #3451, addresses [PR
note](#3451 (comment))

related to #1100

Not tested.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
6543 added a commit to 6543-forks/woodpecker that referenced this issue Sep 5, 2024
On top of woodpecker-ci#3451, addresses [PR
note](woodpecker-ci#3451 (comment))

related to woodpecker-ci#1100

Not tested.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature add new functionality
Projects
None yet
Development

No branches or pull requests

2 participants