drone-cli
Command Line Tools for Drone CI
File Explorer
Download Latest Version (.zip)- issue_template.md
- manifest.tmpl
- autoscale.go
- autoscale_pause.go
- autoscale_resume.go
- autoscale_version.go
- build.go
- build_approve.go
- build_create.go
- build_decline.go
- build_info.go
- build_last.go
- build_list.go
- build_promote.go
- build_queue.go
- build_queue_v2.go
- build_rollback.go
- build_start.go
- build_stop.go
- convert.go
- cron.go
- cron_add.go
- cron_disable.go
- cron_enable.go
- cron_exec.go
- cron_info.go
- cron_list.go
- cron_rm.go
- encrypt.go
- registry.go
- env.go
- exec.go
- flags.go
- format.go
- info.go
- util.go
- util_test.go
- stream_format.jsonnet
- stream_format.yaml
- jsonnet.go
- jsonnet_test.go
- nativefuncs.go
- lint.go
- log.go
- log_purge.go
- log_view.go
- node.go
- node_create.go
- node_delete.go
- node_import.go
- node_import_all.go
- node_info.go
- node_init.go
- node_keygen.go
- node_list.go
- node_update.go
- secret.go
- secret_add.go
- secret_info.go
- secret_list.go
- secret_rm.go
- secret_set.go
- admit.go
- config.go
- get.go
- convert.go
- environ.go
- list.go
- registry.go
- get.go
- secret.go
- plugins.go
- queue.go
- queue_list.go
- queue_pause.go
- queue_resume.go
- repo.go
- repo_add.go
- repo_chown.go
- repo_info.go
- repo_list.go
- repo_repair.go
- repo_rm.go
- repo_sync.go
- repo_update.go
- secret.go
- secret_add.go
- secret_info.go
- secret_list.go
- secret_rm.go
- secret_set.go
- server.go
- server_create.go
- server_destroy.go
- server_env.go
- server_info.go
- server_list.go
- server_open.go
- sign.go
- docker.py
- pipeline.py
- starlark.go
- template.go
- template_add.go
- template_info.go
- template_list.go
- template_rm.go
- template_set.go
- user.go
- user_add.go
- user_block.go
- user_info.go
- user_list.go
- user_rm.go
- user_update.go
- main.go
- .drone.sh
- .drone.yml
- .github_changelog_generator
- .gitignore
- BUILDING
- CHANGELOG.md
- Dockerfile
- Dockerfile.linux.arm
- Dockerfile.linux.arm64
- go.mod
- go.sum
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/harness/drone-cli
Downloads the entire project code from GitHub to your computer.
cd drone-cli
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u harness -p drone-cli -t <secret github token>
Runs the built image as an actual container.
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u harness -p drone-cli -t <secret token> --future-release v1.0.0
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
