Discovered this when running the product construction build for core-setup. REPO_PASS wasn't able to be set because the backing secret had been disabled in KV. Looked through its usage in core-setup and saw no uses. I went through the same environment block in the docker configuration run and eliminated anything without a use.
Commit migrated from https://github.com/dotnet/core-setup/commit/
3807ee7ae8a625226797ed988dce5de79c5e100e
"value": "-ConfigurationGroup=$(BuildConfiguration) $(PB_AdditionalBuildArguments)",
"allowOverride": true
},
- "CONNECTION_STRING": {
- "value": "PassedViaPipeBuild"
- },
"DEB_REPO_PASSWORD": {
"value": null,
"isSecret": true
"value": null,
"isSecret": true
},
- "PUBLISH_TO_AZURE_BLOB": {
- "value": "true",
- "allowOverride": true
- },
"DOTNET_BUILD_CONTAINER_TAG": {
"value": "core-setup-$(PB_DockerOS)-$(Build.BuildId)"
},
"value": null,
"isSecret": true
},
- "PUBLISH_TO_AZURE_BLOB": {
- "value": "true",
- "allowOverride": true
- },
"DOTNET_BUILD_CONTAINER_TAG": {
"value": "core-setup-$(PB_DockerOS)-$(Build.BuildId)"
},
"value": "-ConfigurationGroup=$(BuildConfiguration) $(PB_AdditionalBuildArguments)",
"allowOverride": true
},
- "CONNECTION_STRING": {
- "value": "PassedViaPipeBuild"
- },
- "PUBLISH_TO_AZURE_BLOB": {
- "value": "true",
- "allowOverride": true
- },
"GITHUB_PASSWORD": {
"value": "PassedViaPipeBuild"
},
"STORAGE_CONTAINER": {
"value": "dotnet"
},
- "CONNECTION_STRING": {
- "value": "PassedViaPipeBuild"
- },
- "PUBLISH_TO_AZURE_BLOB": {
- "value": "true"
- },
"GITHUB_PASSWORD": {
"value": "PassedViaPipeBuild"
},
"CertificateId": {
"value": "400"
},
- "CONNECTION_STRING": {
- "value": "PassedViaPipeBuild"
- },
"COREHOST_TRACE": {
"value": "0",
"allowOverride": true
"PUBLISH_RID_AGNOSTIC_PACKAGES": {
"value": "true"
},
- "PUBLISH_TO_AZURE_BLOB": {
- "value": "true"
- },
"SourceVersion": {
"value": "HEAD"
},
source "$COMMONDIR/_prettyprint.sh"
-# Other variables are set by the outer build script
-export CHANNEL=$RELEASE_SUFFIX
-
[ -z "$DOTNET_INSTALL_DIR" ] && export DOTNET_INSTALL_DIR=$REPOROOT/.dotnet_stage0/$RID
[ -z "$DOTNET_CLI_VERSION" ] && export DOTNET_CLI_VERSION=0.1.0.0
[ -z "$DOTNET_ON_PATH" ] && export DOTNET_ON_PATH=$STAGE2_DIR && export PATH=$STAGE2_DIR/bin:$PATH
docker run $INTERACTIVE -t --rm --sig-proxy=true \
--name $DOTNET_BUILD_CONTAINER_NAME \
-v $DOCKER_HOST_SHARE_DIR:/opt/code \
- -e CHANNEL \
- -e CONNECTION_STRING \
- -e REPO_ID \
- -e REPO_USER \
- -e REPO_PASS \
- -e REPO_SERVER \
- -e DOTNET_BUILD_SKIP_CROSSGEN \
- -e PUBLISH_TO_AZURE_BLOB \
- -e DOCKER_HUB_REPO \
- -e DOCKER_HUB_TRIGGER_TOKEN \
-e NUGET_FEED_URL \
-e NUGET_SYMBOLS_FEED_URL \
-e NUGET_API_KEY \