sophia
d708bab84a
Add error message for errors originating from a remote
2022-05-13 17:14:50 -05:00
sophia
26fac3e1d9
Setup noninteractive ui for the base command if the --no-tty falg is provided
2022-05-13 16:49:30 -05:00
sophia
7a999d1f06
Add tty flag and set noninteractive terminal
2022-05-13 13:46:36 -05:00
Sophia Castellarin
0c7d5f2eee
Merge pull request #264 from hashicorp/msg-localization
...
Msg localization
2022-05-13 12:26:53 -05:00
sophia
4435a23158
Bump sdk
2022-05-13 12:23:26 -05:00
Sophia Castellarin
a65981fe5b
Merge pull request #271 from hashicorp/no-refresh-project
...
Don't refresh the project more then necessary
2022-05-12 17:01:49 -05:00
sophia
361f4ba9ba
Load all localization files and allow sdk to choose the local language to use
2022-05-11 12:59:41 -05:00
sophia
d9b2cb16e0
go mod tidy
2022-05-11 12:59:39 -05:00
sophia
5bfd9bda6c
Enable english and spanish output for donothing command
2022-05-11 12:59:05 -05:00
sophia
0c91c47325
Add i18n, text libs and bump go bindata
2022-05-11 12:59:05 -05:00
sophia
bb30ff94ff
Don't refresh the project more then necessary
...
The project does not need to be retreived from the db every time
it is queried for data. However, it does need to be updated whenever
a target is initialized from the project (eg. an upsert machine
action happens). This is because upserting a target will update the
associated project. Leaving the core.Project with stale data
unless it is refreshed.
2022-05-10 15:24:14 -05:00
Paul Hinze
387470e67f
Merge pull request #270 from hashicorp/ci-slack-on-pass
...
ci: Separate log pulling and notify on success
2022-05-10 11:17:17 -05:00
Paul Hinze
afd0346dc1
ci: Remove unnecessary vars
...
per https://github.com/hashicorp/vagrant-ruby/pull/270#discussion_r867266809
2022-05-10 11:14:28 -05:00
Paul Hinze
ca57fb223a
ci: Simplify log pull
...
per https://github.com/hashicorp/vagrant-ruby/pull/270#discussion_r867266248
2022-05-10 11:13:40 -05:00
Paul Hinze
31c2390533
ci: Separate log pulling and notify on success
...
* Without being a separate task, log pull won't happen on failure
* Add a job at the end for notifying on success - since these only run
nightly and on manual trigger, seems like it'd be nice to get
notified of something happy!
2022-05-06 16:58:51 -05:00
Sophia Castellarin
9b13515602
Merge pull request #267 from hashicorp/project-cp
...
Fill in Ruby Remote Environment and Project Client
2022-05-06 16:14:46 -05:00
Paul Hinze
8ff4fd674c
Add back in some respond_to checks
...
Helps Environment::Remote to work when it's handed a Basis client for
operations like `box list` and `vagrant init`.
2022-05-06 15:23:54 -05:00
sophia
ba1384eb88
Fix machine mappers
2022-05-04 11:51:43 -05:00
sophia
b0b3dc2a47
Remove unused target fields
2022-05-04 11:25:56 -05:00
sophia
e020c6600e
Hacks to let a remote machine be instantiated with or with out a client
2022-05-04 11:25:54 -05:00
sophia
a40d890f74
Instantiate provider for remote machine
2022-05-04 11:25:18 -05:00
sophia
da3ab7f9b3
Refresh project when querying for project info
...
It is not guaranteed which project is ever being used. So whenever
some project property is queried make sure to refresh the project
by getting the latest one from the database.
2022-05-04 11:23:46 -05:00
sophia
6c10944c52
Clean up unused functions
2022-05-04 11:23:12 -05:00
sophia
053d658e52
Get default provider from go side
...
For now the go side will just return a hard coded value for the
default provider. It should be implementing the algorithm defined
at https://www.vagrantup.com/docs/providers/basic_usage.html#default-provider
2022-05-04 11:23:12 -05:00
sophia
92a0b1c541
Allow remote machine to be initialized with just a machine client
2022-05-04 11:23:06 -05:00
sophia
31393eb3a9
Fill in some missing target client functions
2022-05-04 11:22:41 -05:00
sophia
6d1359b1f0
Get Provider from target
2022-05-04 11:22:41 -05:00
sophia
0117c01e4b
Fill in environment remote class
2022-05-04 11:22:41 -05:00
sophia
f340e192f2
Fill in project ruby client
2022-05-04 11:22:41 -05:00
Sophia Castellarin
b842f6841a
Merge pull request #259 from hashicorp/finish-machine
...
Finish machine
2022-05-04 10:17:12 -05:00
sophia
07e3f7e804
Fix machine state tests
2022-05-04 09:45:51 -05:00
sophia
fa561cab29
Fill in mock machine client methods
2022-05-04 09:32:36 -05:00
sophia
4932932b2b
Bump sdk
2022-05-04 09:32:36 -05:00
sophia
2000a53b06
Initialize from client if provided, otherwise from passed in environment
2022-05-04 09:32:36 -05:00
sophia
0a37521ef2
Remove reload machine function from the grpc api
2022-05-04 09:32:36 -05:00
sophia
6dfca17d54
Get machine state from go impl
2022-05-04 09:32:36 -05:00
sophia
b4fbf76a33
Plug machine#uid methods into remote go backend
2022-05-04 09:32:36 -05:00
sophia
5ab49f33bc
Refactor remote machine
2022-05-04 09:32:36 -05:00
Sophia Castellarin
3dcfd32edc
Merge pull request #266 from hashicorp/make-tests-pass
...
Make tests pass
2022-05-04 09:31:47 -05:00
sophia
692dcb1b92
Allow testing plugins to have parent plugins
2022-05-02 16:50:01 -05:00
sophia
d135f24f49
Add target specialization tests
2022-05-02 15:52:36 -05:00
sophia
85ea3c3d1f
Update machine tests
2022-05-02 15:36:47 -05:00
sophia
33ecb07156
Refactor mocks to be wrapped by testing plugin objects
2022-05-02 15:36:01 -05:00
sophia
8df560d659
Set mock guest/host plugin name
2022-05-02 15:31:41 -05:00
sophia
852a87f9d0
Add mock behaviour for getting seeds
2022-05-02 14:56:27 -05:00
sophia
b381487dd2
Use testing plugins to populate testing plugin manager
2022-05-02 14:52:41 -05:00
sophia
c712afad8f
Update testing plugins
2022-05-02 12:33:18 -05:00
Paul Hinze
db14bf00e2
Merge pull request #265 from hashicorp/fix-ci-invalid-key
...
ci: Remove invalid key from workflow
2022-04-29 13:57:18 -05:00
Paul Hinze
198649be9f
ci: Remove invalid key from workflow
...
See https://github.community/t/worflow-with-dispatch-and-branches-setting-suddenly-not-supported-anymore/247732/29
2022-04-29 12:41:43 -05:00
Chris Roberts
0bd1a62ac3
Merge pull request #257 from hashicorp/plugin-closers
...
Properly cleanup plugins
2022-04-28 09:56:42 -07:00