Replies: 1 comment 5 replies
-
Are you really sure? Adding the secret later on was definetly working for me (as long as the from_secret ref exists already in the wp config and the spelling is correct). |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, hitting the "restart" button restarts the respective pipeline while keeping all components static: config, secrets, etc.
This also means, if the pipeline failed for some missing secrets in WP which were specified in the YAML, it will continue to error, even if the secret has been added in the meantime.
To me, this feals a bit unintuitive and I also think most other CIs work differently. I.e. they aim to operate on the same git commit, but try to sync/update all related assets such as secrets etc.
We had this confusion multiple times already on the CB instance where users did not understand why hitting "restart" didn't result in a new clean build but instead they were required to push a new commit (which always works as it resources the whole env incl. secrets) or a
manual
builds.My proposal would be to refactor the "restart" button to resource the environment and only keep reusing the same git source of the restarted pipeline in question.
On the flip-side one could argue that this is even a feature as it enables full reproducibility, for the good and bad. Yet I think that (almost) all other CIs work differently, causing wrong user expectations.
Opinions?
👍️: keep current behavior
👎️: refactor
Beta Was this translation helpful? Give feedback.
All reactions