Skip to content

Commit 7e3aeba

Browse files
author
Vyacheslav Pryimak
authored
Merge pull request #2 from EGT-Ukraine/readme
readme updated
2 parents 33b8a69 + b00f783 commit 7e3aeba

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
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+
```

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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{

0 commit comments

Comments
 (0)