pulumi/cmd
Luke Hoban 5ede33e03d
Run tests against managed stacks backend instead of FnF (#1092)
Tests now target managed stacks instead of local stacks.

The existing logged in user and target backend API are used unless PULUMI_ACCES_TOKEN is defined, in which case tests are run under that access token and against the PULUMI_API backend.

For developer machines, we will now need to be logged in to Pulumi to run tests, and whichever default API backend is logged in (the one listed as current in ~/.pulumi/credentials.json) will be used. If you need to override these, provide PULUMI_ACCESS_TOKEN and possibly PULUMI_API.

For Travis, we currently target the staging service using the Pulumi Bot user.

We have decided to run tests in the pulumi organization. This can be overridden for local testing (or in Travis in the future) by defining PULUMI_API_OWNER_ORGANIZATION and using an access token with access to that organization.

Part of pulumi/home#195.
2018-04-02 21:34:54 -07:00
..
config.go Fix typeo in error message 2018-03-31 13:48:46 -07:00
config_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
debug_cmds.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
destroy.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
history.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
init.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
login.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
logout.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
logs.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
logs_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
new.go Extract a Pulumi API client. 2018-03-21 16:45:54 -07:00
plugin.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
plugin_install.go Extract a Pulumi API client. 2018-03-21 16:45:54 -07:00
plugin_ls.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
plugin_rm.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
preview.go General prep work for refresh 2018-03-28 07:45:23 -07:00
pulumi.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack_export.go Run tests against managed stacks backend instead of FnF (#1092) 2018-04-02 21:34:54 -07:00
stack_graph.go Spruce up the stack graph command: 2018-02-22 17:31:45 -08:00
stack_import.go Run tests against managed stacks backend instead of FnF (#1092) 2018-04-02 21:34:54 -07:00
stack_init.go Extract a Pulumi API client. 2018-03-21 16:45:54 -07:00
stack_ls.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack_output.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack_output_test.go Adjust stack output formating in the CLI 2018-02-16 12:25:25 -08:00
stack_rm.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack_select.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
update.go General prep work for refresh 2018-03-28 07:45:23 -07:00
upgrade_config.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
util.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
version.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00