[daemon] Remove support for appliances#4363
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4363 +/- ##
==========================================
- Coverage 89.70% 89.39% -0.31%
==========================================
Files 260 260
Lines 15852 18590 +2738
==========================================
+ Hits 14219 16617 +2398
- Misses 1633 1973 +340 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
04f8ba5 to
18fdf5f
Compare
1cdae52 to
710462a
Compare
| TEST_F(Daemon, buildsConfig) | ||
| { | ||
| // Clear our stub image host so that DaemonConfigBuilder::build generates the default. | ||
| config_builder.image_hosts.clear(); | ||
|
|
||
| auto config = config_builder.build(); | ||
| EXPECT_EQ(config->ssh_username, "ubuntu"); | ||
| EXPECT_THAT(config->image_hosts, Not(IsEmpty())); | ||
| } | ||
|
|
There was a problem hiding this comment.
This test is pretty simple and is mainly just to ensure that we can auto-populate image_hosts. Maybe we could add a few more EXPECT_* calls in here to cover the other members...
sharder996
left a comment
There was a problem hiding this comment.
Would you be able to link some documentation referencing the deprecation of Invoke()?
@sharder996 I don't see anything in the actual docs, but this is the warning I get when using |
710462a to
bda64bd
Compare
sharder996
left a comment
There was a problem hiding this comment.
Ok, thanks for the additional details. Just so there's a breadcrumb trail to justify the Invoke() change.
Otherwise, LGTM!
levkropp
left a comment
There was a problem hiding this comment.
LGTM! The only other references to appliances are related to blueprints tests which are going to be removed shortly as well 😀
This resolves #4120.