pulumi/cmd
James Nugent 6af4ebe384 Allow any configured CI to use the GitHub app (#1947)
This commit adds checks for a set of predefined environment variables:

- PULUMI_CI_SYSTEM
- PULUMI_CI_BUILD_ID
- PULUMI_CI_BUILD_TYPE
- PULUMI_CI_BUILD_URL
- PULUMI_CI_PULL_REQUEST_SHA

If PULUMI_CI_SYSTEM is set in the environment, CI configuration is
extracted from the remaining variables for sending to the backend, and
disables the checks for supported systems (currently only Travis CI).

This increases the flexibility of the Pulumi CLI by not requiring
specific support for particular CI systems to be added, provided the
necessary environment variables are configured for the job - this should
be possible for at least TeamCity, Jenkins, AWS CodeBuild, Azure DevOps
Pipelines, and likely most other systems.

This should not replace native support for detecting more CI systems in
future, however, since it requires more work of the user.
2018-09-18 09:50:29 -07:00
..
archive.go Add license headers 2018-05-22 15:02:47 -07:00
cancel.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
config.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
config_test.go Consider the key name as part of secret detection 2018-08-09 19:10:14 -07:00
destroy.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
errors.go Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
gen_bash_completion.go Add license headers 2018-05-22 15:02:47 -07:00
gen_markdown.go Add license headers 2018-05-22 15:02:47 -07:00
login.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
logout.go Rename backend packages 2018-09-05 07:32:42 -07:00
logs.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Consolidate some new and up functionality (#1884) 2018-09-06 12:45:56 -07:00
plugin.go Implement status sinks 2018-08-31 15:56:53 -07:00
plugin_install.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
plugin_ls.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_rm.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
preview.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
pulumi.go Added short description to pulumi root cmd (#1925) 2018-09-13 06:45:52 -07:00
refresh.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_export.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_graph.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_import.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_init.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_ls.go Change backend.ListStacks to return a new StackSummary interface (#1931) 2018-09-13 20:54:42 -07:00
stack_output.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_select.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
up.go Consolidate some new and up functionality (#1884) 2018-09-06 12:45:56 -07:00
util.go Allow any configured CI to use the GitHub app (#1947) 2018-09-18 09:50:29 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
whoami.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00