Dockyard CLI is a command-line tool built in Go to simplify and automate project build, deployment, and task execution. It helps you manage configurations across hundreds of repositories, saving you significant time and effort.
🔗 Project Homepage: immarktube.github.io/dockyard-cli
- Modular Command Structure: Organized via the
cmd/directory for easy extension and maintenance. - Configuration-Driven: Supports
.dockyard.yamlfor defining custom build and deployment pipelines. - Automated Task Execution: Built-in task runner for handling common project workflows.
- CI/CD Friendly: Easily integrates into your existing automation pipelines.
Download the latest release from below link and place the executable alongside your local repositories:
https://github.com/immarktube/dockyard-cli/releases
/your-workspace/
├── dockyard-cli # Dockyard CLI executable file
├── .dockyard.yaml # Dockyard config file
├── kubernetesDemo # example repository 1
├── careeranalyse-web # example repository 2
├── readList # example repository 3
└── ... # other repositories
- Create a
.dockyard.yamlfile at your project root to define tasks. - Run your tasks using:
dockyard --helpFor detailed usage instructions, visit: Dockyard CLI Documentation
dockyard-cli/
├── cmd/ # Command definitions
├── command/ # Command implementations
├── config/ # Configuration parsing
├── docs/ # Documentation
├── executor/ # Task runner
├── utils/ # Utility functions
├── .env # Example config file
├── main.go # Entry point
└── build.sh # Build script
global:
owner: immarktube
authToken: ${GITHUB_TOKEN}
apiBaseURL: https://api.github.com
gitBaseURL: https://github.com
concurrency: 5
noHook: true
repositories:
- path: kubernetesDemo
baseRef: fb6512a5b8a5b763e0b2e8634bad4cd713239c48
- path: careeranalyse-web
baseRef: 1.0.0
- path: readList
baseRef: master
hook:
pre: echo "Running pre hook"
post: echo "Running post hook"GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxNote: you can also define the token in .dockyard.yaml, but this will appear your sensitive data in config file directly.
We welcome contributions, issue reports, and suggestions!
- Fork this repository.
- Create a new feature branch.
- Submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.