So, this mostly came up for me while I've been fiddling with CI builds in VSTS and azure deployment. Through various github issues, docs, stack questions, random blog posts, reading the source, etc. I run across different environment variables used by the tooling. Recently, DOTNET_*
ones like:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
- which tells the build agent not to cache packages. Since hosted agents dump the cache anyway, this is suggested in a note in the docs as a performance boost.DOTNET_CONFIGURE_AZURE
- which tells the_WebConfigTransform
target to set theweb.config
'sstdoutlogfile
to\\?\%home%\LogFiles\stdout
others come up through azure web apps and configuration there:
WEBSITE_NODE_DEFAULT_VERSION
WEBSITE_SITE_NAME
- There are other
WEBSITE_*
DIAGNOSTICS_AZUREBLOBCONTAINERSASURL
- There are other
DIAGNOSTICS_*
KUDU_*
andSCM_*
I've seen for manipulating aspects of the hosting environment and kudu environment underneath the web app- When I go to KUDU console and check the environment variables there, I also see
AZURE_*
, moreDOTNET_*
, and a bunch of others
I recognize that each prefix is designating a 'namespace' of sorts that describe related sets of environment variables, so I'm unlikely to find a master location with info about all of them.
But my question is for each of these domains, where can one find some sort of definitive list or even a general list of important environment variables and their functions?
I feel like my path to understanding these settings and flags is very much random collision based, generating lots of heat with little real work accomplished. I'd rather be on an acyclic, weighted, directed graph to the answers, know what I mean? Even if I'm just greedily looking for the shortest path, it seems better than googling around for different issues and just stumbling upon things buried deep in the github repos or blog posts. Can someone give me an edge here?
The context for this is that after I upgraded to netcore1.1/vs2017/csproj and my CI builds stopped transforming my web.config stdoutlogfile
path correctly for azure web app deployment, I ended up having to dig down into the websdk source and back track through a few variable substitutions to find where the target was determining what environment variable to use when configuring a publish for Azure. I was hoping to find some page in the docs for dotnet publish
with a "here are the environment variables which can affect the output of the publish command" section, but came up empty handed.
.net
is loosing overview, and all this heat is more likely a patch/hotfix than true environment vars Going to try the undocumentedALLOW_5MINUTES_COFFE_BREAK_FOR_DEVELOPERS
now...