ci-generator

所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-12-01 18:49:37
上 传 者sh-1993
说明:  ci发生器
(ci generator)

文件列表:
.idea/ (0, 2023-12-07)
.idea/ci-generator.iml (448, 2023-12-07)
.idea/inspectionProfiles/ (0, 2023-12-07)
.idea/inspectionProfiles/profiles_settings.xml (174, 2023-12-07)
.idea/misc.xml (292, 2023-12-07)
.idea/modules.xml (276, 2023-12-07)
.idea/vcs.xml (167, 2023-12-07)
.readthedocs.yml (551, 2023-12-07)
LICENSE (1077, 2023-12-07)
cigen/ (0, 2023-12-07)
cigen/__init__.py (0, 2023-12-07)
cigen/__main__.py (73, 2023-12-07)
cigen/adapter/ (0, 2023-12-07)
cigen/adapter/__init__.py (0, 2023-12-07)
cigen/adapter/input/ (0, 2023-12-07)
cigen/adapter/input/__init__.py (0, 2023-12-07)
cigen/adapter/input/docker_command/ (0, 2023-12-07)
cigen/adapter/input/docker_command/__init__.py (0, 2023-12-07)
cigen/adapter/input/docker_command/docker_group.py (113, 2023-12-07)
cigen/adapter/input/github_command/ (0, 2023-12-07)
cigen/adapter/input/github_command/__init__.py (0, 2023-12-07)
cigen/adapter/input/github_command/action_command.py (3805, 2023-12-07)
cigen/adapter/input/github_command/github_action_group.py (352, 2023-12-07)
cigen/adapter/input/github_command/go_command.py (5073, 2023-12-07)
cigen/adapter/input/github_command/go_command_test.py (596, 2023-12-07)
cigen/adapter/input/github_command/nodejs_command.py (3493, 2023-12-07)
cigen/adapter/input/github_command/nodejs_command_test.py (578, 2023-12-07)
cigen/adapter/input/gitlab_command/ (0, 2023-12-07)
cigen/adapter/input/gitlab_command/__init__.py (0, 2023-12-07)
cigen/adapter/input/gitlab_command/gitlab_group.py (113, 2023-12-07)
cigen/adapter/input/jenkins_command/ (0, 2023-12-07)
cigen/adapter/input/jenkins_command/__init__.py (0, 2023-12-07)
... ...

# ci generator CI generator is a tool to generate CI configuration files for your project. It's a command line tool that can be used to generate CI configuration files for your project. It's written in Python and uses templates to generate the files. Possible CI systems are: - [x] Github Actions - [ ] Jenkins - [ ] Docker - [ ] Gitlab CI They can integrate with the following tools: - SonarQube - SonarCloud - Test coverage - DockerFile - DockerCompose ## Installation Multiplatform Linux, Windows, MacOs ```bash pip install ci-generator ``` ## Usage ```bash cigen --help ``` ### Github Actions ```bash cigen github-actions --help ``` output: ```bash Usage: cigen [OPTIONS] COMMAND [ARGS]... ciGen is a Continuous Integration Generator Options: --help Show this message and exit. Commands: docker This is the main command for the Docker github-action This is the main command for the GitHub Actions gitlab This is the main command for the GitLab jenkins This is the main command for the Jenkins ``` ### [[EXEMPLES OF USAGE]](https://github.com/Paulo-Lopes-Estevao/ci-generator/blob/master/examples) <- click here github-actions subcommand can be used to generate Build and Test Github Actions configuration files. #### Github Actions commands available - go github-actions Golang example: ```bash cigen github-actions go -n myproject -b push main -a 1 -v 1.21.1 ``` [[EXEMPLES OF USAGE GOLANG]](https://github.com/Paulo-Lopes-Estevao/ci-generator/blob/master/examples/github_action/golang.md) <- click here github-actions NodeJS example: ```bash cigen github-actions nodejs -n myproject -b push main -a 1 -v 14.17.3 ``` [[EXEMPLES OF USAGE NODEJS]](https://github.com/Paulo-Lopes-Estevao/ci-generator/blob/master/examples/github_action/nodejs.md) <- click here ## Commands not yet available ### Jenkins ```bash cigen jenkins --help ``` jenkins subcommand can be used to generate Build and Test Jenkins configuration files. jenkins Golang example: ```bash cigen jenkins go -n myproject -b push main -a 1 -v 1.21.1 ``` jenkins Python example: ```bash cigen jenkins python -n myproject -b push main -a 1 -v 3.9.6 ``` ### Docker ```bash cigen docker --help ``` docker subcommand can be used to generate Docker configuration files. docker example: ```bash cigen docker -n dockerfile -i golang -v 1.21.1 -s multi ``` ### Gitlab CI ```bash cigen gitlab-ci --help ``` gitlab-ci subcommand can be used to generate Build and Test Gitlab CI configuration files. gitlab-ci Golang example: ```bash cigen gitlab-ci go -n myproject -b push main -a 1 -v 1.21.1 ``` gitlab-ci Python example: ```bash cigen gitlab-ci python -n myproject -b push main -a 1 -v 3.9.6 ```

**NOTE**: ci generator is not yet fully stable, so it's not recommended to use it in production. It's still in development. ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. ## License MIT

近期下载者

相关文件


收藏者