pulumi/pkg/util/ciutil
Praneet Loke f4112a4ea1
Add detection of Azure Pipelines (#2705)
* Add a var for PRNumber. Add an environment metadata key for PR number.

* Move the detection of PULUMI_CI_SYSTEM into vars.DetectVars(). Set the PRNumber CI property based on respective env vars from each CI system.

* Add Azure Pipelines build variables.

* Add tests for DetectVars.

* Added changelog entry for Azure Pipelines.

* Capture the value of env var being modified for the ciutil unit test, and restore their values at the end of them.

* Simplify the DetectVars function by moving the Pulumi CI system code into the switch-case expression.

* Rename the Pulumi CI system to Generic CI. Include the GenericCI system in the test case for DetectVars.
2019-05-07 11:49:13 -07:00
..
detect.go Add detection of Azure Pipelines (#2705) 2019-05-07 11:49:13 -07:00
systems.go Add detection of Azure Pipelines (#2705) 2019-05-07 11:49:13 -07:00
vars.go Add detection of Azure Pipelines (#2705) 2019-05-07 11:49:13 -07:00
vars_test.go Add detection of Azure Pipelines (#2705) 2019-05-07 11:49:13 -07:00