Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/931>
# If you are hacking on them or need a them to rebuild, its enough
# to change any part of the string of the image you want.
###
- FEDORA_TAG: '2021-10-04.0'
+ FEDORA_TAG: '2021-10-05.0'
INDENT_TAG: '2021-10-04.0'
WINDOWS_TAG: "2021-10-04.1"
# https://gitlab.com/gitlab-org/gitlab/-/issues/341737
cerbero trigger:
stage: build
- image: $FEDORA_IMAGE
+ extends:
+ - '.fedora image'
+ - '.fdo.suffixed-image@fedora'
needs:
- "fedora amd64 docker"
script:
- - python3 -m pip install --user python-gitlab
- ci/gitlab/trigger_cerbero_pipeline.py
- variables:
- # Use GST_UPSTREAM_BRANCH
- UPSTREAM_BRANCH: 'main'
-
rules:
- changes:
- .gitlab-ci.yml
python3-gstreamer1
dnf remove -y meson
-pip3 install meson==0.59.1 hotdoc
+pip3 install meson==0.59.1 hotdoc python-gitlab
+
# Remove gst-devel packages installed by builddep above
dnf remove -y "gstreamer1*devel"
dnf clean all
rm -R /root/*
-rm -rf /var/cache/dnf /var/log/dnf*
\ No newline at end of file
+rm -rf /var/cache/dnf /var/log/dnf*
CERBERO_ID = 1340
+
class Status:
FAILED = 'failed'
MANUAL = 'manual'
print(msg, end="")
sys.stdout.flush()
+
if __name__ == "__main__":
gl = gitlab.Gitlab(
"https://gitlab.freedesktop.org/",
cerbero = gl.projects.get(CERBERO_ID)
pipe = cerbero.trigger_pipeline(
token=os.environ['CI_JOB_TOKEN'],
- ref=os.environ["UPSTREAM_BRANCH"],
+ ref=os.environ["GST_UPSTREAM_BRANCH"],
variables={
"CI_GSTREAMER_URL": os.environ["CI_PROJECT_URL"],
"CI_GSTREAMER_REF_NAME": os.environ["CI_COMMIT_REF_NAME"],
sys.exit(0 if pipe.status == Status.SUCCESS else 1)
else:
fprint(".")
-