Launch .gitlab-ci.yml jobs locally
Project description
gitlabci-local
Launch .gitlab-ci.yml jobs locally, wrapped inside the specific images,
with inplace project volume mounts and adaptive user selections.
Preview
Usage
usage: gitlabci-runner-local [-h] [-q] [-c CONFIGURATION] [-b] [-a] [-m]
[-t MANUAL_TAGS] [-d | -s | -l | -p]
[names [names ...]]
gitlabci-runner-local: Launch .gitlab-ci.yml jobs locally
positional arguments | |
---|---|
names | Names of specific jobs (or stages with --pipeline) |
optional arguments | |
---|---|
-h | Show this help message |
-q, --quiet | Hide jobs execution context |
-c CONFIGURATION | Path to the .gitlab-ci.yml configuration |
-b, --before | Enable before_script executions |
-a, --after | Enable after_script executions |
-m, --manual | Allow manual jobs to be used |
-t MANUAL_TAGS | Handle listed tags as manual jobs Default list: deploy,local,publish |
-p, --pipeline | Run complete stages rather than jobs |
-d, --dump | Dump parsed .gitlab-ci.yml configuration |
-s, --select | Force jobs selection from enumerated names |
-l, --list | Select one job to run (implies --manual) |
Dependencies
- blessings: Terminal colors and styles
- docker: Docker Engine API
- oyaml: Ordered YAML dictionnaries
- PyInquirer: Interactive terminal user interfaces
- python-dotenv: Support for .env files parsing
References
- .gitlab-ci.yml: GitLab CI/CD Pipeline Configuration Reference
- git-chglog: CHANGELOG generator
- peek: Simple GIF screen recorder
- PyPI: The Python Package Index
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for gitlabci_local-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88d39ed0cb62999ab777daabd6ef3f01974608ca6a91a735c74e24461b80d9f5 |
|
MD5 | c2f7ed8d8c2c86017fc3def996ebd1de |
|
BLAKE2b-256 | 319f2d46311e39648324d941cb7c498de06ca7876351df3b3a021bc4b9808550 |