Skip to content

CI: do not override downstream project variables

dvn requested to merge dvn0/sequoia-windows-msvc-trigger-debug into main

Neal noticed that the value of CFLAGS variable in the downstream MSVC job was likely getting overridden by the trigger.

Adding a command to print environment variables int the before_script stage of the job confirmed that: https://gitlab.com/sequoia-pgp/sequoia/-/jobs/6260443342#L41

CFLAGS: -Werror (it should be unset)

This is because by default the "yaml variables" from a triggering project supersedes the downstream project's variables.

This behavior can be modulated as documented.

Resolves #8 (closed)

Merge request reports