mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-10 06:50:17 +01:00
gitlab CI: add an explanatory comment why we're hardcoding master
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9d996a0420
commit
6c2125d1df
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ import pytest
|
|||
if os.environ.get('CI'):
|
||||
# Environment variables set by gitlab
|
||||
CI_COMMIT_SHA = os.environ['CI_COMMIT_SHA']
|
||||
# This is intentionally hardcoded to master. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
|
||||
# is only available when run with only: [merge_requests]
|
||||
# but that generates a detached pipeline with only this job in it.
|
||||
# Since merging into a non-master branch is not a thing in libinput
|
||||
# anyway, we can hardcode this here.
|
||||
CI_MERGE_REQUEST_TARGET_BRANCH_NAME = 'master'
|
||||
CI_SERVER_HOST = os.environ['CI_SERVER_HOST']
|
||||
UPSTREAM = 'upstream'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue