Comments (7)
After further investigation it doesn't seem to be an option anymore, but there are others missing.
from docs.
I ran this on https://github.com/buildkite/agent/ and https://github.com/buildkite/docs/
cd agent
grep -ohr -e 'BUILDKITE_[a-zA-Z0-9_\-]*[a-zA-Z0-9]*' . | sort | uniq > /tmp/agent.txt
cd ../docs
grep -ohr -e 'BUILDKITE_[a-zA-Z0-9_\-]*[a-zA-Z0-9]' . | sort | uniq > /tmp/docs.txt
Then ran git diff /tmp/agent.txt /tmp/docs.txt | grep '^[+-]' > /tmp/agent-docs.diff
and got:
-BUILDKITE_AGENT_EXPERIMENT
-BUILDKITE_AGENT_META_DATA_GCP
+BUILDKITE_AGENT_META_DATA_LOCAL
-BUILDKITE_AGENT_PID
-BUILDKITE_BIN_PATH
+BUILDKITE_BUILD_CREATOR
+BUILDKITE_BUILD_CREATOR_EMAIL
+BUILDKITE_BUILD_URL
-BUILDKITE_COMMAND_EVAL
-BUILDKITE_COMMAND_EXIT_STATUS
-BUILDKITE_DOWNLOAD_EXIT_STATUS
-BUILDKITE_DOWNLOAD_TMP_FILE
+BUILDKITE_DOCKER
+BUILDKITE_DOCKER_COMPOSE_CONTAINER
+BUILDKITE_DOCKER_COMPOSE_FILE
+BUILDKITE_DOCKER_FILE
-BUILDKITE_GIT_SUBMODULES
-BUILDKITE_GS_ACL
-BUILDKITE_GS_APPLICATION_CREDENTIALS
-BUILDKITE_INSTALL_ARCH
-BUILDKITE_LAST_HOOK_EXIT_STATUS
+BUILDKITE_MESSAGE
+BUILDKITE_META_DATA
+BUILDKITE_PARALLEL
+BUILDKITE_PARALLEL_JOB_COUNT
+BUILDKITE_PIPELINE_DEFAULT_BRANCH
-BUILDKITE_PLUGIN
-BUILDKITE_PLUGINS
-BUILDKITE_PLUGINS_PATH
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_AND_WITH_A_NUMBER
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_ARRAY_KEY_0
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_ARRAY_KEY_1
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_ARRAY_KEY_2
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_CONFIG_KEY
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_CONTAINER
-BUILDKITE_PLUGIN_DOCKER_COMPOSE_SOME_OTHER_SETTING
+BUILDKITE_PRIORITY
-BUILDKITE_REFSPEC
-BUILDKITE_S3_ACCESS_KEY
+BUILDKITE_REPO_SSH_HOST
-BUILDKITE_S3_SECRET_KEY
-BUILDKITE_SSH_FINGERPRINT_VERIFICATION
-BUILDKITE_USER
-BUILDKITE_USER_GROUP
+BUILDKITE_TIMEOUT
The +
lines probably indicate something that's in the docs, but not in the agent, this may just mean that it's in a different repo.
from docs.
Excellent point, we're definitely missing a bunch, especially the ones provided by the agent process, or used to configure the agent. It was pointed out in buildkite chat that the $BUILDKITE_S3_*
variables used to specify the artifact destination aren't documented except on the artifact command line docs page, too.
The ones not in the agent repo are provided by buildkite.com for use by build scripts, hooks and plugins.
from docs.
Specifically BUILDKITE_COMMAND_EXIT_STATUS
would be good to add, perhaps in the hooks documentation as that is where it's mostly relevant.
from docs.
💯 - these docs would be useful. I'm currently looking to get the status of Preparing working directory
in a post-checkout
and also the status of command
in a post-command
hook.
from docs.
Hey @jerrymarino! 👋🏻It took us a while, but we've finally done a big update to the env vars doc 😄There was also a recent agent update that cleaned up a bunch of the vars it was displaying too, so everything should be covered now.
from docs.
It looks like only the first of these two was done, the other one was forgotten. I filed #501 for it.
from docs.
Related Issues (20)
- inconsistent examples on conditional build notifications
- New UI - Can't tell easily if the pipeline failed
- AOTVUNLEEVONG HOT 1
- Fail fast example doesn't show how to fail fast!
- The `agent lifecycle hooks` link under `Creating job lifecycle hooks` points to `Job lifecycle hooks` HOT 1
- “Running multiple agents” documentation should use --spawn HOT 2
- Glob pattern dist/**/* doesn't discover top level (within dist/) files
- Artifacts doc page should mention `--include-retried-jobs` flag HOT 2
- How can we get the value of user input HOT 1
- Documentation does not work for github merge queue
- Block step is always active, would be nice to be inactive until depends_on is complete HOT 1
- Conditional queue assignment HOT 6
- Block and wait behaving unexpectedly HOT 1
- There is no documentation for the allowed-repositories configuration setting HOT 2
- Confusing wording about SSO Organisations
- Permissions to delete a pipeline HOT 2
- bkua_1b3d70714487ab03c5281a2cdc9c9ef18e71e6e8
- Mr HOT 2
- API documentation HOT 1
- Incorrect description of BUILDKITE_REBUILT_FROM_BUILD_NUMBER HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.