buildkite / docs

The source files for the Buildkite documentation
https://buildkite.com/docs
MIT License
43 stars 242 forks source link

buildkite agent windows installation script env variables #735

Closed metaflow closed 3 years ago

metaflow commented 4 years ago

I wonder why https://raw.githubusercontent.com/buildkite/agent/master/install.ps1 is using variable names buildkiteAgentToken, buildkiteAgentTags etc. that are different from the screaming snake convention in https://buildkite.com/docs/agent/v3/configuration ?

In my use case I have already configured all parameters via environment "BUILDKITE_..." variables and want to install and start an agent from a script.

I can update this in the installation script if you don't mind. Or maybe script should be tolerant to missing parameters.

lox commented 4 years ago

Darn good question. I was still trying to figure out windows conventions. I drew a lot of inspiration from the docker windows installer which used those conventions. I must admit that my knowledge of windows scripting best practices is limited!

metaflow commented 4 years ago

@lox do you think it worth to update variables to match other places? I can do that

plaindocs commented 3 years ago

@lox if you end up making any changes to the agent please reopen.