File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1- # gitlab-trigger-watcher
1+ gitlab-trigger-watcher [ ![ Build Status] ( https://travis-ci.org/EGT-Ukraine/gitlab-trigger-watcher.svg?branch=master )] ( https://travis-ci.org/EGT-Ukraine/gitlab-trigger-watcher )
2+ ---
3+
4+ Application to check Gitlab trigger's pipeline status
5+
6+ ### Build and run
7+ ``` bash
8+ make build
9+ ./gitlab-trigger-watcher -h
10+ ```
11+
12+ options:
13+ * ` --privateToken ` - user's personal private token;
14+ * ` --token ` - project token;
15+ * ` --projectID ` - integer ID of your project;
16+ * ` --skipVerifyTLS ` - (optional) skip to verify tls certificate;
17+ * ` --host ` - (optional) set your custom Gitlab's host;
18+ * ` --schema ` - (optional. default: https) set http or https connection type;
19+ * ` --ref ` - (optional) branch for the project. (default: master);
20+ * ` --urlPrefix ` - (optional) if you are use some prefix for your Gitlab (final URL will be looked like: /prefix/api/v4/...);
21+ * ` --variables ` - (optional) custom variables for the project (format example: ` variable1:value,variable2:value ` )
22+
23+ ### Run:
24+
25+ ``` bash
26+ ./gitlab-trigger-watcher --privateToken ${PRIVATE_TOKEN} --token ${TOKEN} --host gitlab.egt.com --projectID 123 run
27+ ```
Original file line number Diff line number Diff line change @@ -49,10 +49,12 @@ func main() {
4949 },
5050 cli.StringFlag {
5151 Name : "privateToken" ,
52+ Usage : "your personal private token" ,
5253 Value : "" ,
5354 },
5455 cli.StringFlag {
5556 Name : "token" ,
57+ Usage : "project token" ,
5658 Value : "" ,
5759 },
5860 cli.StringSliceFlag {
You can’t perform that action at this time.
0 commit comments