forked from coop-cloud/abra
0
0
Fork 0

Compare commits

...

2 Commits

2 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,6 @@ import (
"coopcloud.tech/abra/pkg/autocomplete"
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/formatter"
"coopcloud.tech/abra/pkg/recipe"
recipePkg "coopcloud.tech/abra/pkg/recipe"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
@ -38,7 +37,7 @@ ${FOO:<default>} syntax). "check" does not confirm or deny this for you.`,
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)
if err := recipe.EnsureExists(app.Recipe); err != nil {
if err := recipePkg.EnsureExists(app.Recipe); err != nil {
logrus.Fatal(err)
}
@ -68,9 +67,9 @@ ${FOO:<default>} syntax). "check" does not confirm or deny this for you.`,
for _, envVar := range envVars {
if envVar.Present {
table.Append([]string{envVar.Name, "✅"})
table.Append([]string{envVar.Name, "✅ OK"})
} else {
table.Append([]string{envVar.Name, "❌"})
table.Append([]string{envVar.Name, "❌ Missing"})
}
}

View File

@ -117,6 +117,10 @@ var UpgradeCommand = cli.Command{
Description: `
Upgrade Abra in-place with the latest stable or release candidate.
This command uses wget and bash. The install script is pulled from:
- default stable release: https://install.abra.coopcloud.tech
- release candidate: https://git.coopcloud.tech/coop-cloud/abra/
Pass "-r/--rc" to install the latest release candidate. Please bear in mind
that it may contain catastrophic bugs. Thank you very much for the testing
efforts!