What's up with DRONE_* envs? #4098
-
https://woodpecker-ci.org/docs/migrations 0.15
So, where is the truth? Is there some docs, stating, that it was brought back for compatibility? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We dropped the DRONE_ vars as official build-in vars. nowadays we have a dedicated "compatibility" function that do provide this feature and also works with quirks we know of: As for the docs we intentionally don't mention them, as users should not use them. But we do document that drone plugins can be used just natively. I hope that covers all questions? |
Beta Was this translation helpful? Give feedback.
We dropped the DRONE_ vars as official build-in vars.
But we never removed them completely so drone plugins worked as the did.
nowadays we have a dedicated "compatibility" function that do provide this feature and also works with quirks we know of:
https://github.com/woodpecker-ci/woodpecker/blob/main/pipeline/frontend/metadata/drone_compatibility.go
As for the docs we intentionally don't mention them, as users should not use them. But we do document that drone plugins can be used just natively.
I hope that covers all questions?