Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trigger env #3288

Closed
wants to merge 1 commit into from
Closed

Conversation

SharpEdgeMarshall
Copy link

@SharpEdgeMarshall SharpEdgeMarshall commented Nov 21, 2022

This PR adds the trigger author to the env vars available during the build

@CLAassistant
Copy link

CLAassistant commented Nov 21, 2022

CLA assistant check
All committers have signed the CLA.

@bradrydzewski
Copy link

bradrydzewski commented Nov 23, 2022

Note that this code is deprecated and no longer being used by Drone. The runners are using the runner-go library to generate environment variables, which is creating the DRONE_BUILD_TRIGGER environment variable here https://github.com/drone/runner-go/blob/master/environ/environ.go#L153

@SharpEdgeMarshall
Copy link
Author

@bradrydzewski then why is not indicated in the doc? https://docs.drone.io/pipeline/environment/reference/

@tphoney
Copy link

tphoney commented May 11, 2023

Hey @SharpEdgeMarshall i added the necessary documentation here https://docs.drone.io/pipeline/environment/reference/drone-build-trigger/
thanks for the effort on the PR, sorry for the wasted effort.

@tphoney tphoney closed this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants