feat(master): show built-from-source services but never update them (#7)

This commit is contained in:
2026-10-12 19:30:38 +02:00
parent c3bd4ca1ed
commit 3d3dfb47e6
8 changed files with 33 additions and 6 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ func TestServicePage_ShowsUpdateButton(t *testing.T) {
}
func TestServicePage_DisabledReason(t *testing.T) {
for _, reason := range []string{model.ReasonSelf, model.ReasonContainer, model.ReasonNoTag, model.ReasonRemoved} {
for _, reason := range []string{model.ReasonSelf, model.ReasonContainer, model.ReasonNoTag, model.ReasonRemoved, model.ReasonBuilt} {
t.Run(reason, func(t *testing.T) {
srv, _, _, _, jobs := newTestEnv(t)
jobs.updatable = &model.NotUpdatableError{Reason: reason}