Skip to content
Verified Commit 483e3067 authored by Bob Van Landuyt's avatar Bob Van Landuyt
Browse files

fix(renovate/copier): pass allow/ignore script

This is using the CLI flags to pass the options that are also part of
the `renovate-common.json` configuration.

The reason we're adding these here as well is because it seems like
the config options aren't being picked up by renovate in runs. Copier
isn't run with the expected `--trust` option.

I tried passing the same as ENV variables and that did succeed. See
capacity-planning-trackers/gitlab-dedicated-staging/jobs/7598883181
for a job that generated the update correctly and resulted in a
succeeded MR that ran the scripts
capacity-planning-trackers/gitlab-dedicated-staging!63

So this is another way of passing the same related arguments:
- https://docs.renovatebot.com/self-hosted-configuration/#allowscripts
- https://docs.renovatebot.com/configuration-options/#ignorescripts

For `self-hosted-configuration` we need to add things as a command
line option or an environment variable.
parent 5eff2b9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment