forked from coop-cloud/abra
Compare commits
2 Commits
f0412e5fe1
...
bf216024c2
Author | SHA1 | Date |
---|---|---|
Wiktor W. | bf216024c2 | |
Wiktor W. | ad36196c23 |
|
@ -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"})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue