Hi all,
In my pipeline, I’m using encrypted environment variables to set secrets that can only be decrypted by the agents. That’s been working just fine, but since a couple of weeks/months I’ve been having issues with rebuilds. Yes, initial builds work perfectly fine, but as soon as I click the Rebuild
button in the Buildkite UI I get the following error:
FATAL Couldn’t upload the “pipeline.yml” pipeline. Refusing to upload pipeline containing the value interpolated from the “SECRET_CODECOV_TOKEN” environment variable. Ensure your pipeline does not include secret values or interpolated secret values.
Error: The command exited with status 1
But I’m not actually interpolating this value? Even if I were, that’s perfectly fine, so I don’t get why it started failing because of that (only during rebuilds, at that).
An example of such a build: https://buildkite.com/julialang/cuda-dot-jl/builds/2866#e2fdf1e2-dcb2-4a94-9673-6ba3f9a56c3e. If I force-pushed instead, the build just kicked of normally: https://buildkite.com/julialang/cuda-dot-jl/builds/2867. I’d say this looks like a Buildkite bug, or am I doing something wrong?