Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-ci gst-ci
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-cigst-ci
  • Merge requests
  • !350

cerbero ci: Refactor cerbero_before_script

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nirbheek Chauhan requested to merge nirbheek/gst-ci:refactor-cerbero-setup into master Sep 21, 2020
  • Overview 3
  • Commits 4
  • Pipelines 17
  • Changes 4

We were doing a few things suboptimally:

  1. Making a symlink from the current directory to ../../gstreamer/cerbero so that build-tools kept working, which is not necessary since cerbero relocates all binaries inside the cerbero homedir after extracting the cache

  2. Hard-coding the cerbero builddir when building on Windows because pwd was outputting an MSYS-style path which Python can't read

  3. rsync-ing all the contents of $CERBERO_HOST_DIR, which is a completely unnecessary runner cache of cerbero. We have our own build cache from the artifacts server, and the only thing we need to cache on the runner is the fetched sources, which we do by adding $CERBERO_SOURCES to cache: in ci_template.yml

In some cases (1) doesn't work, such as with bison, and we need to set some env vars in that case.

Edited Sep 23, 2020 by Nirbheek Chauhan
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: refactor-cerbero-setup