DodoApp: Implement commit status page
Render used volume, postgresql and ingress resource details.
Change-Id: I87f34fd19d0d0d31ec495d2798c9f5ce99c0fd43
diff --git a/core/installer/tasks/activate.go b/core/installer/tasks/activate.go
index 6916262..dafbaf7 100644
--- a/core/installer/tasks/activate.go
+++ b/core/installer/tasks/activate.go
@@ -32,7 +32,7 @@
return err
}
repoHost := strings.Split(st.ssClient.Address(), ":")[0]
- return st.repo.Do(func(r soft.RepoFS) (string, error) {
+ _, err = st.repo.Do(func(r soft.RepoFS) (string, error) {
kust, err := soft.ReadKustomization(r, "environments/kustomization.yaml")
if err != nil {
return "", err
@@ -69,6 +69,7 @@
}
return fmt.Sprintf("%s: initialize environment", env.Id), nil
})
+ return err
})
return &t
}
diff --git a/core/installer/tasks/infra.go b/core/installer/tasks/infra.go
index eb4840f..9d0c011 100644
--- a/core/installer/tasks/infra.go
+++ b/core/installer/tasks/infra.go
@@ -88,13 +88,14 @@
if err != nil {
return err
}
- return r.Do(func(r soft.RepoFS) (string, error) {
+ _, err = r.Do(func(r soft.RepoFS) (string, error) {
fa := firstAccount{false, env.Domain, initGroups}
if err := soft.WriteYaml(r, "first-account.yaml", fa); err != nil {
return "", err
}
return "first account membership configuration", nil
})
+ return err
})
return &t
}
diff --git a/core/installer/tasks/init.go b/core/installer/tasks/init.go
index f55344d..30e35e0 100644
--- a/core/installer/tasks/init.go
+++ b/core/installer/tasks/init.go
@@ -102,7 +102,7 @@
if err != nil {
return err
}
- if err := repoIO.Do(func(r soft.RepoFS) (string, error) {
+ if _, err := repoIO.Do(func(r soft.RepoFS) (string, error) {
w, err := r.Writer("README.md")
if err != nil {
return "", err