Compare commits

..

11 Commits

Author SHA1 Message Date
e612bd610f chore: make i18n
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-29 19:58:42 +02:00
7f4d14ea72 fix: better message for redeploying chaos version
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
See #668
2025-09-29 19:45:59 +02:00
a577ff3284 fix: avoid hanging when tasks randomly surge
See #557
2025-09-29 19:25:38 +02:00
d5584f265a fix: show chaos version on upgrade 2025-09-29 19:13:57 +02:00
a462231c8b fix: write correct undeploy version 2025-09-29 19:13:45 +02:00
b0f4675703 fix: show chaos version on rollback overview 2025-09-29 18:58:56 +02:00
787e40a939 fix: show chaos version on deploy overview 2025-09-29 18:58:43 +02:00
8d7da71cb2 chore: spacing for readability 2025-09-29 18:49:26 +02:00
955f7de53e fix: show chaos version on undeploy 2025-09-29 18:49:16 +02:00
06f5147f1f refactor: chaos-y handling
See #659
2025-09-29 18:48:58 +02:00
3696d63a34 fix: dont overwrite label when chaos
See #668
2025-09-29 18:48:08 +02:00
14 changed files with 334 additions and 412 deletions

View File

@ -3,6 +3,7 @@ package app
import ( import (
"context" "context"
"errors" "errors"
"fmt"
"strings" "strings"
"coopcloud.tech/abra/cli/internal" "coopcloud.tech/abra/cli/internal"
@ -103,18 +104,17 @@ checkout as-is. Recipe commit hashes are also supported as values for
toDeployVersion, err = getDeployVersion(args, deployMeta, app) toDeployVersion, err = getDeployVersion(args, deployMeta, app)
if err != nil { if err != nil {
log.Fatal(i18n.G("get deploy version: %s", err)) log.Fatal(err)
} }
versionIsChaos := false
if !internal.Chaos { if !internal.Chaos {
var err error isChaosCommit, err := app.Recipe.EnsureVersion(toDeployVersion)
versionIsChaos, err = app.Recipe.EnsureVersion(toDeployVersion)
if err != nil { if err != nil {
log.Fatal(i18n.G("ensure recipe: %s", err)) log.Fatal(i18n.G("ensure recipe: %s", err))
} }
if versionIsChaos { if isChaosCommit {
log.Warnf(i18n.G("version '%s' appears to be a chaos commit, but --chaos/-C was not provided", toDeployVersion)) log.Warnf(i18n.G("version '%s' appears to be a chaos commit, but --chaos/-C was not provided", toDeployVersion))
internal.Chaos = true
} }
} }
@ -154,12 +154,23 @@ checkout as-is. Recipe commit hashes are also supported as values for
appPkg.ExposeAllEnv(stackName, compose, app.Env) appPkg.ExposeAllEnv(stackName, compose, app.Env)
appPkg.SetRecipeLabel(compose, stackName, app.Recipe.Name) appPkg.SetRecipeLabel(compose, stackName, app.Recipe.Name)
appPkg.SetChaosLabel(compose, stackName, internal.Chaos || versionIsChaos) appPkg.SetChaosLabel(compose, stackName, internal.Chaos)
if internal.Chaos { if internal.Chaos {
appPkg.SetChaosVersionLabel(compose, stackName, toDeployVersion) appPkg.SetChaosVersionLabel(compose, stackName, toDeployVersion)
} }
appPkg.SetUpdateLabel(compose, stackName, app.Env) appPkg.SetUpdateLabel(compose, stackName, app.Env)
appPkg.SetVersionLabel(compose, stackName, toDeployVersion)
versionLabel := toDeployVersion
if internal.Chaos {
for _, service := range compose.Services {
if service.Name == "app" {
labelKey := fmt.Sprintf("coop-cloud.%s.version", stackName)
// NOTE(d1): keep non-chaos version labbeling when doing chaos ops
versionLabel = service.Deploy.Labels[labelKey]
}
}
}
appPkg.SetVersionLabel(compose, stackName, versionLabel)
envVars, err := appPkg.CheckEnv(app) envVars, err := appPkg.CheckEnv(app)
if err != nil { if err != nil {
@ -189,6 +200,9 @@ checkout as-is. Recipe commit hashes are also supported as values for
deployedVersion := config.NO_VERSION_DEFAULT deployedVersion := config.NO_VERSION_DEFAULT
if deployMeta.IsDeployed { if deployMeta.IsDeployed {
deployedVersion = deployMeta.Version deployedVersion = deployMeta.Version
if deployMeta.IsChaos {
deployedVersion = deployMeta.ChaosVersion
}
} }
// Gather secrets // Gather secrets
@ -300,16 +314,6 @@ func validateArgsAndFlags(args []string) error {
} }
func validateSecrets(cl *dockerClient.Client, app appPkg.App) error { func validateSecrets(cl *dockerClient.Client, app appPkg.App) error {
composeFiles, err := app.Recipe.GetComposeFiles(app.Env)
if err != nil {
return err
}
secretsConfig, err := secret.ReadSecretsConfig(app.Path, composeFiles, app.StackName())
if err != nil {
return err
}
secStats, err := secret.PollSecretsStatus(cl, app) secStats, err := secret.PollSecretsStatus(cl, app)
if err != nil { if err != nil {
return err return err
@ -317,10 +321,6 @@ func validateSecrets(cl *dockerClient.Client, app appPkg.App) error {
for _, secStat := range secStats { for _, secStat := range secStats {
if !secStat.CreatedOnRemote { if !secStat.CreatedOnRemote {
secretConfig := secretsConfig[secStat.LocalName]
if secretConfig.SkipGenerate {
return errors.New(i18n.G("secret not inserted (#generate=false): %s", secStat.LocalName))
}
return errors.New(i18n.G("secret not generated: %s", secStat.LocalName)) return errors.New(i18n.G("secret not generated: %s", secStat.LocalName))
} }
} }
@ -348,7 +348,12 @@ func getDeployVersion(cliArgs []string, deployMeta stack.DeployMeta, app appPkg.
// Check if the recipe has a version in the .env file // Check if the recipe has a version in the .env file
if app.Recipe.EnvVersion != "" && !internal.DeployLatest { if app.Recipe.EnvVersion != "" && !internal.DeployLatest {
if strings.HasSuffix(app.Recipe.EnvVersionRaw, "+U") { if strings.HasSuffix(app.Recipe.EnvVersionRaw, "+U") {
return "", errors.New(i18n.G("version: can not redeploy chaos version %s", app.Recipe.EnvVersionRaw)) // NOTE(d1): use double-line 5 spaces ("FATA ") trick to make a more
// informative error message. it's ugly but that's our logging situation
// atm
return "", errors.New(i18n.G(`cannot redeploy previous chaos version (%s), did you mean to use "--chaos"?
to return to a regular release, specify a release tag, commit SHA or use "--latest"`,
formatter.BoldDirtyDefault(app.Recipe.EnvVersionRaw)))
} }
log.Debug(i18n.G("version: taking version from .env file: %s", app.Recipe.EnvVersion)) log.Debug(i18n.G("version: taking version from .env file: %s", app.Recipe.EnvVersion))
return app.Recipe.EnvVersion, nil return app.Recipe.EnvVersion, nil

View File

@ -192,27 +192,7 @@ var AppNewCommand = &cobra.Command{
log.Info(i18n.G("%s created (version: %s)", appDomain, recipeVersion)) log.Info(i18n.G("%s created (version: %s)", appDomain, recipeVersion))
if len(secretsConfig) > 0 { if len(secretsConfig) > 0 {
var ( log.Warn(i18n.G("%s requires secret generation before deploying, run \"abra app secret generate %s --all\"", recipe.Name, appDomain))
hasSecretToGenerate bool
hasSecretToSkip bool
)
for _, secretConfig := range secretsConfig {
if secretConfig.SkipGenerate {
hasSecretToSkip = true
continue
}
hasSecretToGenerate = true
}
if hasSecretToGenerate && !generateSecrets {
log.Warn(i18n.G("%s requires secret generation before deploy, run \"abra app secret generate %s --all\"", recipe.Name, appDomain))
}
if hasSecretToSkip {
log.Warn(i18n.G("%s requires secret insertion before deploy (#generate=false)", recipe.Name))
}
} }
if len(appSecrets) > 0 { if len(appSecrets) > 0 {

View File

@ -203,10 +203,15 @@ beforehand. See "abra app backup" for more.`),
log.Fatal(err) log.Fatal(err)
} }
deployedVersion := deployMeta.Version
if deployMeta.IsChaos {
deployedVersion = deployMeta.ChaosVersion
}
// NOTE(d1): no release notes implemeneted for rolling back // NOTE(d1): no release notes implemeneted for rolling back
if err := internal.DeployOverview( if err := internal.DeployOverview(
app, app,
deployMeta.Version, deployedVersion,
chosenDowngrade, chosenDowngrade,
"", "",
downgradeWarnMessages, downgradeWarnMessages,

View File

@ -165,7 +165,7 @@ var AppSecretInsertCommand = &cobra.Command{
Arbitrary secret insertion is not supported. Secrets that are inserted must Arbitrary secret insertion is not supported. Secrets that are inserted must
match those configured in the recipe beforehand. match those configured in the recipe beforehand.
This command can be useful when you want to manually generate secrets for an app This can be useful when you want to manually generate secrets for an app
environment. Typically, you can let Abra generate them for you on app creation environment. Typically, you can let Abra generate them for you on app creation
(see "abra app new --secrets/-S" for more).`), (see "abra app new --secrets/-S" for more).`),
Example: i18n.G(` # insert regular secret Example: i18n.G(` # insert regular secret

View File

@ -65,9 +65,14 @@ Passing "--prune/-p" does not remove those volumes.`),
log.Fatal(i18n.G("%s is not deployed?", app.Name)) log.Fatal(i18n.G("%s is not deployed?", app.Name))
} }
version := deployMeta.Version
if deployMeta.IsChaos {
version = deployMeta.ChaosVersion
}
if err := internal.DeployOverview( if err := internal.DeployOverview(
app, app,
deployMeta.Version, version,
config.NO_DOMAIN_DEFAULT, config.NO_DOMAIN_DEFAULT,
"", "",
nil, nil,
@ -110,7 +115,7 @@ Passing "--prune/-p" does not remove those volumes.`),
log.Info(i18n.G("undeploy succeeded 🟢")) log.Info(i18n.G("undeploy succeeded 🟢"))
if err := app.WriteRecipeVersion(deployMeta.Version, false); err != nil { if err := app.WriteRecipeVersion(version, false); err != nil {
log.Fatal(i18n.G("writing recipe version failed: %s", err)) log.Fatal(i18n.G("writing recipe version failed: %s", err))
} }
}, },

View File

@ -241,9 +241,14 @@ beforehand. See "abra app backup" for more.`),
) )
} }
deployedVersion := deployMeta.Version
if deployMeta.IsChaos {
deployedVersion = deployMeta.ChaosVersion
}
if err := internal.DeployOverview( if err := internal.DeployOverview(
app, app,
deployMeta.Version, deployedVersion,
chosenUpgrade, chosenUpgrade,
upgradeReleaseNotes, upgradeReleaseNotes,
upgradeWarnMessages, upgradeWarnMessages,

View File

@ -143,29 +143,37 @@ func getDeployType(currentVersion, newVersion string) string {
if newVersion == config.NO_DOMAIN_DEFAULT { if newVersion == config.NO_DOMAIN_DEFAULT {
return i18n.G("UNDEPLOY") return i18n.G("UNDEPLOY")
} }
if strings.Contains(newVersion, "+U") { if strings.Contains(newVersion, "+U") {
return i18n.G("CHAOS DEPLOY") return i18n.G("CHAOS DEPLOY")
} }
if strings.Contains(currentVersion, "+U") { if strings.Contains(currentVersion, "+U") {
return i18n.G("UNCHAOS DEPLOY") return i18n.G("UNCHAOS DEPLOY")
} }
if currentVersion == newVersion { if currentVersion == newVersion {
return ("REDEPLOY") return ("REDEPLOY")
} }
if currentVersion == config.NO_VERSION_DEFAULT { if currentVersion == config.NO_VERSION_DEFAULT {
return i18n.G("NEW DEPLOY") return i18n.G("NEW DEPLOY")
} }
currentParsed, err := tagcmp.Parse(currentVersion) currentParsed, err := tagcmp.Parse(currentVersion)
if err != nil { if err != nil {
return i18n.G("DEPLOY") return i18n.G("DEPLOY")
} }
newParsed, err := tagcmp.Parse(newVersion) newParsed, err := tagcmp.Parse(newVersion)
if err != nil { if err != nil {
return i18n.G("DEPLOY") return i18n.G("DEPLOY")
} }
if currentParsed.IsLessThan(newParsed) { if currentParsed.IsLessThan(newParsed) {
return i18n.G("UPGRADE") return i18n.G("UPGRADE")
} }
return i18n.G("DOWNGRADE") return i18n.G("DOWNGRADE")
} }

View File

@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "Project-Id-Version: \n" msgstr "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n" "Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-09-29 10:31+0200\n" "POT-Creation-Date: 2025-09-29 19:58+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -111,7 +111,7 @@ msgid " # run <cmd> with args/flags\n"
" abra app run 1312.net app --user nobody -- ls -lha" " abra app run 1312.net app --user nobody -- ls -lha"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:41 #: ./cli/app/deploy.go:42
msgid " # standard deployment\n" msgid " # standard deployment\n"
" abra app deploy 1312.net\n" " abra app deploy 1312.net\n"
"\n" "\n"
@ -201,7 +201,7 @@ msgstr ""
msgid "%s OVERVIEW" msgid "%s OVERVIEW"
msgstr "" msgstr ""
#: ./cli/server/add.go:127 ./pkg/secret/secret.go:233 ./pkg/secret/secret.go:253 ./pkg/server/server.go:21 #: ./cli/server/add.go:127 ./pkg/secret/secret.go:223 ./pkg/secret/secret.go:243 ./pkg/server/server.go:21
#, c-format #, c-format
msgid "%s already exists" msgid "%s already exists"
msgstr "" msgstr ""
@ -226,7 +226,7 @@ msgstr ""
msgid "%s does not exist for %s, use /bin/sh as fallback" msgid "%s does not exist for %s, use /bin/sh as fallback"
msgstr "" msgstr ""
#: ./cli/app/cmd.go:114 ./cli/internal/deploy.go:241 #: ./cli/app/cmd.go:114 ./cli/internal/deploy.go:249
#, c-format #, c-format
msgid "%s does not exist for %s?" msgid "%s does not exist for %s?"
msgstr "" msgstr ""
@ -296,7 +296,7 @@ msgstr ""
msgid "%s has no published versions?" msgid "%s has no published versions?"
msgstr "" msgstr ""
#: ./cli/app/new.go:301 #: ./cli/app/new.go:281
#, c-format #, c-format
msgid "%s has no secrets to generate, skipping..." msgid "%s has no secrets to generate, skipping..."
msgstr "" msgstr ""
@ -311,7 +311,7 @@ msgstr ""
msgid "%s inserted into pass store" msgid "%s inserted into pass store"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:101 #: ./cli/app/deploy.go:102
#, c-format #, c-format
msgid "%s is already deployed" msgid "%s is already deployed"
msgstr "" msgstr ""
@ -336,17 +336,17 @@ msgstr ""
msgid "%s is missing the TYPE env var?" msgid "%s is missing the TYPE env var?"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:301 ./cli/app/rollback.go:305 #: ./cli/app/rollback.go:306 ./cli/app/rollback.go:310
#, c-format #, c-format
msgid "%s is not a downgrade for %s?" msgid "%s is not a downgrade for %s?"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:422 ./cli/app/upgrade.go:426 #: ./cli/app/upgrade.go:427 ./cli/app/upgrade.go:431
#, c-format #, c-format
msgid "%s is not an upgrade for %s?" msgid "%s is not an upgrade for %s?"
msgstr "" msgstr ""
#: ./cli/app/logs.go:65 ./cli/app/ps.go:62 ./cli/app/restart.go:100 ./cli/app/services.go:55 ./cli/app/undeploy.go:65 ./cli/app/upgrade.go:443 ./cli/updater/updater.go:260 #: ./cli/app/logs.go:65 ./cli/app/ps.go:62 ./cli/app/restart.go:100 ./cli/app/services.go:55 ./cli/app/undeploy.go:65 ./cli/app/upgrade.go:448 ./cli/updater/updater.go:260
#, c-format #, c-format
msgid "%s is not deployed?" msgid "%s is not deployed?"
msgstr "" msgstr ""
@ -361,7 +361,7 @@ msgstr ""
msgid "%s is still deployed. Run \"abra app undeploy %s\"" msgid "%s is still deployed. Run \"abra app undeploy %s\""
msgstr "" msgstr ""
#: ./cli/app/deploy.go:172 ./cli/app/upgrade.go:209 #: ./cli/app/deploy.go:183 ./cli/app/upgrade.go:209
#, c-format #, c-format
msgid "%s missing from %s.env" msgid "%s missing from %s.env"
msgstr "" msgstr ""
@ -376,7 +376,7 @@ msgstr ""
msgid "%s not considered semver-like" msgid "%s not considered semver-like"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:135 #: ./pkg/secret/secret.go:130
#, c-format #, c-format
msgid "%s not enabled in recipe config, skipping" msgid "%s not enabled in recipe config, skipping"
msgstr "" msgstr ""
@ -396,14 +396,9 @@ msgstr ""
msgid "%s removed from pass store" msgid "%s removed from pass store"
msgstr "" msgstr ""
#: ./cli/app/new.go:210 #: ./cli/app/new.go:195
#, c-format #, c-format
msgid "%s requires secret generation before deploy, run \"abra app secret generate %s --all\"" msgid "%s requires secret generation before deploying, run \"abra app secret generate %s --all\""
msgstr ""
#: ./cli/app/new.go:214
#, c-format
msgid "%s requires secret insertion before deploy (#generate=false)"
msgstr "" msgstr ""
#: ./cli/app/new.go:141 #: ./cli/app/new.go:141
@ -531,12 +526,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry" msgid "%s: waiting %d seconds before next retry"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:417 #: ./cli/app/upgrade.go:422
#, c-format #, c-format
msgid "'%s' is not a known version" msgid "'%s' is not a known version"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:296 ./cli/app/upgrade.go:412 #: ./cli/app/rollback.go:301 ./cli/app/upgrade.go:417
#, c-format #, c-format
msgid "'%s' is not a known version for %s" msgid "'%s' is not a known version for %s"
msgstr "" msgstr ""
@ -607,7 +602,7 @@ msgstr ""
msgid "Both local recipe and live deployment labels are shown." msgid "Both local recipe and live deployment labels are shown."
msgstr "" msgstr ""
#: ./cli/app/backup.go:319 ./cli/app/backup.go:335 ./cli/app/check.go:95 ./cli/app/cmd.go:285 ./cli/app/cp.go:385 ./cli/app/deploy.go:375 ./cli/app/labels.go:143 ./cli/app/new.go:397 ./cli/app/ps.go:213 ./cli/app/restart.go:162 ./cli/app/restore.go:138 ./cli/app/secret.go:569 ./cli/app/secret.go:609 ./cli/app/secret.go:633 ./cli/app/secret.go:641 ./cli/catalogue/catalogue.go:318 ./cli/recipe/lint.go:137 ./cli/updater/updater.go:538 #: ./cli/app/backup.go:319 ./cli/app/backup.go:335 ./cli/app/check.go:95 ./cli/app/cmd.go:285 ./cli/app/cp.go:385 ./cli/app/deploy.go:380 ./cli/app/labels.go:143 ./cli/app/new.go:377 ./cli/app/ps.go:213 ./cli/app/restart.go:162 ./cli/app/restore.go:138 ./cli/app/secret.go:569 ./cli/app/secret.go:609 ./cli/app/secret.go:633 ./cli/app/secret.go:641 ./cli/catalogue/catalogue.go:318 ./cli/recipe/lint.go:137 ./cli/updater/updater.go:538
msgid "C" msgid "C"
msgstr "" msgstr ""
@ -615,7 +610,7 @@ msgstr ""
msgid "CHAOS" msgid "CHAOS"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:147 #: ./cli/internal/deploy.go:148
msgid "CHAOS DEPLOY" msgid "CHAOS DEPLOY"
msgstr "" msgstr ""
@ -753,11 +748,11 @@ msgid "Creates a new app from a default recipe.\n"
"on your $PATH." "on your $PATH."
msgstr "" msgstr ""
#: ./cli/app/deploy.go:391 ./cli/app/new.go:373 ./cli/app/rollback.go:353 ./cli/app/upgrade.go:463 #: ./cli/app/deploy.go:396 ./cli/app/new.go:353 ./cli/app/rollback.go:358 ./cli/app/upgrade.go:468
msgid "D" msgid "D"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:160 ./cli/internal/deploy.go:164 #: ./cli/internal/deploy.go:165 ./cli/internal/deploy.go:170
msgid "DEPLOY" msgid "DEPLOY"
msgstr "" msgstr ""
@ -765,20 +760,20 @@ msgstr ""
msgid "DEPLOYED LABELS" msgid "DEPLOYED LABELS"
msgstr "" msgstr ""
#: ./cli/app/list.go:222 ./cli/internal/deploy.go:78 ./cli/internal/deploy.go:200 #: ./cli/app/list.go:222 ./cli/internal/deploy.go:78 ./cli/internal/deploy.go:208
msgid "DOMAIN" msgid "DOMAIN"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:169 #: ./cli/internal/deploy.go:177
msgid "DOWNGRADE" msgid "DOWNGRADE"
msgstr "" msgstr ""
#. translators: Short description for `app deploy` command #. translators: Short description for `app deploy` command
#: ./cli/app/deploy.go:35 #: ./cli/app/deploy.go:36
msgid "Deploy an app" msgid "Deploy an app"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:36 #: ./cli/app/deploy.go:37
msgid "Deploy an app.\n" msgid "Deploy an app.\n"
"\n" "\n"
"This command supports chaos operations. Use \"--chaos/-C\" to deploy your recipe\n" "This command supports chaos operations. Use \"--chaos/-C\" to deploy your recipe\n"
@ -864,7 +859,7 @@ msgid "Generate a report of all managed apps.\n"
"Use \"--status/-S\" flag to query all servers for the live deployment status." "Use \"--status/-S\" flag to query all servers for the live deployment status."
msgstr "" msgstr ""
#: ./cli/app/new.go:307 #: ./cli/app/new.go:287
msgid "Generate app secrets?" msgid "Generate app secrets?"
msgstr "" msgstr ""
@ -993,7 +988,7 @@ msgstr ""
msgid "List volumes associated with an app" msgid "List volumes associated with an app"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:208 #: ./cli/internal/deploy.go:216
msgid "MOVE OVERVIEW" msgid "MOVE OVERVIEW"
msgstr "" msgstr ""
@ -1064,7 +1059,7 @@ msgstr ""
msgid "NAME" msgid "NAME"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:156 #: ./cli/internal/deploy.go:160
msgid "NEW DEPLOY" msgid "NEW DEPLOY"
msgstr "" msgstr ""
@ -1072,7 +1067,7 @@ msgstr ""
msgid "NEW DEPLOYMENT" msgid "NEW DEPLOYMENT"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:203 #: ./cli/internal/deploy.go:211
msgid "NEW SERVER" msgid "NEW SERVER"
msgstr "" msgstr ""
@ -1092,7 +1087,7 @@ msgid "Notify on new versions for deployed apps.\n"
"Use \"--major/-m\" to include new major versions." "Use \"--major/-m\" to include new major versions."
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:202 #: ./cli/internal/deploy.go:210
msgid "OLD SERVER" msgid "OLD SERVER"
msgstr "" msgstr ""
@ -1120,7 +1115,7 @@ msgstr ""
msgid "README.md metadata filled in" msgid "README.md metadata filled in"
msgstr "" msgstr ""
#: ./cli/app/list.go:222 ./cli/internal/deploy.go:79 ./cli/internal/deploy.go:201 #: ./cli/app/list.go:222 ./cli/internal/deploy.go:79 ./cli/internal/deploy.go:209
msgid "RECIPE" msgid "RECIPE"
msgstr "" msgstr ""
@ -1236,15 +1231,15 @@ msgstr ""
msgid "Run app commands" msgid "Run app commands"
msgstr "" msgstr ""
#: ./cli/app/backup.go:303 ./cli/app/list.go:295 ./cli/app/logs.go:109 ./cli/app/new.go:389 #: ./cli/app/backup.go:303 ./cli/app/list.go:295 ./cli/app/logs.go:109 ./cli/app/new.go:369
msgid "S" msgid "S"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:99 ./cli/internal/deploy.go:204 #: ./cli/internal/deploy.go:99 ./cli/internal/deploy.go:212
msgid "SECRETS" msgid "SECRETS"
msgstr "" msgstr ""
#: ./cli/app/new.go:224 #: ./cli/app/new.go:204
msgid "SECRETS OVERVIEW" msgid "SECRETS OVERVIEW"
msgstr "" msgstr ""
@ -1277,7 +1272,7 @@ msgstr ""
msgid "STATUS" msgid "STATUS"
msgstr "" msgstr ""
#: ./cli/app/new.go:332 #: ./cli/app/new.go:312
msgid "Select app server:" msgid "Select app server:"
msgstr "" msgstr ""
@ -1314,7 +1309,7 @@ msgstr ""
msgid "Specify a server name" msgid "Specify a server name"
msgstr "" msgstr ""
#: ./cli/app/new.go:283 #: ./cli/app/new.go:263
msgid "Specify app domain" msgid "Specify app domain"
msgstr "" msgstr ""
@ -1368,7 +1363,7 @@ msgid "This command inserts a secret into an app environment.\n"
"Arbitrary secret insertion is not supported. Secrets that are inserted must\n" "Arbitrary secret insertion is not supported. Secrets that are inserted must\n"
"match those configured in the recipe beforehand.\n" "match those configured in the recipe beforehand.\n"
"\n" "\n"
"This command can be useful when you want to manually generate secrets for an app\n" "This can be useful when you want to manually generate secrets for an app\n"
"environment. Typically, you can let Abra generate them for you on app creation\n" "environment. Typically, you can let Abra generate them for you on app creation\n"
"(see \"abra app new --secrets/-S\" for more)." "(see \"abra app new --secrets/-S\" for more)."
msgstr "" msgstr ""
@ -1456,11 +1451,11 @@ msgid "To load completions:\n"
" # and source this file from your PowerShell profile." " # and source this file from your PowerShell profile."
msgstr "" msgstr ""
#: ./cli/app/deploy.go:415 ./cli/app/rollback.go:369 ./cli/app/upgrade.go:487 #: ./cli/app/deploy.go:420 ./cli/app/rollback.go:374 ./cli/app/upgrade.go:492
msgid "U" msgid "U"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:150 #: ./cli/internal/deploy.go:152
msgid "UNCHAOS DEPLOY" msgid "UNCHAOS DEPLOY"
msgstr "" msgstr ""
@ -1468,7 +1463,7 @@ msgstr ""
msgid "UNDEPLOY" msgid "UNDEPLOY"
msgstr "" msgstr ""
#: ./cli/app/list.go:228 ./cli/internal/deploy.go:167 #: ./cli/app/list.go:228 ./cli/internal/deploy.go:174
msgid "UPGRADE" msgid "UPGRADE"
msgstr "" msgstr ""
@ -1594,7 +1589,7 @@ msgstr ""
msgid "VERSION" msgid "VERSION"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:205 #: ./cli/internal/deploy.go:213
msgid "VOLUMES" msgid "VOLUMES"
msgstr "" msgstr ""
@ -1800,7 +1795,7 @@ msgstr ""
msgid "attempting to create client for %s" msgid "attempting to create client for %s"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:222 #: ./pkg/secret/secret.go:212
#, c-format #, c-format
msgid "attempting to generate and store %s on %s" msgid "attempting to generate and store %s on %s"
msgstr "" msgstr ""
@ -1810,7 +1805,7 @@ msgstr ""
msgid "attempting to run %s" msgid "attempting to run %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:257 ./cli/app/upgrade.go:289 #: ./cli/app/deploy.go:271 ./cli/app/upgrade.go:294
#, c-format #, c-format
msgid "attempting to run post deploy commands, saw: %s" msgid "attempting to run post deploy commands, saw: %s"
msgstr "" msgstr ""
@ -1835,12 +1830,12 @@ msgstr ""
msgid "autocomplete [bash|zsh|fish|powershell]" msgid "autocomplete [bash|zsh|fish|powershell]"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:64 ./cli/app/logs.go:39 ./cli/app/rollback.go:64 ./cli/app/secret.go:49 ./cli/app/secret.go:191 ./cli/app/secret.go:360 ./cli/app/upgrade.go:63 ./pkg/autocomplete/autocomplete.go:18 ./pkg/autocomplete/autocomplete.go:33 ./pkg/autocomplete/autocomplete.go:44 ./pkg/autocomplete/autocomplete.go:50 ./pkg/autocomplete/autocomplete.go:70 ./pkg/autocomplete/autocomplete.go:88 ./pkg/autocomplete/autocomplete.go:104 ./pkg/autocomplete/autocomplete.go:110 ./pkg/autocomplete/autocomplete.go:125 #: ./cli/app/deploy.go:65 ./cli/app/logs.go:39 ./cli/app/rollback.go:64 ./cli/app/secret.go:49 ./cli/app/secret.go:191 ./cli/app/secret.go:360 ./cli/app/upgrade.go:63 ./pkg/autocomplete/autocomplete.go:18 ./pkg/autocomplete/autocomplete.go:33 ./pkg/autocomplete/autocomplete.go:44 ./pkg/autocomplete/autocomplete.go:50 ./pkg/autocomplete/autocomplete.go:70 ./pkg/autocomplete/autocomplete.go:88 ./pkg/autocomplete/autocomplete.go:104 ./pkg/autocomplete/autocomplete.go:110 ./pkg/autocomplete/autocomplete.go:125
#, c-format #, c-format
msgid "autocomplete failed: %s" msgid "autocomplete failed: %s"
msgstr "" msgstr ""
#: ./cli/app/new.go:391 #: ./cli/app/new.go:371
msgid "automatically generate secrets" msgid "automatically generate secrets"
msgstr "" msgstr ""
@ -1900,7 +1895,7 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra app cp` aliases. use a comma separated list of aliases with #. translators: `abra app cp` aliases. use a comma separated list of aliases with
#. no spaces in between #. no spaces in between
#: ./cli/app/backup.go:148 ./cli/app/cp.go:30 ./cli/app/deploy.go:399 ./cli/app/rollback.go:361 ./cli/app/upgrade.go:471 #: ./cli/app/backup.go:148 ./cli/app/cp.go:30 ./cli/app/deploy.go:404 ./cli/app/rollback.go:366 ./cli/app/upgrade.go:476
msgid "c" msgid "c"
msgstr "" msgstr ""
@ -1908,11 +1903,6 @@ msgstr ""
msgid "can not insert from file and read from stdin" msgid "can not insert from file and read from stdin"
msgstr "" msgstr ""
#: ./pkg/recipe/git.go:52
#, c-format
msgid "can not redeploy chaos version (%s) without --chaos"
msgstr ""
#: ./cli/recipe/upgrade.go:324 #: ./cli/recipe/upgrade.go:324
#, c-format #, c-format
msgid "can upgrade service: %s, image: %s, tag: %s ::" msgid "can upgrade service: %s, image: %s, tag: %s ::"
@ -1937,7 +1927,7 @@ msgstr ""
msgid "can't separate key from value: %s (this variable is probably unset)" msgid "can't separate key from value: %s (this variable is probably unset)"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:229 #: ./cli/internal/deploy.go:237
msgid "cancelled" msgid "cancelled"
msgstr "" msgstr ""
@ -1961,6 +1951,17 @@ msgstr ""
msgid "cannot parse %s, invalid tag specified?" msgid "cannot parse %s, invalid tag specified?"
msgstr "" msgstr ""
#: ./pkg/recipe/git.go:52
#, c-format
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr ""
#: ./cli/app/deploy.go:354
#, c-format
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?\n"
" to return to a regular release, specify a release tag, commit SHA or use \"--latest\""
msgstr ""
#: ./pkg/dns/dns.go:38 ./pkg/dns/dns.go:47 #: ./pkg/dns/dns.go:38 ./pkg/dns/dns.go:47
#, c-format #, c-format
msgid "cannot resolve ipv4 for %s?" msgid "cannot resolve ipv4 for %s?"
@ -1974,7 +1975,7 @@ msgstr ""
msgid "cannot use '[secret] [version]' and '--all' together" msgid "cannot use '[secret] [version]' and '--all' together"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:296 #: ./cli/app/deploy.go:310
msgid "cannot use --chaos and --latest together" msgid "cannot use --chaos and --latest together"
msgstr "" msgstr ""
@ -1998,11 +1999,11 @@ msgstr ""
msgid "cannot use [service] and --all-services/-a together" msgid "cannot use [service] and --all-services/-a together"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:288 ./cli/app/new.go:76 #: ./cli/app/deploy.go:302 ./cli/app/new.go:76
msgid "cannot use [version] and --chaos together" msgid "cannot use [version] and --chaos together"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:292 #: ./cli/app/deploy.go:306
msgid "cannot use [version] and --latest together" msgid "cannot use [version] and --latest together"
msgstr "" msgstr ""
@ -2034,7 +2035,7 @@ msgstr ""
msgid "cfg" msgid "cfg"
msgstr "" msgstr ""
#: ./cli/app/backup.go:318 ./cli/app/backup.go:334 ./cli/app/check.go:94 ./cli/app/cmd.go:284 ./cli/app/cp.go:384 ./cli/app/deploy.go:374 ./cli/app/labels.go:142 ./cli/app/new.go:396 ./cli/app/ps.go:212 ./cli/app/restart.go:161 ./cli/app/restore.go:137 ./cli/app/secret.go:568 ./cli/app/secret.go:608 ./cli/app/secret.go:632 ./cli/app/secret.go:640 ./cli/catalogue/catalogue.go:317 ./cli/recipe/lint.go:136 ./cli/updater/updater.go:537 #: ./cli/app/backup.go:318 ./cli/app/backup.go:334 ./cli/app/check.go:94 ./cli/app/cmd.go:284 ./cli/app/cp.go:384 ./cli/app/deploy.go:379 ./cli/app/labels.go:142 ./cli/app/new.go:376 ./cli/app/ps.go:212 ./cli/app/restart.go:161 ./cli/app/restore.go:137 ./cli/app/secret.go:568 ./cli/app/secret.go:608 ./cli/app/secret.go:632 ./cli/app/secret.go:640 ./cli/catalogue/catalogue.go:317 ./cli/recipe/lint.go:136 ./cli/updater/updater.go:537
msgid "chaos" msgid "chaos"
msgstr "" msgstr ""
@ -2047,7 +2048,7 @@ msgstr ""
msgid "check for major updates" msgid "check for major updates"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:93 ./cli/app/undeploy.go:57 ./cli/app/upgrade.go:435 #: ./cli/app/deploy.go:94 ./cli/app/undeploy.go:57 ./cli/app/upgrade.go:440
#, c-format #, c-format
msgid "checking whether %s is already deployed" msgid "checking whether %s is already deployed"
msgstr "" msgstr ""
@ -2198,7 +2199,7 @@ msgstr ""
msgid "considering %s config(s) for tag update" msgid "considering %s config(s) for tag update"
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:135 ./cli/server/prune.go:53 #: ./cli/app/undeploy.go:140 ./cli/server/prune.go:53
#, c-format #, c-format
msgid "containers pruned: %d; space reclaimed: %s" msgid "containers pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
@ -2329,7 +2330,7 @@ msgstr ""
msgid "critical errors present in %s config" msgid "critical errors present in %s config"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:291 #: ./cli/app/rollback.go:296
#, c-format #, c-format
msgid "current deployment '%s' is not a known version for %s" msgid "current deployment '%s' is not a known version for %s"
msgstr "" msgstr ""
@ -2350,7 +2351,7 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra recipe diff` aliases. use a comma separated list of aliases #. translators: `abra recipe diff` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: ./cli/app/backup.go:73 ./cli/app/deploy.go:28 ./cli/recipe/diff.go:16 ./cli/updater/updater.go:491 #: ./cli/app/backup.go:73 ./cli/app/deploy.go:29 ./cli/recipe/diff.go:16 ./cli/updater/updater.go:491
msgid "d" msgid "d"
msgstr "" msgstr ""
@ -2369,7 +2370,7 @@ msgid "deleted %s successfully from server"
msgstr "" msgstr ""
#. translators: `app deploy` command #. translators: `app deploy` command
#: ./cli/app/deploy.go:32 #: ./cli/app/deploy.go:33
msgid "deploy <domain> [version] [flags]" msgid "deploy <domain> [version] [flags]"
msgstr "" msgstr ""
@ -2385,7 +2386,7 @@ msgstr ""
msgid "deploy labels stanza present" msgid "deploy labels stanza present"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:409 #: ./cli/app/deploy.go:414
msgid "deploy latest recipe version" msgid "deploy latest recipe version"
msgstr "" msgstr ""
@ -2487,11 +2488,11 @@ msgstr ""
msgid "dirty: %v, " msgid "dirty: %v, "
msgstr "" msgstr ""
#: ./cli/app/deploy.go:401 ./cli/app/rollback.go:363 ./cli/app/upgrade.go:473 #: ./cli/app/deploy.go:406 ./cli/app/rollback.go:368 ./cli/app/upgrade.go:478
msgid "disable converge logic checks" msgid "disable converge logic checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:393 ./cli/app/rollback.go:355 ./cli/app/upgrade.go:465 #: ./cli/app/deploy.go:398 ./cli/app/rollback.go:360 ./cli/app/upgrade.go:470
msgid "disable public DNS checks" msgid "disable public DNS checks"
msgstr "" msgstr ""
@ -2512,11 +2513,11 @@ msgstr ""
msgid "docker: is the daemon running / your user has docker permissions?" msgid "docker: is the daemon running / your user has docker permissions?"
msgstr "" msgstr ""
#: ./cli/app/new.go:372 #: ./cli/app/new.go:352
msgid "domain" msgid "domain"
msgstr "" msgstr ""
#: ./cli/app/new.go:375 #: ./cli/app/new.go:355
msgid "domain name for app" msgid "domain name for app"
msgstr "" msgstr ""
@ -2549,7 +2550,7 @@ msgstr ""
msgid "download <domain> [flags]" msgid "download <domain> [flags]"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:219 #: ./cli/internal/deploy.go:227
msgid "dry run" msgid "dry run"
msgstr "" msgstr ""
@ -2636,7 +2637,7 @@ msgstr ""
msgid "ensure \"image: ...\" set on all services" msgid "ensure \"image: ...\" set on all services"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:114 #: ./cli/app/deploy.go:113
#, c-format #, c-format
msgid "ensure recipe: %s" msgid "ensure recipe: %s"
msgstr "" msgstr ""
@ -2729,7 +2730,7 @@ msgstr ""
#. translators: `abra recipe fetch` aliases. use a comma separated list of aliases #. translators: `abra recipe fetch` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: ./cli/app/deploy.go:383 ./cli/app/remove.go:163 ./cli/app/rollback.go:345 ./cli/app/secret.go:593 ./cli/app/upgrade.go:455 ./cli/app/volume.go:217 ./cli/recipe/fetch.go:20 ./cli/recipe/fetch.go:138 #: ./cli/app/deploy.go:388 ./cli/app/remove.go:163 ./cli/app/rollback.go:350 ./cli/app/secret.go:593 ./cli/app/upgrade.go:460 ./cli/app/volume.go:217 ./cli/recipe/fetch.go:20 ./cli/recipe/fetch.go:138
msgid "f" msgid "f"
msgstr "" msgstr ""
@ -2965,7 +2966,7 @@ msgstr ""
msgid "for %s read env %s with value: %s from docker service" msgid "for %s read env %s with value: %s from docker service"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:382 ./cli/app/remove.go:162 ./cli/app/rollback.go:344 ./cli/app/upgrade.go:454 ./cli/app/volume.go:216 ./cli/recipe/fetch.go:137 #: ./cli/app/deploy.go:387 ./cli/app/remove.go:162 ./cli/app/rollback.go:349 ./cli/app/upgrade.go:459 ./cli/app/volume.go:216 ./cli/recipe/fetch.go:137
msgid "force" msgid "force"
msgstr "" msgstr ""
@ -3004,12 +3005,12 @@ msgstr ""
msgid "generate all secrets" msgid "generate all secrets"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:67 ./pkg/secret/secret.go:85 #: ./pkg/secret/secret.go:62 ./pkg/secret/secret.go:80
#, c-format #, c-format
msgid "generated %s" msgid "generated %s"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:278 #: ./pkg/secret/secret.go:268
#, c-format #, c-format
msgid "generated and stored %v on %s" msgid "generated and stored %v on %s"
msgstr "" msgstr ""
@ -3024,11 +3025,6 @@ msgstr ""
msgid "generated secrets %s shown again, please take note of them %s" msgid "generated secrets %s shown again, please take note of them %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:106
#, c-format
msgid "get deploy version: %s"
msgstr ""
#: ./pkg/app/compose.go:81 #: ./pkg/app/compose.go:81
#, c-format #, c-format
msgid "get label '%s'" msgid "get label '%s'"
@ -3184,11 +3180,11 @@ msgstr ""
msgid "id: %s, " msgid "id: %s, "
msgstr "" msgstr ""
#: ./cli/app/backup.go:321 ./cli/app/backup.go:337 ./cli/app/check.go:97 ./cli/app/cmd.go:287 ./cli/app/cp.go:387 ./cli/app/deploy.go:377 ./cli/app/labels.go:145 ./cli/app/new.go:399 ./cli/app/ps.go:215 ./cli/app/restart.go:164 ./cli/app/restore.go:140 ./cli/app/secret.go:571 ./cli/app/secret.go:611 ./cli/app/secret.go:635 ./cli/app/secret.go:643 ./cli/catalogue/catalogue.go:320 ./cli/recipe/lint.go:139 ./cli/updater/updater.go:540 #: ./cli/app/backup.go:321 ./cli/app/backup.go:337 ./cli/app/check.go:97 ./cli/app/cmd.go:287 ./cli/app/cp.go:387 ./cli/app/deploy.go:382 ./cli/app/labels.go:145 ./cli/app/new.go:379 ./cli/app/ps.go:215 ./cli/app/restart.go:164 ./cli/app/restore.go:140 ./cli/app/secret.go:571 ./cli/app/secret.go:611 ./cli/app/secret.go:635 ./cli/app/secret.go:643 ./cli/catalogue/catalogue.go:320 ./cli/recipe/lint.go:139 ./cli/updater/updater.go:540
msgid "ignore uncommitted recipes changes" msgid "ignore uncommitted recipes changes"
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:150 ./cli/server/prune.go:74 #: ./cli/app/undeploy.go:155 ./cli/server/prune.go:74
#, c-format #, c-format
msgid "images pruned: %d; space reclaimed: %s" msgid "images pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
@ -3377,7 +3373,7 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra recipe lint` aliases. use a comma separated list of #. translators: `abra recipe lint` aliases. use a comma separated list of
#. aliases with no spaces in between #. aliases with no spaces in between
#: ./cli/app/cmd.go:261 ./cli/app/deploy.go:407 ./cli/app/logs.go:20 ./cli/recipe/lint.go:17 ./cli/server/add.go:207 #: ./cli/app/cmd.go:261 ./cli/app/deploy.go:412 ./cli/app/logs.go:20 ./cli/recipe/lint.go:17 ./cli/server/add.go:207
msgid "l" msgid "l"
msgstr "" msgstr ""
@ -3386,7 +3382,7 @@ msgstr ""
msgid "labels <domain> [flags]" msgid "labels <domain> [flags]"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:406 ./cli/app/list.go:183 #: ./cli/app/deploy.go:411 ./cli/app/list.go:183
msgid "latest" msgid "latest"
msgstr "" msgstr ""
@ -3570,7 +3566,7 @@ msgstr ""
msgid "missing arguments or --all/-a flag" msgid "missing arguments or --all/-a flag"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:131 #: ./pkg/secret/secret.go:126
#, c-format #, c-format
msgid "missing version for secret? (%s)" msgid "missing version for secret? (%s)"
msgstr "" msgstr ""
@ -3626,7 +3622,7 @@ msgstr ""
msgid "network %q is declared as external, but it is not in the right scope: %q instead of \"swarm\"" msgid "network %q is declared as external, but it is not in the right scope: %q instead of \"swarm\""
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:142 ./cli/server/prune.go:60 #: ./cli/app/undeploy.go:147 ./cli/server/prune.go:60
#, c-format #, c-format
msgid "networks pruned: %d" msgid "networks pruned: %d"
msgstr "" msgstr ""
@ -3733,7 +3729,7 @@ msgstr ""
msgid "no containers matching the %v filter found?" msgid "no containers matching the %v filter found?"
msgstr "" msgstr ""
#: ./cli/app/new.go:292 ./cli/internal/validate.go:129 #: ./cli/app/new.go:272 ./cli/internal/validate.go:129
msgid "no domain provided" msgid "no domain provided"
msgstr "" msgstr ""
@ -3791,7 +3787,7 @@ msgstr ""
msgid "no secrets to remove?" msgid "no secrets to remove?"
msgstr "" msgstr ""
#: ./cli/app/new.go:341 ./cli/internal/validate.go:167 #: ./cli/app/new.go:321 ./cli/internal/validate.go:167
msgid "no server provided" msgid "no server provided"
msgstr "" msgstr ""
@ -3849,11 +3845,11 @@ msgstr ""
msgid "no volumes to remove" msgid "no volumes to remove"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:398 ./cli/app/rollback.go:360 ./cli/app/upgrade.go:470 #: ./cli/app/deploy.go:403 ./cli/app/rollback.go:365 ./cli/app/upgrade.go:475
msgid "no-converge-checks" msgid "no-converge-checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:390 ./cli/app/rollback.go:352 ./cli/app/upgrade.go:462 #: ./cli/app/deploy.go:395 ./cli/app/rollback.go:357 ./cli/app/upgrade.go:467
msgid "no-domain-checks" msgid "no-domain-checks"
msgstr "" msgstr ""
@ -3865,12 +3861,12 @@ msgstr ""
msgid "no-tty" msgid "no-tty"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:249 #: ./cli/internal/deploy.go:257
#, c-format #, c-format
msgid "not enough arguments: %s" msgid "not enough arguments: %s"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:124 #: ./pkg/secret/secret.go:119
msgid "not generating app secrets, none enabled in recipe config" msgid "not generating app secrets, none enabled in recipe config"
msgstr "" msgstr ""
@ -3918,7 +3914,7 @@ msgstr ""
msgid "only show errors" msgid "only show errors"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:481 #: ./cli/app/upgrade.go:486
msgid "only show release notes" msgid "only show release notes"
msgstr "" msgstr ""
@ -3930,7 +3926,7 @@ msgstr ""
#. with no spaces in between #. with no spaces in between
#. translators: `abra server prune` aliases. use a comma separated list of #. translators: `abra server prune` aliases. use a comma separated list of
#. aliases with no spaces in between #. aliases with no spaces in between
#: ./cli/app/backup.go:295 ./cli/app/new.go:381 ./cli/app/ps.go:29 ./cli/app/secret.go:561 ./cli/app/secret.go:585 ./cli/app/secret.go:625 ./cli/app/undeploy.go:163 ./cli/catalogue/catalogue.go:294 ./cli/recipe/list.go:112 ./cli/recipe/release.go:672 ./cli/server/prune.go:18 #: ./cli/app/backup.go:295 ./cli/app/new.go:361 ./cli/app/ps.go:29 ./cli/app/secret.go:561 ./cli/app/secret.go:585 ./cli/app/secret.go:625 ./cli/app/undeploy.go:168 ./cli/catalogue/catalogue.go:294 ./cli/recipe/list.go:112 ./cli/recipe/release.go:672 ./cli/server/prune.go:18
msgid "p" msgid "p"
msgstr "" msgstr ""
@ -3949,27 +3945,27 @@ msgstr ""
msgid "parsed following command arguments: %s" msgid "parsed following command arguments: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:338 #: ./cli/app/upgrade.go:343
#, c-format #, c-format
msgid "parsing chosen upgrade version failed: %s" msgid "parsing chosen upgrade version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:382 #: ./cli/app/upgrade.go:387
#, c-format #, c-format
msgid "parsing deployed version failed: %s" msgid "parsing deployed version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:343 #: ./cli/app/upgrade.go:348
#, c-format #, c-format
msgid "parsing deployment version failed: %s" msgid "parsing deployment version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:349 ./cli/app/upgrade.go:388 #: ./cli/app/upgrade.go:354 ./cli/app/upgrade.go:393
#, c-format #, c-format
msgid "parsing recipe version failed: %s" msgid "parsing recipe version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/new.go:380 ./cli/app/secret.go:560 ./cli/app/secret.go:584 ./cli/app/secret.go:624 #: ./cli/app/new.go:360 ./cli/app/secret.go:560 ./cli/app/secret.go:584 ./cli/app/secret.go:624
msgid "pass" msgid "pass"
msgstr "" msgstr ""
@ -3989,7 +3985,7 @@ msgstr ""
msgid "pattern" msgid "pattern"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:385 ./cli/app/remove.go:165 ./cli/app/rollback.go:347 ./cli/app/upgrade.go:457 ./cli/app/volume.go:219 #: ./cli/app/deploy.go:390 ./cli/app/remove.go:165 ./cli/app/rollback.go:352 ./cli/app/upgrade.go:462 ./cli/app/volume.go:219
msgid "perform action without further prompt" msgid "perform action without further prompt"
msgstr "" msgstr ""
@ -3998,22 +3994,22 @@ msgstr ""
msgid "please fix your synced label for %s and re-run this command" msgid "please fix your synced label for %s and re-run this command"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:259 #: ./cli/app/rollback.go:264
#, c-format #, c-format
msgid "please select a downgrade (version: %s):" msgid "please select a downgrade (version: %s):"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:264 #: ./cli/app/rollback.go:269
#, c-format #, c-format
msgid "please select a downgrade (version: %s, chaos: %s):" msgid "please select a downgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:305 #: ./cli/app/upgrade.go:310
#, c-format #, c-format
msgid "please select an upgrade (version: %s):" msgid "please select an upgrade (version: %s):"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:310 #: ./cli/app/upgrade.go:315
#, c-format #, c-format
msgid "please select an upgrade (version: %s, chaos: %s):" msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
@ -4038,7 +4034,7 @@ msgstr ""
msgid "print machine-readable output" msgid "print machine-readable output"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:223 #: ./cli/internal/deploy.go:231
msgid "proceed?" msgid "proceed?"
msgstr "" msgstr ""
@ -4052,7 +4048,7 @@ msgstr ""
msgid "proposed images: %v" msgid "proposed images: %v"
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:162 #: ./cli/app/undeploy.go:167
msgid "prune" msgid "prune"
msgstr "" msgstr ""
@ -4061,7 +4057,7 @@ msgstr ""
msgid "prune <server> [flags]" msgid "prune <server> [flags]"
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:165 #: ./cli/app/undeploy.go:170
msgid "prune unused containers, networks, and dangling images" msgid "prune unused containers, networks, and dangling images"
msgstr "" msgstr ""
@ -4094,7 +4090,7 @@ msgstr ""
#. with no spaces in between #. with no spaces in between
#. translators: `abra recipe` aliases. use a comma separated list of aliases #. translators: `abra recipe` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: ./cli/app/backup.go:327 ./cli/app/list.go:303 ./cli/app/move.go:346 ./cli/app/run.go:23 ./cli/app/upgrade.go:479 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:640 ./cli/recipe/sync.go:270 #: ./cli/app/backup.go:327 ./cli/app/list.go:303 ./cli/app/move.go:346 ./cli/app/run.go:23 ./cli/app/upgrade.go:484 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:640 ./cli/recipe/sync.go:270
msgid "r" msgid "r"
msgstr "" msgstr ""
@ -4210,7 +4206,7 @@ msgstr ""
msgid "release <recipe> [version] [flags]" msgid "release <recipe> [version] [flags]"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:478 #: ./cli/app/upgrade.go:483
msgid "releasenotes" msgid "releasenotes"
msgstr "" msgstr ""
@ -4514,7 +4510,7 @@ msgstr ""
msgid "run command locally" msgid "run command locally"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:255 ./cli/app/upgrade.go:286 #: ./cli/app/deploy.go:269 ./cli/app/upgrade.go:291
#, c-format #, c-format
msgid "run the following post-deploy commands: %s" msgid "run the following post-deploy commands: %s"
msgstr "" msgstr ""
@ -4524,7 +4520,7 @@ msgstr ""
msgid "running backup %s on %s with exec config %v" msgid "running backup %s on %s with exec config %v"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:279 #: ./cli/internal/deploy.go:287
#, c-format #, c-format
msgid "running command %s %s within the context of %s_%s" msgid "running command %s %s within the context of %s_%s"
msgstr "" msgstr ""
@ -4544,7 +4540,7 @@ msgstr ""
msgid "running command: %s" msgid "running command: %s"
msgstr "" msgstr ""
#: ./cli/internal/deploy.go:257 #: ./cli/internal/deploy.go:265
#, c-format #, c-format
msgid "running post-command '%s %s' in container %s" msgid "running post-command '%s %s' in container %s"
msgstr "" msgstr ""
@ -4557,7 +4553,7 @@ msgstr ""
#. aliases with no spaces in between #. aliases with no spaces in between
#. translators: `abra server` aliases. use a comma separated list of aliases #. translators: `abra server` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: ./cli/app/backup.go:198 ./cli/app/backup.go:263 ./cli/app/backup.go:287 ./cli/app/list.go:326 ./cli/app/logs.go:101 ./cli/app/new.go:358 ./cli/app/restore.go:114 ./cli/app/secret.go:535 ./cli/catalogue/catalogue.go:27 ./cli/catalogue/catalogue.go:310 ./cli/recipe/fetch.go:130 ./cli/recipe/sync.go:24 ./cli/server/server.go:12 #: ./cli/app/backup.go:198 ./cli/app/backup.go:263 ./cli/app/backup.go:287 ./cli/app/list.go:326 ./cli/app/logs.go:101 ./cli/app/new.go:338 ./cli/app/restore.go:114 ./cli/app/secret.go:535 ./cli/catalogue/catalogue.go:27 ./cli/catalogue/catalogue.go:310 ./cli/recipe/fetch.go:130 ./cli/recipe/sync.go:24 ./cli/server/server.go:12
msgid "s" msgid "s"
msgstr "" msgstr ""
@ -4575,7 +4571,7 @@ msgstr ""
msgid "searching abra.sh for version for %s" msgid "searching abra.sh for version for %s"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:149 #: ./pkg/secret/secret.go:139
#, c-format #, c-format
msgid "secret %s is > %d chars when combined with %s" msgid "secret %s is > %d chars when combined with %s"
msgstr "" msgstr ""
@ -4604,27 +4600,22 @@ msgstr ""
msgid "secret not generated: %s" msgid "secret not generated: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:322
#, c-format
msgid "secret not inserted (#generate=false): %s"
msgstr ""
#: ./cli/app/remove.go:123 #: ./cli/app/remove.go:123
#, c-format #, c-format
msgid "secret: %s removed" msgid "secret: %s removed"
msgstr "" msgstr ""
#: ./cli/app/backup.go:302 ./cli/app/new.go:388 #: ./cli/app/backup.go:302 ./cli/app/new.go:368
msgid "secrets" msgid "secrets"
msgstr "" msgstr ""
#: ./cli/app/new.go:228 #: ./cli/app/new.go:208
#, c-format #, c-format
msgid "secrets are %s shown again, please save them %s" msgid "secrets are %s shown again, please save them %s"
msgstr "" msgstr ""
#. translators: `abra server` command for autocompletion #. translators: `abra server` command for autocompletion
#: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:357 ./cli/app/new.go:364 ./cli/run.go:101 #: ./cli/app/list.go:325 ./cli/app/list.go:332 ./cli/app/new.go:337 ./cli/app/new.go:344 ./cli/run.go:101
msgid "server" msgid "server"
msgstr "" msgstr ""
@ -4724,7 +4715,7 @@ msgstr ""
msgid "severity" msgid "severity"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:417 ./cli/app/rollback.go:371 ./cli/app/upgrade.go:489 #: ./cli/app/deploy.go:422 ./cli/app/rollback.go:376 ./cli/app/upgrade.go:494
msgid "show all configs & images, including unchanged ones" msgid "show all configs & images, including unchanged ones"
msgstr "" msgstr ""
@ -4748,7 +4739,7 @@ msgstr ""
msgid "show debug messages" msgid "show debug messages"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:414 ./cli/app/rollback.go:368 ./cli/app/upgrade.go:486 #: ./cli/app/deploy.go:419 ./cli/app/rollback.go:373 ./cli/app/upgrade.go:491
msgid "show-unchanged" msgid "show-unchanged"
msgstr "" msgstr ""
@ -4756,7 +4747,7 @@ msgstr ""
msgid "since" msgid "since"
msgstr "" msgstr ""
#: ./cli/app/new.go:326 #: ./cli/app/new.go:306
#, c-format #, c-format
msgid "single server detected, choosing %s automatically" msgid "single server detected, choosing %s automatically"
msgstr "" msgstr ""
@ -4796,15 +4787,15 @@ msgstr ""
msgid "skipping converge logic checks" msgid "skipping converge logic checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:186 #: ./cli/app/deploy.go:197
msgid "skipping domain checks" msgid "skipping domain checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:183 #: ./cli/app/deploy.go:194
msgid "skipping domain checks, no DOMAIN=... configured" msgid "skipping domain checks, no DOMAIN=... configured"
msgstr "" msgstr ""
#: ./pkg/secret/secret.go:217 #: ./pkg/secret/secret.go:207
#, c-format #, c-format
msgid "skipping generation of %s (generate=false)" msgid "skipping generation of %s (generate=false)"
msgstr "" msgstr ""
@ -4836,7 +4827,7 @@ msgstr ""
msgid "specify secret value" msgid "specify secret value"
msgstr "" msgstr ""
#: ./cli/app/new.go:360 #: ./cli/app/new.go:340
msgid "specify server for new app" msgid "specify server for new app"
msgstr "" msgstr ""
@ -4894,7 +4885,7 @@ msgstr ""
msgid "store generated secrets in a local pass store" msgid "store generated secrets in a local pass store"
msgstr "" msgstr ""
#: ./cli/app/new.go:383 #: ./cli/app/new.go:363
msgid "store secrets in a local pass store" msgid "store secrets in a local pass store"
msgstr "" msgstr ""
@ -5049,7 +5040,7 @@ msgstr ""
msgid "trim input" msgid "trim input"
msgstr "" msgstr ""
#: ./cli/app/new.go:253 ./pkg/app/app.go:141 #: ./cli/app/new.go:233 ./pkg/app/app.go:141
#, c-format #, c-format
msgid "trimming %s to %s to avoid runtime limits" msgid "trimming %s to %s to avoid runtime limits"
msgstr "" msgstr ""
@ -5322,7 +5313,7 @@ msgstr ""
msgid "undeploy <domain> [flags]" msgid "undeploy <domain> [flags]"
msgstr "" msgstr ""
#: ./cli/app/undeploy.go:111 #: ./cli/app/undeploy.go:116
msgid "undeploy succeeded 🟢" msgid "undeploy succeeded 🟢"
msgstr "" msgstr ""
@ -5521,7 +5512,7 @@ msgstr ""
msgid "version %s saved to %s.env" msgid "version %s saved to %s.env"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:117 #: ./cli/app/deploy.go:116
#, c-format #, c-format
msgid "version '%s' appears to be a chaos commit, but --chaos/-C was not provided" msgid "version '%s' appears to be a chaos commit, but --chaos/-C was not provided"
msgstr "" msgstr ""
@ -5545,27 +5536,22 @@ msgstr ""
msgid "version wiped from %s.env" msgid "version wiped from %s.env"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:351
#, c-format
msgid "version: can not redeploy chaos version %s"
msgstr ""
#: ./cli/app/deploy.go:338 #: ./cli/app/deploy.go:338
#, c-format #, c-format
msgid "version: taking chaos version: %s" msgid "version: taking chaos version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:359 #: ./cli/app/deploy.go:364
#, c-format #, c-format
msgid "version: taking deployed version: %s" msgid "version: taking deployed version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:364 #: ./cli/app/deploy.go:369
#, c-format #, c-format
msgid "version: taking new recipe version: %s" msgid "version: taking new recipe version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:353 #: ./cli/app/deploy.go:358
#, c-format #, c-format
msgid "version: taking version from .env file: %s" msgid "version: taking version from .env file: %s"
msgstr "" msgstr ""
@ -5693,7 +5679,7 @@ msgstr ""
msgid "writer: %v, " msgid "writer: %v, "
msgstr "" msgstr ""
#: ./cli/app/deploy.go:262 ./cli/app/new.go:241 ./cli/app/rollback.go:248 ./cli/app/undeploy.go:114 ./cli/app/upgrade.go:294 #: ./cli/app/deploy.go:276 ./cli/app/new.go:221 ./cli/app/rollback.go:253 ./cli/app/undeploy.go:119 ./cli/app/upgrade.go:299
#, c-format #, c-format
msgid "writing recipe version failed: %s" msgid "writing recipe version failed: %s"
msgstr "" msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n" "Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-09-29 10:31+0200\n" "POT-Creation-Date: 2025-09-29 19:58+0200\n"
"PO-Revision-Date: 2025-09-04 08:14+0000\n" "PO-Revision-Date: 2025-09-04 08:14+0000\n"
"Last-Translator: chasqui <chasqui@cryptolab.net>\n" "Last-Translator: chasqui <chasqui@cryptolab.net>\n"
"Language-Team: Spanish <https://translate.coopcloud.tech/projects/co-op-" "Language-Team: Spanish <https://translate.coopcloud.tech/projects/co-op-"
@ -119,7 +119,7 @@ msgid ""
" abra app run 1312.net app --user nobody -- ls -lha" " abra app run 1312.net app --user nobody -- ls -lha"
msgstr "" msgstr ""
#: cli/app/deploy.go:41 #: cli/app/deploy.go:42
msgid "" msgid ""
" # standard deployment\n" " # standard deployment\n"
" abra app deploy 1312.net\n" " abra app deploy 1312.net\n"
@ -211,7 +211,7 @@ msgstr ""
msgid "%s OVERVIEW" msgid "%s OVERVIEW"
msgstr "" msgstr ""
#: cli/server/add.go:127 pkg/secret/secret.go:233 pkg/secret/secret.go:253 #: cli/server/add.go:127 pkg/secret/secret.go:223 pkg/secret/secret.go:243
#: pkg/server/server.go:21 #: pkg/server/server.go:21
#, c-format #, c-format
msgid "%s already exists" msgid "%s already exists"
@ -237,7 +237,7 @@ msgstr ""
msgid "%s does not exist for %s, use /bin/sh as fallback" msgid "%s does not exist for %s, use /bin/sh as fallback"
msgstr "" msgstr ""
#: cli/app/cmd.go:114 cli/internal/deploy.go:241 #: cli/app/cmd.go:114 cli/internal/deploy.go:249
#, c-format #, c-format
msgid "%s does not exist for %s?" msgid "%s does not exist for %s?"
msgstr "" msgstr ""
@ -309,7 +309,7 @@ msgstr ""
msgid "%s has no published versions?" msgid "%s has no published versions?"
msgstr "" msgstr ""
#: cli/app/new.go:301 #: cli/app/new.go:281
#, c-format #, c-format
msgid "%s has no secrets to generate, skipping..." msgid "%s has no secrets to generate, skipping..."
msgstr "" msgstr ""
@ -324,7 +324,7 @@ msgstr ""
msgid "%s inserted into pass store" msgid "%s inserted into pass store"
msgstr "" msgstr ""
#: cli/app/deploy.go:101 #: cli/app/deploy.go:102
#, c-format #, c-format
msgid "%s is already deployed" msgid "%s is already deployed"
msgstr "" msgstr ""
@ -349,18 +349,18 @@ msgstr ""
msgid "%s is missing the TYPE env var?" msgid "%s is missing the TYPE env var?"
msgstr "" msgstr ""
#: cli/app/rollback.go:301 cli/app/rollback.go:305 #: cli/app/rollback.go:306 cli/app/rollback.go:310
#, c-format #, c-format
msgid "%s is not a downgrade for %s?" msgid "%s is not a downgrade for %s?"
msgstr "" msgstr ""
#: cli/app/upgrade.go:422 cli/app/upgrade.go:426 #: cli/app/upgrade.go:427 cli/app/upgrade.go:431
#, c-format #, c-format
msgid "%s is not an upgrade for %s?" msgid "%s is not an upgrade for %s?"
msgstr "" msgstr ""
#: cli/app/logs.go:65 cli/app/ps.go:62 cli/app/restart.go:100 #: cli/app/logs.go:65 cli/app/ps.go:62 cli/app/restart.go:100
#: cli/app/services.go:55 cli/app/undeploy.go:65 cli/app/upgrade.go:443 #: cli/app/services.go:55 cli/app/undeploy.go:65 cli/app/upgrade.go:448
#: cli/updater/updater.go:260 #: cli/updater/updater.go:260
#, c-format #, c-format
msgid "%s is not deployed?" msgid "%s is not deployed?"
@ -376,7 +376,7 @@ msgstr ""
msgid "%s is still deployed. Run \"abra app undeploy %s\"" msgid "%s is still deployed. Run \"abra app undeploy %s\""
msgstr "" msgstr ""
#: cli/app/deploy.go:172 cli/app/upgrade.go:209 #: cli/app/deploy.go:183 cli/app/upgrade.go:209
#, c-format #, c-format
msgid "%s missing from %s.env" msgid "%s missing from %s.env"
msgstr "" msgstr ""
@ -391,7 +391,7 @@ msgstr ""
msgid "%s not considered semver-like" msgid "%s not considered semver-like"
msgstr "" msgstr ""
#: pkg/secret/secret.go:135 #: pkg/secret/secret.go:130
#, c-format #, c-format
msgid "%s not enabled in recipe config, skipping" msgid "%s not enabled in recipe config, skipping"
msgstr "" msgstr ""
@ -411,16 +411,11 @@ msgstr ""
msgid "%s removed from pass store" msgid "%s removed from pass store"
msgstr "" msgstr ""
#: cli/app/new.go:210 #: cli/app/new.go:195
#, c-format #, c-format
msgid "" msgid ""
"%s requires secret generation before deploy, run \"abra app secret generate " "%s requires secret generation before deploying, run \"abra app secret "
"%s --all\"" "generate %s --all\""
msgstr ""
#: cli/app/new.go:214
#, c-format
msgid "%s requires secret insertion before deploy (#generate=false)"
msgstr "" msgstr ""
#: cli/app/new.go:141 #: cli/app/new.go:141
@ -548,12 +543,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry" msgid "%s: waiting %d seconds before next retry"
msgstr "" msgstr ""
#: cli/app/upgrade.go:417 #: cli/app/upgrade.go:422
#, c-format #, c-format
msgid "'%s' is not a known version" msgid "'%s' is not a known version"
msgstr "" msgstr ""
#: cli/app/rollback.go:296 cli/app/upgrade.go:412 #: cli/app/rollback.go:301 cli/app/upgrade.go:417
#, c-format #, c-format
msgid "'%s' is not a known version for %s" msgid "'%s' is not a known version for %s"
msgstr "" msgstr ""
@ -635,8 +630,8 @@ msgid "Both local recipe and live deployment labels are shown."
msgstr "" msgstr ""
#: cli/app/backup.go:319 cli/app/backup.go:335 cli/app/check.go:95 #: cli/app/backup.go:319 cli/app/backup.go:335 cli/app/check.go:95
#: cli/app/cmd.go:285 cli/app/cp.go:385 cli/app/deploy.go:375 #: cli/app/cmd.go:285 cli/app/cp.go:385 cli/app/deploy.go:380
#: cli/app/labels.go:143 cli/app/new.go:397 cli/app/ps.go:213 #: cli/app/labels.go:143 cli/app/new.go:377 cli/app/ps.go:213
#: cli/app/restart.go:162 cli/app/restore.go:138 cli/app/secret.go:569 #: cli/app/restart.go:162 cli/app/restore.go:138 cli/app/secret.go:569
#: cli/app/secret.go:609 cli/app/secret.go:633 cli/app/secret.go:641 #: cli/app/secret.go:609 cli/app/secret.go:633 cli/app/secret.go:641
#: cli/catalogue/catalogue.go:318 cli/recipe/lint.go:137 #: cli/catalogue/catalogue.go:318 cli/recipe/lint.go:137
@ -648,7 +643,7 @@ msgstr ""
msgid "CHAOS" msgid "CHAOS"
msgstr "" msgstr ""
#: cli/internal/deploy.go:147 #: cli/internal/deploy.go:148
msgid "CHAOS DEPLOY" msgid "CHAOS DEPLOY"
msgstr "" msgstr ""
@ -806,12 +801,12 @@ msgid ""
"on your $PATH." "on your $PATH."
msgstr "" msgstr ""
#: cli/app/deploy.go:391 cli/app/new.go:373 cli/app/rollback.go:353 #: cli/app/deploy.go:396 cli/app/new.go:353 cli/app/rollback.go:358
#: cli/app/upgrade.go:463 #: cli/app/upgrade.go:468
msgid "D" msgid "D"
msgstr "" msgstr ""
#: cli/internal/deploy.go:160 cli/internal/deploy.go:164 #: cli/internal/deploy.go:165 cli/internal/deploy.go:170
msgid "DEPLOY" msgid "DEPLOY"
msgstr "" msgstr ""
@ -819,20 +814,20 @@ msgstr ""
msgid "DEPLOYED LABELS" msgid "DEPLOYED LABELS"
msgstr "" msgstr ""
#: cli/app/list.go:222 cli/internal/deploy.go:78 cli/internal/deploy.go:200 #: cli/app/list.go:222 cli/internal/deploy.go:78 cli/internal/deploy.go:208
msgid "DOMAIN" msgid "DOMAIN"
msgstr "" msgstr ""
#: cli/internal/deploy.go:169 #: cli/internal/deploy.go:177
msgid "DOWNGRADE" msgid "DOWNGRADE"
msgstr "" msgstr ""
#. translators: Short description for `app deploy` command #. translators: Short description for `app deploy` command
#: cli/app/deploy.go:35 #: cli/app/deploy.go:36
msgid "Deploy an app" msgid "Deploy an app"
msgstr "📤 Despliega una plataforma 🚀" msgstr "📤 Despliega una plataforma 🚀"
#: cli/app/deploy.go:36 #: cli/app/deploy.go:37
msgid "" msgid ""
"Deploy an app.\n" "Deploy an app.\n"
"\n" "\n"
@ -932,7 +927,7 @@ msgid ""
"Use \"--status/-S\" flag to query all servers for the live deployment status." "Use \"--status/-S\" flag to query all servers for the live deployment status."
msgstr "" msgstr ""
#: cli/app/new.go:307 #: cli/app/new.go:287
msgid "Generate app secrets?" msgid "Generate app secrets?"
msgstr "" msgstr ""
@ -1063,7 +1058,7 @@ msgstr "📋 Listar los contenidos de una captura o instantánea 📸"
msgid "List volumes associated with an app" msgid "List volumes associated with an app"
msgstr "📋 Listar volúmenes 📦 asociados a una plataforma 🚀" msgstr "📋 Listar volúmenes 📦 asociados a una plataforma 🚀"
#: cli/internal/deploy.go:208 #: cli/internal/deploy.go:216
msgid "MOVE OVERVIEW" msgid "MOVE OVERVIEW"
msgstr "" msgstr ""
@ -1141,7 +1136,7 @@ msgstr ""
msgid "NAME" msgid "NAME"
msgstr "" msgstr ""
#: cli/internal/deploy.go:156 #: cli/internal/deploy.go:160
msgid "NEW DEPLOY" msgid "NEW DEPLOY"
msgstr "" msgstr ""
@ -1149,7 +1144,7 @@ msgstr ""
msgid "NEW DEPLOYMENT" msgid "NEW DEPLOYMENT"
msgstr "" msgstr ""
#: cli/internal/deploy.go:203 #: cli/internal/deploy.go:211
msgid "NEW SERVER" msgid "NEW SERVER"
msgstr "" msgstr ""
@ -1170,7 +1165,7 @@ msgid ""
"Use \"--major/-m\" to include new major versions." "Use \"--major/-m\" to include new major versions."
msgstr "" msgstr ""
#: cli/internal/deploy.go:202 #: cli/internal/deploy.go:210
msgid "OLD SERVER" msgid "OLD SERVER"
msgstr "" msgstr ""
@ -1200,7 +1195,7 @@ msgstr ""
msgid "README.md metadata filled in" msgid "README.md metadata filled in"
msgstr "" msgstr ""
#: cli/app/list.go:222 cli/internal/deploy.go:79 cli/internal/deploy.go:201 #: cli/app/list.go:222 cli/internal/deploy.go:79 cli/internal/deploy.go:209
msgid "RECIPE" msgid "RECIPE"
msgstr "" msgstr ""
@ -1336,15 +1331,15 @@ msgid "Run app commands"
msgstr "💻 Ejecutar comandos en una plataforma 🚀" msgstr "💻 Ejecutar comandos en una plataforma 🚀"
#: cli/app/backup.go:303 cli/app/list.go:295 cli/app/logs.go:109 #: cli/app/backup.go:303 cli/app/list.go:295 cli/app/logs.go:109
#: cli/app/new.go:389 #: cli/app/new.go:369
msgid "S" msgid "S"
msgstr "" msgstr ""
#: cli/internal/deploy.go:99 cli/internal/deploy.go:204 #: cli/internal/deploy.go:99 cli/internal/deploy.go:212
msgid "SECRETS" msgid "SECRETS"
msgstr "" msgstr ""
#: cli/app/new.go:224 #: cli/app/new.go:204
msgid "SECRETS OVERVIEW" msgid "SECRETS OVERVIEW"
msgstr "" msgstr ""
@ -1378,7 +1373,7 @@ msgstr ""
msgid "STATUS" msgid "STATUS"
msgstr "" msgstr ""
#: cli/app/new.go:332 #: cli/app/new.go:312
msgid "Select app server:" msgid "Select app server:"
msgstr "" msgstr ""
@ -1417,7 +1412,7 @@ msgstr ""
msgid "Specify a server name" msgid "Specify a server name"
msgstr "" msgstr ""
#: cli/app/new.go:283 #: cli/app/new.go:263
msgid "Specify app domain" msgid "Specify app domain"
msgstr "" msgstr ""
@ -1473,8 +1468,7 @@ msgid ""
"Arbitrary secret insertion is not supported. Secrets that are inserted must\n" "Arbitrary secret insertion is not supported. Secrets that are inserted must\n"
"match those configured in the recipe beforehand.\n" "match those configured in the recipe beforehand.\n"
"\n" "\n"
"This command can be useful when you want to manually generate secrets for an " "This can be useful when you want to manually generate secrets for an app\n"
"app\n"
"environment. Typically, you can let Abra generate them for you on app " "environment. Typically, you can let Abra generate them for you on app "
"creation\n" "creation\n"
"(see \"abra app new --secrets/-S\" for more)." "(see \"abra app new --secrets/-S\" for more)."
@ -1575,11 +1569,11 @@ msgid ""
" # and source this file from your PowerShell profile." " # and source this file from your PowerShell profile."
msgstr "" msgstr ""
#: cli/app/deploy.go:415 cli/app/rollback.go:369 cli/app/upgrade.go:487 #: cli/app/deploy.go:420 cli/app/rollback.go:374 cli/app/upgrade.go:492
msgid "U" msgid "U"
msgstr "" msgstr ""
#: cli/internal/deploy.go:150 #: cli/internal/deploy.go:152
msgid "UNCHAOS DEPLOY" msgid "UNCHAOS DEPLOY"
msgstr "" msgstr ""
@ -1587,7 +1581,7 @@ msgstr ""
msgid "UNDEPLOY" msgid "UNDEPLOY"
msgstr "" msgstr ""
#: cli/app/list.go:228 cli/internal/deploy.go:167 #: cli/app/list.go:228 cli/internal/deploy.go:174
msgid "UPGRADE" msgid "UPGRADE"
msgstr "" msgstr ""
@ -1740,7 +1734,7 @@ msgstr ""
msgid "VERSION" msgid "VERSION"
msgstr "" msgstr ""
#: cli/internal/deploy.go:205 #: cli/internal/deploy.go:213
msgid "VOLUMES" msgid "VOLUMES"
msgstr "" msgstr ""
@ -1966,7 +1960,7 @@ msgstr ""
msgid "attempting to create client for %s" msgid "attempting to create client for %s"
msgstr "" msgstr ""
#: pkg/secret/secret.go:222 #: pkg/secret/secret.go:212
#, c-format #, c-format
msgid "attempting to generate and store %s on %s" msgid "attempting to generate and store %s on %s"
msgstr "" msgstr ""
@ -1976,7 +1970,7 @@ msgstr ""
msgid "attempting to run %s" msgid "attempting to run %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:257 cli/app/upgrade.go:289 #: cli/app/deploy.go:271 cli/app/upgrade.go:294
#, c-format #, c-format
msgid "attempting to run post deploy commands, saw: %s" msgid "attempting to run post deploy commands, saw: %s"
msgstr "" msgstr ""
@ -2001,7 +1995,7 @@ msgstr ""
msgid "autocomplete [bash|zsh|fish|powershell]" msgid "autocomplete [bash|zsh|fish|powershell]"
msgstr "autocompletar [bash|zsh|fish|powershell]" msgstr "autocompletar [bash|zsh|fish|powershell]"
#: cli/app/deploy.go:64 cli/app/logs.go:39 cli/app/rollback.go:64 #: cli/app/deploy.go:65 cli/app/logs.go:39 cli/app/rollback.go:64
#: cli/app/secret.go:49 cli/app/secret.go:191 cli/app/secret.go:360 #: cli/app/secret.go:49 cli/app/secret.go:191 cli/app/secret.go:360
#: cli/app/upgrade.go:63 pkg/autocomplete/autocomplete.go:18 #: cli/app/upgrade.go:63 pkg/autocomplete/autocomplete.go:18
#: pkg/autocomplete/autocomplete.go:33 pkg/autocomplete/autocomplete.go:44 #: pkg/autocomplete/autocomplete.go:33 pkg/autocomplete/autocomplete.go:44
@ -2012,7 +2006,7 @@ msgstr "autocompletar [bash|zsh|fish|powershell]"
msgid "autocomplete failed: %s" msgid "autocomplete failed: %s"
msgstr "" msgstr ""
#: cli/app/new.go:391 #: cli/app/new.go:371
msgid "automatically generate secrets" msgid "automatically generate secrets"
msgstr "" msgstr ""
@ -2072,8 +2066,8 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra app cp` aliases. use a comma separated list of aliases with #. translators: `abra app cp` aliases. use a comma separated list of aliases with
#. no spaces in between #. no spaces in between
#: cli/app/backup.go:148 cli/app/cp.go:30 cli/app/deploy.go:399 #: cli/app/backup.go:148 cli/app/cp.go:30 cli/app/deploy.go:404
#: cli/app/rollback.go:361 cli/app/upgrade.go:471 #: cli/app/rollback.go:366 cli/app/upgrade.go:476
msgid "c" msgid "c"
msgstr "" msgstr ""
@ -2081,11 +2075,6 @@ msgstr ""
msgid "can not insert from file and read from stdin" msgid "can not insert from file and read from stdin"
msgstr "" msgstr ""
#: pkg/recipe/git.go:52
#, c-format
msgid "can not redeploy chaos version (%s) without --chaos"
msgstr ""
#: cli/recipe/upgrade.go:324 #: cli/recipe/upgrade.go:324
#, c-format #, c-format
msgid "can upgrade service: %s, image: %s, tag: %s ::" msgid "can upgrade service: %s, image: %s, tag: %s ::"
@ -2110,7 +2099,7 @@ msgstr ""
msgid "can't separate key from value: %s (this variable is probably unset)" msgid "can't separate key from value: %s (this variable is probably unset)"
msgstr "" msgstr ""
#: cli/internal/deploy.go:229 #: cli/internal/deploy.go:237
msgid "cancelled" msgid "cancelled"
msgstr "" msgstr ""
@ -2134,6 +2123,21 @@ msgstr ""
msgid "cannot parse %s, invalid tag specified?" msgid "cannot parse %s, invalid tag specified?"
msgstr "" msgstr ""
#: pkg/recipe/git.go:52
#, c-format
msgid ""
"cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr ""
#: cli/app/deploy.go:354
#, c-format
msgid ""
"cannot redeploy previous chaos version (%s), did you mean to use \"--"
"chaos\"?\n"
" to return to a regular release, specify a release tag, commit SHA or "
"use \"--latest\""
msgstr ""
#: pkg/dns/dns.go:38 pkg/dns/dns.go:47 #: pkg/dns/dns.go:38 pkg/dns/dns.go:47
#, c-format #, c-format
msgid "cannot resolve ipv4 for %s?" msgid "cannot resolve ipv4 for %s?"
@ -2147,7 +2151,7 @@ msgstr ""
msgid "cannot use '[secret] [version]' and '--all' together" msgid "cannot use '[secret] [version]' and '--all' together"
msgstr "" msgstr ""
#: cli/app/deploy.go:296 #: cli/app/deploy.go:310
msgid "cannot use --chaos and --latest together" msgid "cannot use --chaos and --latest together"
msgstr "" msgstr ""
@ -2171,11 +2175,11 @@ msgstr ""
msgid "cannot use [service] and --all-services/-a together" msgid "cannot use [service] and --all-services/-a together"
msgstr "" msgstr ""
#: cli/app/deploy.go:288 cli/app/new.go:76 #: cli/app/deploy.go:302 cli/app/new.go:76
msgid "cannot use [version] and --chaos together" msgid "cannot use [version] and --chaos together"
msgstr "" msgstr ""
#: cli/app/deploy.go:292 #: cli/app/deploy.go:306
msgid "cannot use [version] and --latest together" msgid "cannot use [version] and --latest together"
msgstr "" msgstr ""
@ -2208,8 +2212,8 @@ msgid "cfg"
msgstr "" msgstr ""
#: cli/app/backup.go:318 cli/app/backup.go:334 cli/app/check.go:94 #: cli/app/backup.go:318 cli/app/backup.go:334 cli/app/check.go:94
#: cli/app/cmd.go:284 cli/app/cp.go:384 cli/app/deploy.go:374 #: cli/app/cmd.go:284 cli/app/cp.go:384 cli/app/deploy.go:379
#: cli/app/labels.go:142 cli/app/new.go:396 cli/app/ps.go:212 #: cli/app/labels.go:142 cli/app/new.go:376 cli/app/ps.go:212
#: cli/app/restart.go:161 cli/app/restore.go:137 cli/app/secret.go:568 #: cli/app/restart.go:161 cli/app/restore.go:137 cli/app/secret.go:568
#: cli/app/secret.go:608 cli/app/secret.go:632 cli/app/secret.go:640 #: cli/app/secret.go:608 cli/app/secret.go:632 cli/app/secret.go:640
#: cli/catalogue/catalogue.go:317 cli/recipe/lint.go:136 #: cli/catalogue/catalogue.go:317 cli/recipe/lint.go:136
@ -2226,7 +2230,7 @@ msgstr "verificar <domain> [flags]"
msgid "check for major updates" msgid "check for major updates"
msgstr "" msgstr ""
#: cli/app/deploy.go:93 cli/app/undeploy.go:57 cli/app/upgrade.go:435 #: cli/app/deploy.go:94 cli/app/undeploy.go:57 cli/app/upgrade.go:440
#, c-format #, c-format
msgid "checking whether %s is already deployed" msgid "checking whether %s is already deployed"
msgstr "" msgstr ""
@ -2383,7 +2387,7 @@ msgstr ""
msgid "considering %s config(s) for tag update" msgid "considering %s config(s) for tag update"
msgstr "" msgstr ""
#: cli/app/undeploy.go:135 cli/server/prune.go:53 #: cli/app/undeploy.go:140 cli/server/prune.go:53
#, c-format #, c-format
msgid "containers pruned: %d; space reclaimed: %s" msgid "containers pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
@ -2514,7 +2518,7 @@ msgstr ""
msgid "critical errors present in %s config" msgid "critical errors present in %s config"
msgstr "" msgstr ""
#: cli/app/rollback.go:291 #: cli/app/rollback.go:296
#, c-format #, c-format
msgid "current deployment '%s' is not a known version for %s" msgid "current deployment '%s' is not a known version for %s"
msgstr "" msgstr ""
@ -2535,7 +2539,7 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra recipe diff` aliases. use a comma separated list of aliases #. translators: `abra recipe diff` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: cli/app/backup.go:73 cli/app/deploy.go:28 cli/recipe/diff.go:16 #: cli/app/backup.go:73 cli/app/deploy.go:29 cli/recipe/diff.go:16
#: cli/updater/updater.go:491 #: cli/updater/updater.go:491
msgid "d" msgid "d"
msgstr "" msgstr ""
@ -2555,7 +2559,7 @@ msgid "deleted %s successfully from server"
msgstr "" msgstr ""
#. translators: `app deploy` command #. translators: `app deploy` command
#: cli/app/deploy.go:32 #: cli/app/deploy.go:33
msgid "deploy <domain> [version] [flags]" msgid "deploy <domain> [version] [flags]"
msgstr "desplegar <domain> [version] [flags]" msgstr "desplegar <domain> [version] [flags]"
@ -2571,7 +2575,7 @@ msgstr ""
msgid "deploy labels stanza present" msgid "deploy labels stanza present"
msgstr "" msgstr ""
#: cli/app/deploy.go:409 #: cli/app/deploy.go:414
#, fuzzy #, fuzzy
msgid "deploy latest recipe version" msgid "deploy latest recipe version"
msgstr "Publicar una nueva versión de una receta" msgstr "Publicar una nueva versión de una receta"
@ -2674,11 +2678,11 @@ msgstr ""
msgid "dirty: %v, " msgid "dirty: %v, "
msgstr "" msgstr ""
#: cli/app/deploy.go:401 cli/app/rollback.go:363 cli/app/upgrade.go:473 #: cli/app/deploy.go:406 cli/app/rollback.go:368 cli/app/upgrade.go:478
msgid "disable converge logic checks" msgid "disable converge logic checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:393 cli/app/rollback.go:355 cli/app/upgrade.go:465 #: cli/app/deploy.go:398 cli/app/rollback.go:360 cli/app/upgrade.go:470
msgid "disable public DNS checks" msgid "disable public DNS checks"
msgstr "" msgstr ""
@ -2699,11 +2703,11 @@ msgstr ""
msgid "docker: is the daemon running / your user has docker permissions?" msgid "docker: is the daemon running / your user has docker permissions?"
msgstr "" msgstr ""
#: cli/app/new.go:372 #: cli/app/new.go:352
msgid "domain" msgid "domain"
msgstr "" msgstr ""
#: cli/app/new.go:375 #: cli/app/new.go:355
msgid "domain name for app" msgid "domain name for app"
msgstr "" msgstr ""
@ -2738,7 +2742,7 @@ msgstr ""
msgid "download <domain> [flags]" msgid "download <domain> [flags]"
msgstr "descargar <domain> [flags]" msgstr "descargar <domain> [flags]"
#: cli/internal/deploy.go:219 #: cli/internal/deploy.go:227
msgid "dry run" msgid "dry run"
msgstr "" msgstr ""
@ -2826,7 +2830,7 @@ msgstr ""
msgid "ensure \"image: ...\" set on all services" msgid "ensure \"image: ...\" set on all services"
msgstr "" msgstr ""
#: cli/app/deploy.go:114 #: cli/app/deploy.go:113
#, c-format #, c-format
msgid "ensure recipe: %s" msgid "ensure recipe: %s"
msgstr "" msgstr ""
@ -2923,8 +2927,8 @@ msgstr ""
#. translators: `abra recipe fetch` aliases. use a comma separated list of aliases #. translators: `abra recipe fetch` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: cli/app/deploy.go:383 cli/app/remove.go:163 cli/app/rollback.go:345 #: cli/app/deploy.go:388 cli/app/remove.go:163 cli/app/rollback.go:350
#: cli/app/secret.go:593 cli/app/upgrade.go:455 cli/app/volume.go:217 #: cli/app/secret.go:593 cli/app/upgrade.go:460 cli/app/volume.go:217
#: cli/recipe/fetch.go:20 cli/recipe/fetch.go:138 #: cli/recipe/fetch.go:20 cli/recipe/fetch.go:138
msgid "f" msgid "f"
msgstr "" msgstr ""
@ -3161,8 +3165,8 @@ msgstr ""
msgid "for %s read env %s with value: %s from docker service" msgid "for %s read env %s with value: %s from docker service"
msgstr "" msgstr ""
#: cli/app/deploy.go:382 cli/app/remove.go:162 cli/app/rollback.go:344 #: cli/app/deploy.go:387 cli/app/remove.go:162 cli/app/rollback.go:349
#: cli/app/upgrade.go:454 cli/app/volume.go:216 cli/recipe/fetch.go:137 #: cli/app/upgrade.go:459 cli/app/volume.go:216 cli/recipe/fetch.go:137
msgid "force" msgid "force"
msgstr "" msgstr ""
@ -3201,12 +3205,12 @@ msgstr "regenerar [recipe] [flags]"
msgid "generate all secrets" msgid "generate all secrets"
msgstr "" msgstr ""
#: pkg/secret/secret.go:67 pkg/secret/secret.go:85 #: pkg/secret/secret.go:62 pkg/secret/secret.go:80
#, c-format #, c-format
msgid "generated %s" msgid "generated %s"
msgstr "" msgstr ""
#: pkg/secret/secret.go:278 #: pkg/secret/secret.go:268
#, c-format #, c-format
msgid "generated and stored %v on %s" msgid "generated and stored %v on %s"
msgstr "" msgstr ""
@ -3221,11 +3225,6 @@ msgstr ""
msgid "generated secrets %s shown again, please take note of them %s" msgid "generated secrets %s shown again, please take note of them %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:106
#, c-format
msgid "get deploy version: %s"
msgstr ""
#: pkg/app/compose.go:81 #: pkg/app/compose.go:81
#, c-format #, c-format
msgid "get label '%s'" msgid "get label '%s'"
@ -3383,8 +3382,8 @@ msgid "id: %s, "
msgstr "" msgstr ""
#: cli/app/backup.go:321 cli/app/backup.go:337 cli/app/check.go:97 #: cli/app/backup.go:321 cli/app/backup.go:337 cli/app/check.go:97
#: cli/app/cmd.go:287 cli/app/cp.go:387 cli/app/deploy.go:377 #: cli/app/cmd.go:287 cli/app/cp.go:387 cli/app/deploy.go:382
#: cli/app/labels.go:145 cli/app/new.go:399 cli/app/ps.go:215 #: cli/app/labels.go:145 cli/app/new.go:379 cli/app/ps.go:215
#: cli/app/restart.go:164 cli/app/restore.go:140 cli/app/secret.go:571 #: cli/app/restart.go:164 cli/app/restore.go:140 cli/app/secret.go:571
#: cli/app/secret.go:611 cli/app/secret.go:635 cli/app/secret.go:643 #: cli/app/secret.go:611 cli/app/secret.go:635 cli/app/secret.go:643
#: cli/catalogue/catalogue.go:320 cli/recipe/lint.go:139 #: cli/catalogue/catalogue.go:320 cli/recipe/lint.go:139
@ -3392,7 +3391,7 @@ msgstr ""
msgid "ignore uncommitted recipes changes" msgid "ignore uncommitted recipes changes"
msgstr "" msgstr ""
#: cli/app/undeploy.go:150 cli/server/prune.go:74 #: cli/app/undeploy.go:155 cli/server/prune.go:74
#, c-format #, c-format
msgid "images pruned: %d; space reclaimed: %s" msgid "images pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
@ -3583,7 +3582,7 @@ msgstr ""
#. no spaces in between #. no spaces in between
#. translators: `abra recipe lint` aliases. use a comma separated list of #. translators: `abra recipe lint` aliases. use a comma separated list of
#. aliases with no spaces in between #. aliases with no spaces in between
#: cli/app/cmd.go:261 cli/app/deploy.go:407 cli/app/logs.go:20 #: cli/app/cmd.go:261 cli/app/deploy.go:412 cli/app/logs.go:20
#: cli/recipe/lint.go:17 cli/server/add.go:207 #: cli/recipe/lint.go:17 cli/server/add.go:207
msgid "l" msgid "l"
msgstr "" msgstr ""
@ -3593,7 +3592,7 @@ msgstr ""
msgid "labels <domain> [flags]" msgid "labels <domain> [flags]"
msgstr "etiquetas <domain> [flags]" msgstr "etiquetas <domain> [flags]"
#: cli/app/deploy.go:406 cli/app/list.go:183 #: cli/app/deploy.go:411 cli/app/list.go:183
msgid "latest" msgid "latest"
msgstr "" msgstr ""
@ -3788,7 +3787,7 @@ msgstr ""
msgid "missing arguments or --all/-a flag" msgid "missing arguments or --all/-a flag"
msgstr "" msgstr ""
#: pkg/secret/secret.go:131 #: pkg/secret/secret.go:126
#, c-format #, c-format
msgid "missing version for secret? (%s)" msgid "missing version for secret? (%s)"
msgstr "" msgstr ""
@ -3850,7 +3849,7 @@ msgid ""
"instead of \"swarm\"" "instead of \"swarm\""
msgstr "" msgstr ""
#: cli/app/undeploy.go:142 cli/server/prune.go:60 #: cli/app/undeploy.go:147 cli/server/prune.go:60
#, c-format #, c-format
msgid "networks pruned: %d" msgid "networks pruned: %d"
msgstr "" msgstr ""
@ -3957,7 +3956,7 @@ msgstr ""
msgid "no containers matching the %v filter found?" msgid "no containers matching the %v filter found?"
msgstr "" msgstr ""
#: cli/app/new.go:292 cli/internal/validate.go:129 #: cli/app/new.go:272 cli/internal/validate.go:129
msgid "no domain provided" msgid "no domain provided"
msgstr "" msgstr ""
@ -4017,7 +4016,7 @@ msgstr ""
msgid "no secrets to remove?" msgid "no secrets to remove?"
msgstr "" msgstr ""
#: cli/app/new.go:341 cli/internal/validate.go:167 #: cli/app/new.go:321 cli/internal/validate.go:167
msgid "no server provided" msgid "no server provided"
msgstr "" msgstr ""
@ -4077,11 +4076,11 @@ msgstr ""
msgid "no volumes to remove" msgid "no volumes to remove"
msgstr "" msgstr ""
#: cli/app/deploy.go:398 cli/app/rollback.go:360 cli/app/upgrade.go:470 #: cli/app/deploy.go:403 cli/app/rollback.go:365 cli/app/upgrade.go:475
msgid "no-converge-checks" msgid "no-converge-checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:390 cli/app/rollback.go:352 cli/app/upgrade.go:462 #: cli/app/deploy.go:395 cli/app/rollback.go:357 cli/app/upgrade.go:467
msgid "no-domain-checks" msgid "no-domain-checks"
msgstr "" msgstr ""
@ -4093,12 +4092,12 @@ msgstr ""
msgid "no-tty" msgid "no-tty"
msgstr "" msgstr ""
#: cli/internal/deploy.go:249 #: cli/internal/deploy.go:257
#, c-format #, c-format
msgid "not enough arguments: %s" msgid "not enough arguments: %s"
msgstr "" msgstr ""
#: pkg/secret/secret.go:124 #: pkg/secret/secret.go:119
msgid "not generating app secrets, none enabled in recipe config" msgid "not generating app secrets, none enabled in recipe config"
msgstr "" msgstr ""
@ -4148,7 +4147,7 @@ msgstr ""
msgid "only show errors" msgid "only show errors"
msgstr "" msgstr ""
#: cli/app/upgrade.go:481 #: cli/app/upgrade.go:486
msgid "only show release notes" msgid "only show release notes"
msgstr "" msgstr ""
@ -4160,9 +4159,9 @@ msgstr ""
#. with no spaces in between #. with no spaces in between
#. translators: `abra server prune` aliases. use a comma separated list of #. translators: `abra server prune` aliases. use a comma separated list of
#. aliases with no spaces in between #. aliases with no spaces in between
#: cli/app/backup.go:295 cli/app/new.go:381 cli/app/ps.go:29 #: cli/app/backup.go:295 cli/app/new.go:361 cli/app/ps.go:29
#: cli/app/secret.go:561 cli/app/secret.go:585 cli/app/secret.go:625 #: cli/app/secret.go:561 cli/app/secret.go:585 cli/app/secret.go:625
#: cli/app/undeploy.go:163 cli/catalogue/catalogue.go:294 #: cli/app/undeploy.go:168 cli/catalogue/catalogue.go:294
#: cli/recipe/list.go:112 cli/recipe/release.go:672 cli/server/prune.go:18 #: cli/recipe/list.go:112 cli/recipe/release.go:672 cli/server/prune.go:18
msgid "p" msgid "p"
msgstr "" msgstr ""
@ -4182,27 +4181,27 @@ msgstr ""
msgid "parsed following command arguments: %s" msgid "parsed following command arguments: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:338 #: cli/app/upgrade.go:343
#, c-format #, c-format
msgid "parsing chosen upgrade version failed: %s" msgid "parsing chosen upgrade version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:382 #: cli/app/upgrade.go:387
#, c-format #, c-format
msgid "parsing deployed version failed: %s" msgid "parsing deployed version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:343 #: cli/app/upgrade.go:348
#, c-format #, c-format
msgid "parsing deployment version failed: %s" msgid "parsing deployment version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:349 cli/app/upgrade.go:388 #: cli/app/upgrade.go:354 cli/app/upgrade.go:393
#, c-format #, c-format
msgid "parsing recipe version failed: %s" msgid "parsing recipe version failed: %s"
msgstr "" msgstr ""
#: cli/app/new.go:380 cli/app/secret.go:560 cli/app/secret.go:584 #: cli/app/new.go:360 cli/app/secret.go:560 cli/app/secret.go:584
#: cli/app/secret.go:624 #: cli/app/secret.go:624
msgid "pass" msgid "pass"
msgstr "" msgstr ""
@ -4225,8 +4224,8 @@ msgstr ""
msgid "pattern" msgid "pattern"
msgstr "" msgstr ""
#: cli/app/deploy.go:385 cli/app/remove.go:165 cli/app/rollback.go:347 #: cli/app/deploy.go:390 cli/app/remove.go:165 cli/app/rollback.go:352
#: cli/app/upgrade.go:457 cli/app/volume.go:219 #: cli/app/upgrade.go:462 cli/app/volume.go:219
msgid "perform action without further prompt" msgid "perform action without further prompt"
msgstr "" msgstr ""
@ -4235,22 +4234,22 @@ msgstr ""
msgid "please fix your synced label for %s and re-run this command" msgid "please fix your synced label for %s and re-run this command"
msgstr "" msgstr ""
#: cli/app/rollback.go:259 #: cli/app/rollback.go:264
#, c-format #, c-format
msgid "please select a downgrade (version: %s):" msgid "please select a downgrade (version: %s):"
msgstr "" msgstr ""
#: cli/app/rollback.go:264 #: cli/app/rollback.go:269
#, c-format #, c-format
msgid "please select a downgrade (version: %s, chaos: %s):" msgid "please select a downgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
#: cli/app/upgrade.go:305 #: cli/app/upgrade.go:310
#, c-format #, c-format
msgid "please select an upgrade (version: %s):" msgid "please select an upgrade (version: %s):"
msgstr "" msgstr ""
#: cli/app/upgrade.go:310 #: cli/app/upgrade.go:315
#, c-format #, c-format
msgid "please select an upgrade (version: %s, chaos: %s):" msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
@ -4278,7 +4277,7 @@ msgstr ""
msgid "print machine-readable output" msgid "print machine-readable output"
msgstr "" msgstr ""
#: cli/internal/deploy.go:223 #: cli/internal/deploy.go:231
msgid "proceed?" msgid "proceed?"
msgstr "" msgstr ""
@ -4292,7 +4291,7 @@ msgstr ""
msgid "proposed images: %v" msgid "proposed images: %v"
msgstr "" msgstr ""
#: cli/app/undeploy.go:162 #: cli/app/undeploy.go:167
msgid "prune" msgid "prune"
msgstr "" msgstr ""
@ -4301,7 +4300,7 @@ msgstr ""
msgid "prune <server> [flags]" msgid "prune <server> [flags]"
msgstr "limpiar <server> [flags]" msgstr "limpiar <server> [flags]"
#: cli/app/undeploy.go:165 #: cli/app/undeploy.go:170
msgid "prune unused containers, networks, and dangling images" msgid "prune unused containers, networks, and dangling images"
msgstr "" msgstr ""
@ -4335,7 +4334,7 @@ msgstr ""
#. translators: `abra recipe` aliases. use a comma separated list of aliases #. translators: `abra recipe` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: cli/app/backup.go:327 cli/app/list.go:303 cli/app/move.go:346 #: cli/app/backup.go:327 cli/app/list.go:303 cli/app/move.go:346
#: cli/app/run.go:23 cli/app/upgrade.go:479 cli/catalogue/catalogue.go:302 #: cli/app/run.go:23 cli/app/upgrade.go:484 cli/catalogue/catalogue.go:302
#: cli/recipe/recipe.go:12 cli/recipe/release.go:640 cli/recipe/sync.go:270 #: cli/recipe/recipe.go:12 cli/recipe/release.go:640 cli/recipe/sync.go:270
msgid "r" msgid "r"
msgstr "" msgstr ""
@ -4454,7 +4453,7 @@ msgstr ""
msgid "release <recipe> [version] [flags]" msgid "release <recipe> [version] [flags]"
msgstr "publicar <recipe> [version] [flags]" msgstr "publicar <recipe> [version] [flags]"
#: cli/app/upgrade.go:478 #: cli/app/upgrade.go:483
msgid "releasenotes" msgid "releasenotes"
msgstr "" msgstr ""
@ -4760,7 +4759,7 @@ msgstr ""
msgid "run command locally" msgid "run command locally"
msgstr "" msgstr ""
#: cli/app/deploy.go:255 cli/app/upgrade.go:286 #: cli/app/deploy.go:269 cli/app/upgrade.go:291
#, c-format #, c-format
msgid "run the following post-deploy commands: %s" msgid "run the following post-deploy commands: %s"
msgstr "" msgstr ""
@ -4770,7 +4769,7 @@ msgstr ""
msgid "running backup %s on %s with exec config %v" msgid "running backup %s on %s with exec config %v"
msgstr "" msgstr ""
#: cli/internal/deploy.go:279 #: cli/internal/deploy.go:287
#, c-format #, c-format
msgid "running command %s %s within the context of %s_%s" msgid "running command %s %s within the context of %s_%s"
msgstr "" msgstr ""
@ -4790,7 +4789,7 @@ msgstr ""
msgid "running command: %s" msgid "running command: %s"
msgstr "" msgstr ""
#: cli/internal/deploy.go:257 #: cli/internal/deploy.go:265
#, c-format #, c-format
msgid "running post-command '%s %s' in container %s" msgid "running post-command '%s %s' in container %s"
msgstr "" msgstr ""
@ -4804,7 +4803,7 @@ msgstr ""
#. translators: `abra server` aliases. use a comma separated list of aliases #. translators: `abra server` aliases. use a comma separated list of aliases
#. with no spaces in between #. with no spaces in between
#: cli/app/backup.go:198 cli/app/backup.go:263 cli/app/backup.go:287 #: cli/app/backup.go:198 cli/app/backup.go:263 cli/app/backup.go:287
#: cli/app/list.go:326 cli/app/logs.go:101 cli/app/new.go:358 #: cli/app/list.go:326 cli/app/logs.go:101 cli/app/new.go:338
#: cli/app/restore.go:114 cli/app/secret.go:535 cli/catalogue/catalogue.go:27 #: cli/app/restore.go:114 cli/app/secret.go:535 cli/catalogue/catalogue.go:27
#: cli/catalogue/catalogue.go:310 cli/recipe/fetch.go:130 cli/recipe/sync.go:24 #: cli/catalogue/catalogue.go:310 cli/recipe/fetch.go:130 cli/recipe/sync.go:24
#: cli/server/server.go:12 #: cli/server/server.go:12
@ -4825,7 +4824,7 @@ msgstr ""
msgid "searching abra.sh for version for %s" msgid "searching abra.sh for version for %s"
msgstr "" msgstr ""
#: pkg/secret/secret.go:149 #: pkg/secret/secret.go:139
#, c-format #, c-format
msgid "secret %s is > %d chars when combined with %s" msgid "secret %s is > %d chars when combined with %s"
msgstr "" msgstr ""
@ -4854,28 +4853,23 @@ msgstr ""
msgid "secret not generated: %s" msgid "secret not generated: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:322
#, c-format
msgid "secret not inserted (#generate=false): %s"
msgstr ""
#: cli/app/remove.go:123 #: cli/app/remove.go:123
#, c-format #, c-format
msgid "secret: %s removed" msgid "secret: %s removed"
msgstr "" msgstr ""
#: cli/app/backup.go:302 cli/app/new.go:388 #: cli/app/backup.go:302 cli/app/new.go:368
msgid "secrets" msgid "secrets"
msgstr "" msgstr ""
#: cli/app/new.go:228 #: cli/app/new.go:208
#, c-format #, c-format
msgid "secrets are %s shown again, please save them %s" msgid "secrets are %s shown again, please save them %s"
msgstr "" msgstr ""
#. translators: `abra server` command for autocompletion #. translators: `abra server` command for autocompletion
#: cli/app/list.go:325 cli/app/list.go:332 cli/app/new.go:357 #: cli/app/list.go:325 cli/app/list.go:332 cli/app/new.go:337
#: cli/app/new.go:364 cli/run.go:101 #: cli/app/new.go:344 cli/run.go:101
msgid "server" msgid "server"
msgstr "" msgstr ""
@ -4977,7 +4971,7 @@ msgstr ""
msgid "severity" msgid "severity"
msgstr "" msgstr ""
#: cli/app/deploy.go:417 cli/app/rollback.go:371 cli/app/upgrade.go:489 #: cli/app/deploy.go:422 cli/app/rollback.go:376 cli/app/upgrade.go:494
msgid "show all configs & images, including unchanged ones" msgid "show all configs & images, including unchanged ones"
msgstr "" msgstr ""
@ -5001,7 +4995,7 @@ msgstr ""
msgid "show debug messages" msgid "show debug messages"
msgstr "" msgstr ""
#: cli/app/deploy.go:414 cli/app/rollback.go:368 cli/app/upgrade.go:486 #: cli/app/deploy.go:419 cli/app/rollback.go:373 cli/app/upgrade.go:491
msgid "show-unchanged" msgid "show-unchanged"
msgstr "" msgstr ""
@ -5009,7 +5003,7 @@ msgstr ""
msgid "since" msgid "since"
msgstr "" msgstr ""
#: cli/app/new.go:326 #: cli/app/new.go:306
#, c-format #, c-format
msgid "single server detected, choosing %s automatically" msgid "single server detected, choosing %s automatically"
msgstr "" msgstr ""
@ -5049,15 +5043,15 @@ msgstr ""
msgid "skipping converge logic checks" msgid "skipping converge logic checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:186 #: cli/app/deploy.go:197
msgid "skipping domain checks" msgid "skipping domain checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:183 #: cli/app/deploy.go:194
msgid "skipping domain checks, no DOMAIN=... configured" msgid "skipping domain checks, no DOMAIN=... configured"
msgstr "" msgstr ""
#: pkg/secret/secret.go:217 #: pkg/secret/secret.go:207
#, c-format #, c-format
msgid "skipping generation of %s (generate=false)" msgid "skipping generation of %s (generate=false)"
msgstr "" msgstr ""
@ -5089,7 +5083,7 @@ msgstr ""
msgid "specify secret value" msgid "specify secret value"
msgstr "" msgstr ""
#: cli/app/new.go:360 #: cli/app/new.go:340
msgid "specify server for new app" msgid "specify server for new app"
msgstr "" msgstr ""
@ -5149,7 +5143,7 @@ msgstr ""
msgid "store generated secrets in a local pass store" msgid "store generated secrets in a local pass store"
msgstr "" msgstr ""
#: cli/app/new.go:383 #: cli/app/new.go:363
msgid "store secrets in a local pass store" msgid "store secrets in a local pass store"
msgstr "" msgstr ""
@ -5305,7 +5299,7 @@ msgstr ""
msgid "trim input" msgid "trim input"
msgstr "" msgstr ""
#: cli/app/new.go:253 pkg/app/app.go:141 #: cli/app/new.go:233 pkg/app/app.go:141
#, c-format #, c-format
msgid "trimming %s to %s to avoid runtime limits" msgid "trimming %s to %s to avoid runtime limits"
msgstr "" msgstr ""
@ -5583,7 +5577,7 @@ msgstr ""
msgid "undeploy <domain> [flags]" msgid "undeploy <domain> [flags]"
msgstr "desarmar <domain> [flags]" msgstr "desarmar <domain> [flags]"
#: cli/app/undeploy.go:111 #: cli/app/undeploy.go:116
msgid "undeploy succeeded 🟢" msgid "undeploy succeeded 🟢"
msgstr "" msgstr ""
@ -5787,7 +5781,7 @@ msgstr ""
msgid "version %s saved to %s.env" msgid "version %s saved to %s.env"
msgstr "" msgstr ""
#: cli/app/deploy.go:117 #: cli/app/deploy.go:116
#, c-format #, c-format
msgid "" msgid ""
"version '%s' appears to be a chaos commit, but --chaos/-C was not provided" "version '%s' appears to be a chaos commit, but --chaos/-C was not provided"
@ -5812,27 +5806,22 @@ msgstr ""
msgid "version wiped from %s.env" msgid "version wiped from %s.env"
msgstr "" msgstr ""
#: cli/app/deploy.go:351
#, c-format
msgid "version: can not redeploy chaos version %s"
msgstr ""
#: cli/app/deploy.go:338 #: cli/app/deploy.go:338
#, c-format #, c-format
msgid "version: taking chaos version: %s" msgid "version: taking chaos version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:359 #: cli/app/deploy.go:364
#, c-format #, c-format
msgid "version: taking deployed version: %s" msgid "version: taking deployed version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:364 #: cli/app/deploy.go:369
#, c-format #, c-format
msgid "version: taking new recipe version: %s" msgid "version: taking new recipe version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:353 #: cli/app/deploy.go:358
#, c-format #, c-format
msgid "version: taking version from .env file: %s" msgid "version: taking version from .env file: %s"
msgstr "" msgstr ""
@ -5963,8 +5952,8 @@ msgstr ""
msgid "writer: %v, " msgid "writer: %v, "
msgstr "" msgstr ""
#: cli/app/deploy.go:262 cli/app/new.go:241 cli/app/rollback.go:248 #: cli/app/deploy.go:276 cli/app/new.go:221 cli/app/rollback.go:253
#: cli/app/undeploy.go:114 cli/app/upgrade.go:294 #: cli/app/undeploy.go:119 cli/app/upgrade.go:299
#, c-format #, c-format
msgid "writing recipe version failed: %s" msgid "writing recipe version failed: %s"
msgstr "" msgstr ""

View File

@ -49,7 +49,7 @@ func (r Recipe) Ensure(ctx EnsureContext) error {
if r.EnvVersion != "" && !ctx.IgnoreEnvVersion { if r.EnvVersion != "" && !ctx.IgnoreEnvVersion {
log.Debug(i18n.G("ensuring env version %s", r.EnvVersion)) log.Debug(i18n.G("ensuring env version %s", r.EnvVersion))
if strings.Contains(r.EnvVersion, "+U") { if strings.Contains(r.EnvVersion, "+U") {
return errors.New(i18n.G("can not redeploy chaos version (%s) without --chaos", r.EnvVersion)) return errors.New(i18n.G(`cannot redeploy previous chaos version (%s), did you mean to use "--chaos"?`))
} }
if _, err := r.EnsureVersion(r.EnvVersion); err != nil { if _, err := r.EnsureVersion(r.EnvVersion); err != nil {

View File

@ -50,11 +50,6 @@ type Secret struct {
// Will have this remote name: // Will have this remote name:
// test_example_com_test_pass_two_v2 // test_example_com_test_pass_two_v2
RemoteName string RemoteName string
// LocalName iis the name of the secret in the recipe config. This is also
// the name that you pass to `abra app secret insert` and is shown on `abra
// app secret list`
LocalName string
} }
// GeneratePassword generates passwords. // GeneratePassword generates passwords.
@ -138,12 +133,7 @@ func ReadSecretsConfig(appEnvPath string, composeFiles []string, stackName strin
lastIdx := strings.LastIndex(secretConfig.Name, "_") lastIdx := strings.LastIndex(secretConfig.Name, "_")
secretVersion := secretConfig.Name[lastIdx+1:] secretVersion := secretConfig.Name[lastIdx+1:]
value := Secret{Version: secretVersion, RemoteName: secretConfig.Name}
value := Secret{
Version: secretVersion,
RemoteName: secretConfig.Name,
LocalName: secretId,
}
if len(value.RemoteName) > config.MAX_DOCKER_SECRET_LENGTH { if len(value.RemoteName) > config.MAX_DOCKER_SECRET_LENGTH {
return nil, errors.New(i18n.G("secret %s is > %d chars when combined with %s", secretId, config.MAX_DOCKER_SECRET_LENGTH, stackName)) return nil, errors.New(i18n.G("secret %s is > %d chars when combined with %s", secretId, config.MAX_DOCKER_SECRET_LENGTH, stackName))

View File

@ -247,7 +247,7 @@ func waitOnTasks(ctx context.Context, client apiclient.APIClient, namespace stri
} }
} }
if terminalStatesReached == len(tasks) { if terminalStatesReached >= len(tasks) {
log.Debug(i18n.G("all tasks reached terminal state")) log.Debug(i18n.G("all tasks reached terminal state"))
break break
} }

View File

@ -175,7 +175,7 @@ teardown(){
} }
# bats test_tags=slow # bats test_tags=slow
@test "bail if env has a hash but no --chaos" { @test "do not bail if env version is a hash but no --chaos" {
wantHash=$(_get_n_hash 3) wantHash=$(_get_n_hash 3)
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" reset --hard HEAD~3 run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" reset --hard HEAD~3
@ -367,21 +367,6 @@ teardown(){
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --no-converge-checks run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --no-converge-checks
assert_failure assert_failure
assert_output --partial "secret not generated"
}
@test "error if secret not inserted" {
run sed -i 's/COMPOSE_FILE="compose.yml"/COMPOSE_FILE="compose.yml:compose.skip_pass.yml"/g' \
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_success
run sed -i 's/#SECRET_TEST_SKIP_PASS_VERSION=v1/SECRET_TEST_SKIP_PASS_VERSION=v1/g' \
"$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_success
run $ABRA app deploy "$TEST_APP_DOMAIN" --no-input --no-converge-checks
assert_failure
assert_output --partial "secret not inserted"
} }
# bats test_tags=slow # bats test_tags=slow

View File

@ -22,15 +22,8 @@ teardown(){
_reset_recipe _reset_recipe
_reset_tags _reset_tags
if [[ -f "$ABRA_DIR/recipes/$TEST_RECIPE/foo" ]]; then
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo" run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo" assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
fi
if [[ -f "$ABRA_DIR/servers/$TEST_SERVER/rauthy.$TEST_APP_DOMAIN.env" ]]; then
run rm -rf "$ABRA_DIR/servers/$TEST_SERVER/rauthy.$TEST_APP_DOMAIN.env"
assert_not_exists "$ABRA_DIR/servers/$TEST_SERVER/rauthy.$TEST_APP_DOMAIN.env"
fi
} }
@test "create new app" { @test "create new app" {
@ -277,32 +270,3 @@ teardown(){
assert_success assert_success
refute_output --partial "requires secret generation" refute_output --partial "requires secret generation"
} }
@test "do not warn about generation when generate=false" {
run $ABRA app new --domain "$TEST_APP_DOMAIN" renovate "1.0.1+41-full"
assert_success
refute_output --partial "requires secret generation"
}
@test "warn about insertion when generate=false" {
run $ABRA app new --domain "$TEST_APP_DOMAIN" renovate "1.0.1+41-full"
assert_success
assert_output --partial "requires secret insertion"
}
@test "warn about both insert/generate when generate=false/true" {
run $ABRA app new rauthy "1.0.0+0.32.3" \
--no-input \
--server "$TEST_SERVER" \
--domain "rauthy.$TEST_APP_DOMAIN"
assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER/rauthy.$TEST_APP_DOMAIN.env"
assert_output --partial "requires secret generation"
assert_output --partial "requires secret insertion"
}
@test "no warn about generation if already generated" {
run $ABRA app new "$TEST_RECIPE" --domain "$TEST_APP_DOMAIN" --secrets
assert_success
refute_output --partial "requires secret generation"
}