Skip to content

ci: Fix variable inheritence for ghcup-metadata testing job

Matthew Pickering requested to merge wip/trigger-ghcup-ci into master

Downstream in ghcup-ci we use the CONFIGURE_ARGS variable to determine how to setup all the different jobs.

On the downstream trigger this was being inherited from the default setting in .gitlab.yml file.

Therefore this led to job failures as the necessary CONFIGURE_ARGS were not being passed to the configure script when installing the bindist.

See docs:

  1. inherit:variables:fals
  • This stops the global variables being inherited into the job and hence forwarded onto the downstream job.
  1. trigger:forward:*
  • yaml_variables: true (default) pass yaml variables to downstream, this is important to pass the upstream pipeline id to downstream.
  • pipeline_variables: false (default) but don't pass pipeline variables (normal environment variables).

Fixes #25294 (closed)

Merge request reports

Loading