Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magiclen/gitlab-deploy
This tool is used for deploying software projects to multiple hosts during different phases.
https://github.com/magiclen/gitlab-deploy
deployment-automation rust
Last synced: about 1 month ago
JSON representation
This tool is used for deploying software projects to multiple hosts during different phases.
- Host: GitHub
- URL: https://github.com/magiclen/gitlab-deploy
- Owner: magiclen
- License: mit
- Created: 2021-11-13T16:14:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T09:19:07.000Z (5 months ago)
- Last Synced: 2024-07-29T12:32:28.576Z (5 months ago)
- Topics: deployment-automation, rust
- Language: Rust
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gitlab Deploy
====================[![CI](https://github.com/magiclen/gitlab-deploy/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/gitlab-deploy/actions/workflows/ci.yml)
GitLab Deploy is used for deploying software projects to multiple hosts during different phases. This program should be run on Linux.
## Setup
TBD
## Help
```
EXAMPLES:
gitlab-deploy frontend-develop --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --build-target develop
gitlab-deploy frontend-deploy --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test --build-target test
gitlab-deploy frontend-control --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test
gitlab-deploy backend-develop --gitlab-project-id 123 --gitlab-project-path website-api --project-name website --reference develop
gitlab-deploy backend-deploy --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test
gitlab-deploy backend-control --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test --command up
gitlab-deploy simple-deploy --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test
gitlab-deploy simple-control --gitlab-project-id 123 --commit-sha 0b14cd4fdec3bdffffdaf1de6fe13aaa01c4827f --project-name website --reference-name pre-release --phase test sudo /usr/local/bin/apply-nginx.sh dev.envUsage: gitlab-deploy
Commands:
frontend-develop Fetch the project via GitLab API and then build it and use the public static files on a development host
frontend-deploy Fetch the project via GitLab API and then build it and deploy the archive of public static files on multiple hosts according to the phase
frontend-control Control the project on multiple hosts according to the phase
backend-develop Fetch the project via Git and checkout to a specific branch and then start up the service on a development host
backend-deploy Fetch the project via GitLab API and then build it and deploy the docker image on multiple hosts according to the phase
backend-control Control the project on multiple hosts according to the phase
simple-deploy Fetch the project via GitLab API and deploy the project files on multiple hosts according to the phase
simple-control Control the project on multiple hosts according to the phase
help Print this message or the help of the given subcommand(s)Options:
-h, --help Print help
-V, --version Print version
```## License
[MIT](LICENSE)