15846 Commits

Author SHA1 Message Date
Chris Roberts
f0a7d87f31 Only load target with vagrantfile if config exists 2022-06-27 18:10:40 -07:00
Chris Roberts
4475acb98d Cleanup target init and do not create via WithTargetRef 2022-06-27 18:09:33 -07:00
Chris Roberts
8a8e89d413 Explicitly create target from project 2022-06-27 18:08:43 -07:00
Chris Roberts
9783951719 Ensure caching and use default provider value 2022-06-27 18:08:02 -07:00
Chris Roberts
5b871ec76e
Merge pull request #290 from hashicorp/vagrantfile-config-rebased
Vagrantfile configuration
2022-06-27 12:05:09 -07:00
Chris Roberts
ffa780bfbd Update vagrant-plugin-sdk reference 2022-06-27 12:04:03 -07:00
Chris Roberts
6d4abe2b08 Remove old proto constants 2022-06-27 11:26:22 -07:00
Chris Roberts
a2e0c5619e Use __finalized variable to determine finalization 2022-06-27 11:26:08 -07:00
Chris Roberts
70d9fa9faf Use getters to ensure value 2022-06-27 11:24:12 -07:00
Chris Roberts
ee85eed227 Check that project ref is set before using 2022-06-27 11:23:57 -07:00
Chris Roberts
605c7f9d9f Force fatal when failing to setup machine 2022-06-27 11:23:27 -07:00
Chris Roberts
6f7e17a8b3 Update how configuration is set in tests 2022-06-27 11:22:51 -07:00
Chris Roberts
da0ba680ac Update testing helper setups for signature change 2022-06-27 11:21:41 -07:00
Chris Roberts
0aad3390c9 Add funcspec mappers for finalize and merge wrappers 2022-06-24 18:29:53 -07:00
Chris Roberts
b7eb55bbbc Update config testing builtin to include data checks 2022-06-24 18:28:46 -07:00
Chris Roberts
f1695b6c1f Generated proto updates for config wrappers 2022-06-24 18:28:10 -07:00
Chris Roberts
05baac1514 Update ruby config service to use wrapper protos 2022-06-24 18:27:38 -07:00
Chris Roberts
0d562673f9 Just print class information in error content 2022-06-24 18:27:00 -07:00
Chris Roberts
139349b136 Remove vagrantfiles from default arguments in call 2022-06-24 18:25:50 -07:00
Chris Roberts
778d009bfb Mark configs with unique id. Use id for provisioner caching. 2022-06-22 12:33:07 -07:00
Chris Roberts
8a41ef3396 Remove previous proto generation helpers 2022-06-21 16:51:08 -07:00
Chris Roberts
fd963c39d4 Reuse cache and init after cloning 2022-06-21 14:43:14 -07:00
Chris Roberts
4b61b0be49 Fix state loading for machine 2022-06-21 14:42:14 -07:00
Chris Roberts
2ce2494f79 Don't use actual values in logger output 2022-06-21 14:41:28 -07:00
Chris Roberts
a9b62812ac Add box metadata conversion 2022-06-21 14:41:17 -07:00
Chris Roberts
1bd6e4d946 Always init all known targets 2022-06-21 14:41:05 -07:00
Chris Roberts
83467013e9 Handle Set and Logger types 2022-06-20 16:56:30 -07:00
Chris Roberts
2890fb57c5 Finalize the entire Vagrantfile so all config is properly available 2022-06-20 16:04:01 -07:00
Chris Roberts
e0d8fa6689 Generated proto updates 2022-06-20 13:13:06 -07:00
Chris Roberts
07236213bc Update modules 2022-06-20 13:11:54 -07:00
Chris Roberts
8e69548c76 Memoize some values fetched from the machine client 2022-06-20 13:10:38 -07:00
Chris Roberts
24d8025827 Remove cleanup implementation from runner 2022-06-20 13:09:43 -07:00
Chris Roberts
872812eaa4 Fix up some direct conversions to prevent wrong cache returns 2022-06-20 13:08:01 -07:00
Chris Roberts
b8fbe1ace5 Remove some extraneous logging 2022-06-20 13:07:31 -07:00
Chris Roberts
3f557e26f1 Log what wasn't handled by wrapper 2022-06-20 13:06:14 -07:00
Chris Roberts
17fc49cf41 Add provider parsing to internal endpoint 2022-06-20 13:05:26 -07:00
Chris Roberts
f57ffec0fd Use cleanup helper in runner 2022-06-20 13:04:41 -07:00
Chris Roberts
526c43a926 Use reference name for loading. Allow closes to happen automatically. 2022-06-20 13:04:21 -07:00
Chris Roberts
eee26ce5a0 Do not close individual plugins from manager 2022-06-20 13:02:35 -07:00
Chris Roberts
97c51a56cd Reorganize vagrantfile implementation, support provider overrides 2022-06-20 13:02:01 -07:00
Chris Roberts
f50f700e5c Update machine to use vagrantfile for synced folders 2022-06-20 13:01:13 -07:00
Chris Roberts
3e783b6074 Fix up project vagrantfile usage and target init 2022-06-20 13:00:42 -07:00
Chris Roberts
f564592651 Update target to use vagrantfile 2022-06-20 13:00:02 -07:00
Chris Roberts
ec531c5ace Optimize target loading from index 2022-06-20 12:58:22 -07:00
Chris Roberts
92667df091 Add cleanup to factory and close registered basis when closed 2022-06-20 12:56:56 -07:00
Chris Roberts
16d4145091 Only store a project after it has been fully initialized 2022-06-20 12:56:10 -07:00
Chris Roberts
f5f1fa7f0d Remove direct target loading from client for now 2022-06-20 12:55:38 -07:00
Chris Roberts
a0c78056d2 Add cleanup tasks individually 2022-06-20 12:55:18 -07:00
Chris Roberts
b5233bc86b Prepend closing the runner so data can still be saved 2022-06-20 12:54:39 -07:00
Chris Roberts
c698980afd Update client to use cleanup helper 2022-06-20 12:54:00 -07:00