https://github.com/egt-ukraine/gitlab-trigger-watcher
Application to run and check Gitlab's pipelines remotely
https://github.com/egt-ukraine/gitlab-trigger-watcher
gitlab gitlab-api gitlab-ci gitlab-pipeline
Last synced: 10 months ago
JSON representation
Application to run and check Gitlab's pipelines remotely
- Host: GitHub
- URL: https://github.com/egt-ukraine/gitlab-trigger-watcher
- Owner: EGT-Ukraine
- License: mit
- Created: 2019-02-12T14:38:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T15:00:13.000Z (almost 7 years ago)
- Last Synced: 2025-03-30T14:35:28.373Z (10 months ago)
- Topics: gitlab, gitlab-api, gitlab-ci, gitlab-pipeline
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gitlab-trigger-watcher [](https://travis-ci.org/EGT-Ukraine/gitlab-trigger-watcher)
---
Application to run and check until the end of Gitlab trigger's job
### Build and run
```bash
make build
./gtw -h
```
options:
* `--privateToken` - user's personal private token;
* `--token` - project token;
* `--projectID` - integer ID of your project;
* `--skipVerifyTLS` - (optional) skip to verify tls certificate;
* `--host` - (optional) set your custom Gitlab's host;
* `--schema` - (optional. default: https) set http or https connection type;
* `--ref` - (optional) branch for the project. (default: master);
* `--urlPrefix` - (optional) if you are use some prefix for your Gitlab (final URL will be looked like: /prefix/api/v4/...);
* `--variables` - (optional) custom variables for the project
### Run:
```bash
./gtw --privateToken ${PRIVATE_TOKEN} --token ${TOKEN} --host gitlab.egt.com --projectID 123 --variables KEY1:VALUE1 --variables KEY2:VALUE2 run
```