Skip to content

What's up with DRONE_* envs? #4098

Closed Answered by 6543
zc-devs asked this question in Ask a Question
Discussion options

You must be logged in to vote

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?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zc-devs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants