Commit graph

12 commits

Author SHA1 Message Date
Rémy Coutable
4d7c6a61d7
Improve the variables passed in trigger-build
Make the variable names consistent by following the
`TOP_UPSTREAM_SOURCE_*` pattern.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-10 12:10:04 +02:00
Rémy Coutable
02b456dbe8
Pass 'TOP_UPSTREAM_SOURCE_SHA' in trigger-build
This is needed because `GITLAB_VERSION` has a special meaning in
`omnibus-gitlab` triggers: this is the GitLab version to build.

The problem is that `omnibus-gitlab` also has triggers to run QA for an
`omnibus-gitlab` commit, and if we use `GITLAB_VERSION` in that case,
the comment would be posted on the GitLab CE/EE commit (stored in
`GITLAB_VERSION`), whci hwouldn't make any sense.
Thus we need `TOP_UPSTREAM_SOURCE_SHA` to represent the commit on
which we want to leave a comment.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-10 12:10:04 +02:00
Rémy Coutable
1922ca0e67
Improve downstream pipeine trigger class
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-10-08 14:23:58 +02:00
Rémy Coutable
45d8c213fd
Refactor scripts/trigger-build and post a commit note with the downstream pipeline URL for omnibus triggers
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-09-24 18:24:13 +02:00
Rémy Coutable
67f310e41f
Ignore GitLab API hiccups in scripts/trigger-build
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-20 17:17:29 +02:00
Marin Jankovski
dd72134eba
Move the trigger-build script into one location to serve both omnibus and cloud-native triggers. 2018-06-14 16:31:32 +02:00
Achilleas Pipinellis
ecdab9f96f Add script and job to trigger a docs build 2017-09-07 15:43:20 +00:00
Balasankar C
fb2ab2a374
Pass false to trigger if EE_PACKAGE not set 2017-06-09 17:09:46 +05:30
Balasankar C
88811a7733
Pass EE variable if needed 2017-05-25 17:01:15 +05:30
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Balasankar C
784941eee6
Improve readability of code 2017-05-09 18:51:32 +05:30
Balasankar C
e85aa42428
Move triggering build logic to separate script 2017-05-09 15:42:42 +05:30