15588 Commits

Author SHA1 Message Date
Chris Roberts
bbf7e0fb12 Generated proto updates 2022-04-25 16:12:38 -07:00
Chris Roberts
6c7e154a92 Only register managers if legacy is loaded. Close core manager. 2022-04-25 16:01:10 -07:00
Chris Roberts
287268635a Update basis ResourceId() function to match core signature 2022-04-25 16:01:10 -07:00
Chris Roberts
1a07190bb2 Update core manager to cleanup properly, use regular mapping 2022-04-25 16:01:10 -07:00
Chris Roberts
5e277410f3 Use regular mapper for manager and properly cleanup on close 2022-04-25 16:01:10 -07:00
Chris Roberts
8b5bab5250 Update plugin manager to cache named plugins 2022-04-25 16:01:10 -07:00
Chris Roberts
234734061c Add internal interface implementation for managers 2022-04-25 16:01:10 -07:00
Chris Roberts
616e003c42 When creating a plugin instance, register closer 2022-04-25 16:01:10 -07:00
Paul Hinze
b6feb025ba
Merge pull request #261 from hashicorp/add-docker-to-ci
Add docker to Nightly CI
2022-04-25 17:47:22 -05:00
Paul Hinze
605c632734
Merge pull request #262 from hashicorp/lil-test-fix
Prevent autocomplete install test from messing with real homedir
2022-04-25 17:46:35 -05:00
Sophia Castellarin
c182824c49
Merge pull request #255 from hashicorp/path-type
Update paths to use Path type instead of string
2022-04-25 17:45:22 -05:00
sophia
2374af93bb Update tests for path changes 2022-04-25 17:17:52 -05:00
sophia
e4b2c53fc0 Bump sdk 2022-04-25 17:05:54 -05:00
Paul Hinze
f748c42921
ci: Switch to static gem build names in non-shared dirs
Having multiple different VMs building gems inside a shared dir was
causing them to collide, making the second build always fail.
2022-04-25 14:51:11 -05:00
Paul Hinze
93eaf6c885
ci: Move slack output to spam channel 2022-04-25 14:35:30 -05:00
Paul Hinze
baf1d777bc
ci: Run docker provider too 2022-04-25 14:35:30 -05:00
Paul Hinze
11a4664901
ci: Set up docker to use Go vagrant too 2022-04-25 14:35:30 -05:00
Paul Hinze
6646cf50b4
ci: Move always() from step to job so cleanup happens on failures
The `if: always()` can work on steps as well, but in this case we need
it at the job level so it modifies the `needs` clause.

See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-not-requiring-successful-dependent-jobs
2022-04-25 14:35:30 -05:00
Paul Hinze
f07ba964d3
Prevent autocomplete install test from messing with real homedir
It just so happens my `~/.bashrc` is not writable by my user (NixOS
humblebrag lol) so this test fails for me locally.

Turns out the test was touching the user's homedir which we probably
don't want anyways, so stub out a tempdir instead.
2022-04-25 14:24:06 -05:00
sophia
adf2340712 Update Ruby clients for proto changes 2022-04-25 14:12:28 -05:00
sophia
398d982408 Add decode hook for string -> path.Path 2022-04-25 14:12:28 -05:00
sophia
3b8bf20b48 go generate 2022-04-25 14:12:28 -05:00
sophia
25dfcd039f Update paths to use Path type instead of string 2022-04-25 14:12:28 -05:00
Paul Hinze
dc58438476
ci: Run spectesting nightly 2022-04-25 12:26:59 -05:00
Paul Hinze
4cf5f7c1ba
ci: quiet things down a bit 2022-04-25 12:26:59 -05:00
Paul Hinze
6ace8d5d9d
ci: Switch to a log artifact vs a noisy stdout 2022-04-25 12:26:59 -05:00
Paul Hinze
a6184cf431
ci: Use branch for vagrant-spec 2022-04-25 12:26:59 -05:00
Paul Hinze
9d553412ee
Remove rubygems-bundler to address issues executing vagrant ruby
Executing the `vagrant` in the path was yielding an error:

> Could not locate Gemfile or .bundle/ directory

Traced it back to this gem making every ruby binary into a bundler shim
2022-04-25 12:26:59 -05:00
Paul Hinze
98385bd1c0
ci: Bump ulimits - gogo uses lots of open files :) 2022-04-25 12:26:59 -05:00
Paul Hinze
df3c0b6b0f
ci: install gem and use go binary for test runs 2022-04-25 12:26:59 -05:00
Paul Hinze
60a9528a82
ci: Install Ruby 2.7 and not latest, which is catching 3.x 2022-04-25 12:26:59 -05:00
Paul Hinze
b5c321e769
ci: Just run the basic component we know passes locally for now 2022-04-25 12:26:59 -05:00
Paul Hinze
e5635142db
ci: Pass hashibot creds down for private gh fetching 2022-04-25 12:26:59 -05:00
Paul Hinze
152a954266
spectesting: remove docker from matrix temporarily
For the time being to simplify test runs we'll just do vbox until we get
that working smoothly
2022-04-25 12:26:59 -05:00
Paul Hinze
8d1ac0b9a3
spectesting: need submodules to build 2022-04-25 12:26:58 -05:00
Paul Hinze
c42145ae64
spectesting: Remove repo filter to allow it to run on vagrant-ruby 2022-04-25 12:26:58 -05:00
sophia
15455b12b8
Bump sdk 2022-04-25 12:26:58 -05:00
sophia
875c44b324
go generate 2022-04-25 12:26:58 -05:00
sophia
02a0409ca8
Make core Project implement the Project interface from the sdk 2022-04-25 12:26:58 -05:00
Chris Roberts
4215232317
Include documentation on seedPlugin function 2022-04-25 12:26:58 -05:00
Chris Roberts
7e68e25994
Seed target and machine into plugins directly 2022-04-25 12:26:58 -05:00
Chris Roberts
373fc9c7b4
Helper for adding individual seed to plugin 2022-04-25 12:26:58 -05:00
Chris Roberts
1ca5872a5a
Define component types which can be cached 2022-04-25 12:26:58 -05:00
sophia
0c5d02ca53
Bump sdk 2022-04-25 12:26:58 -05:00
sophia
016a9a0efc
Remove box metadata ToMap functions
Box metadata is no longer passed around as a map. Instead it is
it's own service.
2022-04-25 12:26:57 -05:00
sophia
cddcfef0a1
Update Box#UpdateInfo to use box metadata client 2022-04-25 12:26:57 -05:00
sophia
8f23ce0d84
Return nil if box does not have an update 2022-04-25 12:26:57 -05:00
sophia
bb3da1e7db
Create box metadata from hash 2022-04-25 12:26:57 -05:00
sophia
147aa06cfd
Downcase and stringify metadata to create StringIO 2022-04-25 12:26:57 -05:00
sophia
e27e6c7871
Map box metadata 2022-04-25 12:26:57 -05:00