Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glasnt/git-deploy
A git extension for seeing your Cloud Build deployment
https://github.com/glasnt/git-deploy
Last synced: 2 months ago
JSON representation
A git extension for seeing your Cloud Build deployment
- Host: GitHub
- URL: https://github.com/glasnt/git-deploy
- Owner: glasnt
- License: apache-2.0
- Created: 2021-09-08T00:06:55.000Z (over 3 years ago)
- Default Branch: latest
- Last Pushed: 2021-09-14T20:29:10.000Z (over 3 years ago)
- Last Synced: 2024-10-29T16:19:07.033Z (3 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - glasnt/git-deploy - A git extension for seeing your Cloud Build deployment (Python)
README
# `git-deploy`
Learn more: https://cloud.google.com/blog/topics/developers-practitioners/push-your-code-and-see-your-builds-happening-your-terminal-git-deploy
## Requirements
* Python 3.7+ (check with `python3 --version`)
* git 1.8+ (check with `git --version`)
* A GitHub repo connected to Cloud Build with [source-based deployments](https://cloud.google.com/build/docs/automating-builds/create-manage-triggers)## Installation
* Clone this repo
* Set the execution bit
```
chmod +x git-deploy
```
* Copy `git-deploy` into a place on your `PATH`.
```
# example location
cp git-deploy /usr/local/bin
```
* Confirm installation by running the script:
```
cd ~ # a non-git repo
git deploy
```
* Success: `fatal: not a git repository (or any of the parent directories): .git`
* The new git extension has been successfully added, but you are not in a git repo, so no action was taken.
* Error: `git: 'deploy' is not a git command. See 'git --help'.`
* The extension is not available. Check your `PATH`.## Commands
* `git deploy`: git push, and echo build logs
* `git deploy retry`: manually trigger build, and echo build logs
## Contributing
See [`CONTRIBUTING.md`](CONTRIBUTING.md) for details.
## License
Apache 2.0; see [`LICENSE`](LICENSE) for details.
## Disclaimer
This project is not an official Google project.