Compare commits

...

13 Commits

Author SHA1 Message Date
ec22d5d51d test: remove old tests
All checks were successful
continuous-integration/drone/push Build is passing
See #716
2025-11-05 09:52:28 +01:00
ab42584d05 docs: update var name 2025-11-05 09:52:28 +01:00
f
40eb6e9a18 fix: shorter hyphen
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-11-04 11:49:44 -03:00
35eb9d4a89 chore: update translation files
All checks were successful
continuous-integration/drone/push Build is passing
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Translation: Co-op Cloud/abra
Translate-URL: https://translate.coopcloud.tech/projects/co-op-cloud/abra/
2025-11-04 14:34:39 +00:00
08cc63d523 chore: make i18n
All checks were successful
continuous-integration/drone/push Build is passing
2025-11-04 15:34:27 +01:00
797b8d899b chore: update translation files
All checks were successful
continuous-integration/drone/push Build is passing
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Translation: Co-op Cloud/abra
Translate-URL: https://translate.coopcloud.tech/projects/co-op-cloud/abra/
2025-11-04 13:53:26 +00:00
fb786306b5 chore: make i18n
All checks were successful
continuous-integration/drone/push Build is passing
2025-11-04 14:53:15 +01:00
c3a2048eba fix: throw away unknown version
Some checks failed
continuous-integration/drone/push Build is failing
See #715
2025-11-04 13:52:49 +00:00
1bdc11ba62 fix no-input app deployment when no tty is present
Some checks failed
continuous-integration/drone/push Build is failing
2025-11-04 13:52:28 +00:00
cc8703310c chore: update translation files
All checks were successful
continuous-integration/drone/push Build is passing
Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate.

Translation: Co-op Cloud/abra
Translate-URL: https://translate.coopcloud.tech/projects/co-op-cloud/abra/
2025-11-04 07:35:14 +00:00
fcd5bd863d chore: make i18n
Some checks failed
continuous-integration/drone/push Build is failing
2025-11-04 08:35:04 +01:00
e6af2da9dd refactor: named note, merge if clause 2025-11-04 08:34:49 +01:00
4b688825e0 feat: create docker context when server folder does exist
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2025-11-03 17:29:04 +01:00
13 changed files with 285 additions and 257 deletions

View File

@ -260,6 +260,7 @@ checkout as-is. Recipe commit hashes are also supported as values for
app.Name, app.Name,
app.Server, app.Server,
internal.DontWaitConverge, internal.DontWaitConverge,
internal.NoInput,
f, f,
); err != nil { ); err != nil {
log.Fatal(err) log.Fatal(err)

View File

@ -128,6 +128,7 @@ Pass "--all-services/-a" to restart all services.`),
AppName: app.Name, AppName: app.Name,
ServerName: app.Server, ServerName: app.Server,
Filters: f, Filters: f,
NoInput: internal.NoInput,
NoLog: true, NoLog: true,
Quiet: true, Quiet: true,
} }

View File

@ -246,6 +246,7 @@ beforehand. See "abra app backup" for more.`),
stackName, stackName,
app.Server, app.Server,
internal.DontWaitConverge, internal.DontWaitConverge,
internal.NoInput,
f, f,
); err != nil { ); err != nil {
log.Fatal(err) log.Fatal(err)

View File

@ -282,6 +282,7 @@ beforehand. See "abra app backup" for more.`),
stackName, stackName,
app.Server, app.Server,
internal.DontWaitConverge, internal.DontWaitConverge,
internal.NoInput,
f, f,
); err != nil { ); err != nil {
log.Fatal(err) log.Fatal(err)

View File

@ -633,6 +633,11 @@ func (a App) WipeRecipeVersion() error {
// WriteRecipeVersion writes the recipe version to the app .env file. // WriteRecipeVersion writes the recipe version to the app .env file.
func (a App) WriteRecipeVersion(version string, dryRun bool) error { func (a App) WriteRecipeVersion(version string, dryRun bool) error {
if version == config.UNKNOWN_DEFAULT {
log.Debug(i18n.G("version is unknown, skipping env write"))
return nil
}
file, err := os.Open(a.Path) file, err := os.Open(a.Path)
if err != nil { if err != nil {
return err return err

View File

@ -224,3 +224,16 @@ func TestWriteRecipeVersionOverwrite(t *testing.T) {
assert.Equal(t, "foo", app.Recipe.EnvVersion) assert.Equal(t, "foo", app.Recipe.EnvVersion)
} }
func TestWriteRecipeVersionUnknown(t *testing.T) {
app, err := appPkg.GetApp(testPkg.ExpectedAppFiles, testPkg.AppName)
if err != nil {
t.Fatal(err)
}
if err := app.WriteRecipeVersion(config.UNKNOWN_DEFAULT, false); err != nil {
t.Fatal(err)
}
assert.NotEqual(t, config.UNKNOWN_DEFAULT, app.Recipe.EnvVersion)
}

View File

@ -37,18 +37,27 @@ func WithTimeout(timeout int) Opt {
// New initiates a new Docker client. New client connections are validated so // New initiates a new Docker client. New client connections are validated so
// that we ensure connections via SSH to the daemon can succeed. It takes into // that we ensure connections via SSH to the daemon can succeed. It takes into
// account that you may only want the local client and not communicate via SSH. // account that you may only want the local client and not communicate via SSH.
// For this use-case, please pass "default" as the contextName. // For this use-case, please pass "default" as the serverName.
func New(serverName string, opts ...Opt) (*client.Client, error) { func New(serverName string, opts ...Opt) (*client.Client, error) {
var clientOpts []client.Opt var clientOpts []client.Opt
ctx, err := GetContext(serverName) ctx, err := GetContext(serverName)
if err != nil { if err != nil {
serverDir := path.Join(config.SERVERS_DIR, serverName) serverDir := path.Join(config.SERVERS_DIR, serverName)
if _, err := os.Stat(serverDir); err == nil { if _, err := os.Stat(serverDir); err != nil {
return nil, errors.New(i18n.G("server missing context, run \"abra server add %s\"?", serverName)) return nil, errors.New(i18n.G("server missing, run \"abra server add %s\"?", serverName))
} }
return nil, errors.New(i18n.G("unknown server, run \"abra server add %s\"?", serverName)) // NOTE(p4u1): when the docker context does not exist but the server folder
// is there, let's create a new docker context.
if err = CreateContext(serverName); err != nil {
return nil, errors.New(i18n.G("server missing context, context creation failed: %s", err))
}
ctx, err = GetContext(serverName)
if err != nil {
return nil, errors.New(i18n.G("server missing context, run \"abra server add %s\"?", serverName))
}
} }
ctxEndpoint, err := contextPkg.GetContextEndpoint(ctx) ctxEndpoint, err := contextPkg.GetContextEndpoint(ctx)

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-11-02 11:41+0100\n" "POT-Creation-Date: 2025-11-04 15:34+0100\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"
@ -274,12 +274,12 @@ msgstr ""
msgid "%s has been detected as not deployed" msgid "%s has been detected as not deployed"
msgstr "" msgstr ""
#: ./cli/app/restart.go:139 #: ./cli/app/restart.go:140
#, c-format #, c-format
msgid "%s has been scaled to 0" msgid "%s has been scaled to 0"
msgstr "" msgstr ""
#: ./cli/app/restart.go:150 #: ./cli/app/restart.go:151
#, c-format #, c-format
msgid "%s has been scaled to 1" msgid "%s has been scaled to 1"
msgstr "" msgstr ""
@ -339,17 +339,17 @@ msgstr ""
msgid "%s is missing the TYPE env var?" msgid "%s is missing the TYPE env var?"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:308 ./cli/app/rollback.go:312 #: ./cli/app/rollback.go:309 ./cli/app/rollback.go:313
#, 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:428 ./cli/app/upgrade.go:432 #: ./cli/app/upgrade.go:429 ./cli/app/upgrade.go:433
#, c-format #, c-format
msgid "%s is not an upgrade for %s?" msgid "%s is not an upgrade for %s?"
msgstr "" msgstr ""
#: ./cli/app/env.go:146 ./cli/app/logs.go:65 ./cli/app/ps.go:62 ./cli/app/restart.go:100 ./cli/app/services.go:55 ./cli/app/undeploy.go:66 ./cli/app/upgrade.go:449 #: ./cli/app/env.go:146 ./cli/app/logs.go:65 ./cli/app/ps.go:62 ./cli/app/restart.go:100 ./cli/app/services.go:55 ./cli/app/undeploy.go:66 ./cli/app/upgrade.go:450
#, c-format #, c-format
msgid "%s is not deployed?" msgid "%s is not deployed?"
msgstr "" msgstr ""
@ -424,7 +424,7 @@ msgstr ""
msgid "%s service is missing image tag?" msgid "%s service is missing image tag?"
msgstr "" msgstr ""
#: ./cli/app/restart.go:151 #: ./cli/app/restart.go:152
#, c-format #, c-format
msgid "%s service successfully restarted" msgid "%s service successfully restarted"
msgstr "" msgstr ""
@ -459,7 +459,7 @@ msgstr ""
msgid "%s/example.git" msgid "%s/example.git"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:602 #: ./pkg/upstream/stack/stack.go:613
#, c-format #, c-format
msgid "%s: %s" msgid "%s: %s"
msgstr "" msgstr ""
@ -549,12 +549,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry" msgid "%s: waiting %d seconds before next retry"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:423 #: ./cli/app/upgrade.go:424
#, c-format #, c-format
msgid "'%s' is not a known version" msgid "'%s' is not a known version"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:303 ./cli/app/upgrade.go:418 #: ./cli/app/rollback.go:304 ./cli/app/upgrade.go:419
#, c-format #, c-format
msgid "'%s' is not a known version for %s" msgid "'%s' is not a known version for %s"
msgstr "" msgstr ""
@ -621,7 +621,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:395 ./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/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:396 ./cli/app/labels.go:143 ./cli/app/new.go:397 ./cli/app/ps.go:213 ./cli/app/restart.go:163 ./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
msgid "C" msgid "C"
msgstr "" msgstr ""
@ -762,7 +762,7 @@ msgid "Creates a new app from a default recipe.\n"
"on your $PATH." "on your $PATH."
msgstr "" msgstr ""
#: ./cli/app/deploy.go:411 ./cli/app/new.go:373 ./cli/app/rollback.go:360 ./cli/app/upgrade.go:469 #: ./cli/app/deploy.go:412 ./cli/app/new.go:373 ./cli/app/rollback.go:361 ./cli/app/upgrade.go:470
msgid "D" msgid "D"
msgstr "" msgstr ""
@ -1469,7 +1469,7 @@ 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:435 ./cli/app/rollback.go:376 ./cli/app/upgrade.go:493 #: ./cli/app/deploy.go:436 ./cli/app/rollback.go:377 ./cli/app/upgrade.go:494
msgid "U" msgid "U"
msgstr "" msgstr ""
@ -1676,7 +1676,7 @@ msgctxt "app backup list"
msgid "a" msgid "a"
msgstr "" msgstr ""
#: ./cli/app/restart.go:169 #: ./cli/app/restart.go:170
msgctxt "app restart" msgctxt "app restart"
msgid "a" msgid "a"
msgstr "" msgstr ""
@ -1785,7 +1785,7 @@ msgstr ""
msgid "all tasks reached terminal state" msgid "all tasks reached terminal state"
msgstr "" msgstr ""
#: ./cli/app/restart.go:168 #: ./cli/app/restart.go:169
msgid "all-services" msgid "all-services"
msgstr "" msgstr ""
@ -1844,7 +1844,7 @@ msgstr ""
msgid "attempting to run %s" msgid "attempting to run %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:272 ./cli/app/upgrade.go:295 #: ./cli/app/deploy.go:273 ./cli/app/upgrade.go:296
#, c-format #, c-format
msgid "attempting to run post deploy commands, saw: %s" msgid "attempting to run post deploy commands, saw: %s"
msgstr "" msgstr ""
@ -1854,7 +1854,7 @@ msgstr ""
msgid "attempting to scale %s to 0" msgid "attempting to scale %s to 0"
msgstr "" msgstr ""
#: ./cli/app/restart.go:140 #: ./cli/app/restart.go:141
#, c-format #, c-format
msgid "attempting to scale %s to 1" msgid "attempting to scale %s to 1"
msgstr "" msgstr ""
@ -1924,7 +1924,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:419 ./cli/app/rollback.go:368 ./cli/app/upgrade.go:477 #: ./cli/app/backup.go:148 ./cli/app/cp.go:30 ./cli/app/deploy.go:420 ./cli/app/rollback.go:369 ./cli/app/upgrade.go:478
msgid "c" msgid "c"
msgstr "" msgstr ""
@ -1965,7 +1965,7 @@ msgstr ""
msgid "cannot find app with name %s" msgid "cannot find app with name %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:657 #: ./pkg/upstream/stack/stack.go:668
#, c-format #, c-format
msgid "cannot get label %s for %s" msgid "cannot get label %s for %s"
msgstr "" msgstr ""
@ -1980,7 +1980,7 @@ msgstr ""
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?" msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:369 #: ./cli/app/deploy.go:370
#, c-format #, c-format
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?\n" 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\"" " to return to a regular release, specify a release tag, commit SHA or use \"--latest\""
@ -1999,7 +1999,7 @@ msgstr ""
msgid "cannot use '[secret] [version]' and '--all' together" msgid "cannot use '[secret] [version]' and '--all' together"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:311 #: ./cli/app/deploy.go:312
msgid "cannot use --chaos and --latest together" msgid "cannot use --chaos and --latest together"
msgstr "" msgstr ""
@ -2023,11 +2023,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:303 ./cli/app/new.go:76 #: ./cli/app/deploy.go:304 ./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:307 #: ./cli/app/deploy.go:308
msgid "cannot use [version] and --latest together" msgid "cannot use [version] and --latest together"
msgstr "" msgstr ""
@ -2059,7 +2059,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:394 ./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/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:395 ./cli/app/labels.go:142 ./cli/app/new.go:396 ./cli/app/ps.go:212 ./cli/app/restart.go:162 ./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
msgid "chaos" msgid "chaos"
msgstr "" msgstr ""
@ -2068,7 +2068,7 @@ msgstr ""
msgid "check <domain> [flags]" msgid "check <domain> [flags]"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:94 ./cli/app/undeploy.go:58 ./cli/app/upgrade.go:441 #: ./cli/app/deploy.go:94 ./cli/app/undeploy.go:58 ./cli/app/upgrade.go:442
#, c-format #, c-format
msgid "checking whether %s is already deployed" msgid "checking whether %s is already deployed"
msgstr "" msgstr ""
@ -2291,7 +2291,7 @@ msgstr ""
msgid "create remote directory: %s" msgid "create remote directory: %s"
msgstr "" msgstr ""
#: ./pkg/client/client.go:102 #: ./pkg/client/client.go:111
#, c-format #, c-format
msgid "created client for %s" msgid "created client for %s"
msgstr "" msgstr ""
@ -2311,7 +2311,7 @@ msgstr ""
msgid "created the %s context" msgid "created the %s context"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:520 #: ./pkg/upstream/stack/stack.go:524
#, c-format #, c-format
msgid "creating %s" msgid "creating %s"
msgstr "" msgstr ""
@ -2326,12 +2326,12 @@ msgstr ""
msgid "creating context with domain %s" msgid "creating context with domain %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:422 #: ./pkg/upstream/stack/stack.go:426
#, c-format #, c-format
msgid "creating network %s" msgid "creating network %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:369 #: ./pkg/upstream/stack/stack.go:373
#, c-format #, c-format
msgid "creating secret %s" msgid "creating secret %s"
msgstr "" msgstr ""
@ -2350,7 +2350,7 @@ msgstr ""
msgid "critical errors present in %s config" msgid "critical errors present in %s config"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:298 #: ./cli/app/rollback.go:299
#, 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 ""
@ -2390,11 +2390,11 @@ msgstr ""
msgid "deploy <domain> [version] [flags]" msgid "deploy <domain> [version] [flags]"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:593 #: ./pkg/upstream/stack/stack.go:604
msgid "deploy failed 🛑" msgid "deploy failed 🛑"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:597 #: ./pkg/upstream/stack/stack.go:608
msgid "deploy in progress 🟠" msgid "deploy in progress 🟠"
msgstr "" msgstr ""
@ -2402,15 +2402,15 @@ msgstr ""
msgid "deploy labels stanza present" msgid "deploy labels stanza present"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:429 #: ./cli/app/deploy.go:430
msgid "deploy latest recipe version" msgid "deploy latest recipe version"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:637 #: ./pkg/upstream/stack/stack.go:648
msgid "deploy succeeded 🟢" msgid "deploy succeeded 🟢"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:595 #: ./pkg/upstream/stack/stack.go:606
msgid "deploy timed out 🟠" msgid "deploy timed out 🟠"
msgstr "" msgstr ""
@ -2504,11 +2504,11 @@ msgstr ""
msgid "dirty: %v, " msgid "dirty: %v, "
msgstr "" msgstr ""
#: ./cli/app/deploy.go:421 ./cli/app/rollback.go:370 ./cli/app/upgrade.go:479 #: ./cli/app/deploy.go:422 ./cli/app/rollback.go:371 ./cli/app/upgrade.go:480
msgid "disable converge logic checks" msgid "disable converge logic checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:413 ./cli/app/rollback.go:362 ./cli/app/upgrade.go:471 #: ./cli/app/deploy.go:414 ./cli/app/rollback.go:363 ./cli/app/upgrade.go:472
msgid "disable public DNS checks" msgid "disable public DNS checks"
msgstr "" msgstr ""
@ -2726,7 +2726,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:403 ./cli/app/env.go:325 ./cli/app/remove.go:163 ./cli/app/rollback.go:352 ./cli/app/secret.go:593 ./cli/app/upgrade.go:461 ./cli/app/volume.go:217 ./cli/recipe/fetch.go:20 ./cli/recipe/fetch.go:138 #: ./cli/app/deploy.go:404 ./cli/app/env.go:325 ./cli/app/remove.go:163 ./cli/app/rollback.go:353 ./cli/app/secret.go:593 ./cli/app/upgrade.go:462 ./cli/app/volume.go:217 ./cli/recipe/fetch.go:20 ./cli/recipe/fetch.go:138
msgid "f" msgid "f"
msgstr "" msgstr ""
@ -2760,22 +2760,22 @@ msgstr ""
msgid "failed to copy %s from local machine to %s: output:%s err:%s" msgid "failed to copy %s from local machine to %s: output:%s err:%s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:531 #: ./pkg/upstream/stack/stack.go:535
#, c-format #, c-format
msgid "failed to create %s" msgid "failed to create %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:393 #: ./pkg/upstream/stack/stack.go:397
#, c-format #, c-format
msgid "failed to create config %s" msgid "failed to create config %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:424 #: ./pkg/upstream/stack/stack.go:428
#, c-format #, c-format
msgid "failed to create network %s" msgid "failed to create network %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:371 #: ./pkg/upstream/stack/stack.go:375
#, c-format #, c-format
msgid "failed to create secret %s" msgid "failed to create secret %s"
msgstr "" msgstr ""
@ -2872,7 +2872,7 @@ msgstr ""
msgid "failed to retrieve latest commit for %s: %s" msgid "failed to retrieve latest commit for %s: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:468 #: ./pkg/upstream/stack/stack.go:472
#, c-format #, c-format
msgid "failed to retrieve registry auth for image %s: %s" msgid "failed to retrieve registry auth for image %s: %s"
msgstr "" msgstr ""
@ -2892,17 +2892,17 @@ msgstr ""
msgid "failed to tag release: %s" msgid "failed to tag release: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:508 #: ./pkg/upstream/stack/stack.go:512
#, c-format #, c-format
msgid "failed to update %s" msgid "failed to update %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:387 #: ./pkg/upstream/stack/stack.go:391
#, c-format #, c-format
msgid "failed to update config %s" msgid "failed to update config %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:365 #: ./pkg/upstream/stack/stack.go:369
#, c-format #, c-format
msgid "failed to update secret %s" msgid "failed to update secret %s"
msgstr "" msgstr ""
@ -2957,7 +2957,7 @@ msgstr ""
msgid "final merged env values for %s are: %s" msgid "final merged env values for %s are: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:402 ./cli/app/env.go:324 ./cli/app/remove.go:162 ./cli/app/rollback.go:351 ./cli/app/upgrade.go:460 ./cli/app/volume.go:216 ./cli/recipe/fetch.go:137 #: ./cli/app/deploy.go:403 ./cli/app/env.go:324 ./cli/app/remove.go:162 ./cli/app/rollback.go:352 ./cli/app/upgrade.go:461 ./cli/app/volume.go:216 ./cli/recipe/fetch.go:137
msgid "force" msgid "force"
msgstr "" msgstr ""
@ -3171,7 +3171,7 @@ 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:397 ./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/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:398 ./cli/app/labels.go:145 ./cli/app/new.go:399 ./cli/app/ps.go:215 ./cli/app/restart.go:165 ./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
msgid "ignore uncommitted recipes changes" msgid "ignore uncommitted recipes changes"
msgstr "" msgstr ""
@ -3282,7 +3282,7 @@ msgstr ""
msgid "initialised new git repo in %s" msgid "initialised new git repo in %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:206 #: ./pkg/upstream/stack/stack.go:207
msgid "initialising deployment" msgid "initialising deployment"
msgstr "" msgstr ""
@ -3346,7 +3346,7 @@ msgstr ""
msgid "invalid npipe source, source cannot be empty" msgid "invalid npipe source, source cannot be empty"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:239 #: ./pkg/upstream/stack/stack.go:241
#, c-format #, c-format
msgid "invalid option %s for flag --resolve-image" msgid "invalid option %s for flag --resolve-image"
msgstr "" msgstr ""
@ -3369,7 +3369,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:427 ./cli/app/logs.go:20 ./cli/recipe/lint.go:17 ./cli/server/add.go:207 #: ./cli/app/cmd.go:261 ./cli/app/deploy.go:428 ./cli/app/logs.go:20 ./cli/recipe/lint.go:17 ./cli/server/add.go:207
msgid "l" msgid "l"
msgstr "" msgstr ""
@ -3384,7 +3384,7 @@ msgstr ""
msgid "labels <domain> [flags]" msgid "labels <domain> [flags]"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:426 ./cli/app/list.go:182 #: ./cli/app/deploy.go:427 ./cli/app/list.go:182
msgid "latest" msgid "latest"
msgstr "" msgstr ""
@ -3473,12 +3473,12 @@ msgstr ""
msgid "logs <domain> [service] [flags]" msgid "logs <domain> [service] [flags]"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:628 #: ./pkg/upstream/stack/stack.go:639
#, c-format #, c-format
msgid "logs: %s" msgid "logs: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:630 #: ./pkg/upstream/stack/stack.go:641
msgid "logs: no log output received from deployment" msgid "logs: no log output received from deployment"
msgstr "" msgstr ""
@ -3614,12 +3614,12 @@ msgstr ""
msgid "need 3 or 4 arguments" msgid "need 3 or 4 arguments"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:348 #: ./pkg/upstream/stack/stack.go:352
#, c-format #, c-format
msgid "network %q is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed, which you can do by running this on the server: docker network create -d overlay proxy" msgid "network %q is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed, which you can do by running this on the server: docker network create -d overlay proxy"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:352 #: ./pkg/upstream/stack/stack.go:356
#, c-format #, c-format
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 ""
@ -3842,11 +3842,11 @@ msgstr ""
msgid "no volumes to remove" msgid "no volumes to remove"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:418 ./cli/app/rollback.go:367 ./cli/app/upgrade.go:476 #: ./cli/app/deploy.go:419 ./cli/app/rollback.go:368 ./cli/app/upgrade.go:477
msgid "no-converge-checks" msgid "no-converge-checks"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:410 ./cli/app/rollback.go:359 ./cli/app/upgrade.go:468 #: ./cli/app/deploy.go:411 ./cli/app/rollback.go:360 ./cli/app/upgrade.go:469
msgid "no-domain-checks" msgid "no-domain-checks"
msgstr "" msgstr ""
@ -3902,7 +3902,7 @@ msgstr ""
msgid "only show errors" msgid "only show errors"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:487 #: ./cli/app/upgrade.go:488
msgid "only show release notes" msgid "only show release notes"
msgstr "" msgstr ""
@ -3933,22 +3933,22 @@ msgstr ""
msgid "parsed following command arguments: %s" msgid "parsed following command arguments: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:344 #: ./cli/app/upgrade.go:345
#, c-format #, c-format
msgid "parsing chosen upgrade version failed: %s" msgid "parsing chosen upgrade version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:388 #: ./cli/app/upgrade.go:389
#, c-format #, c-format
msgid "parsing deployed version failed: %s" msgid "parsing deployed version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:349 #: ./cli/app/upgrade.go:350
#, c-format #, c-format
msgid "parsing deployment version failed: %s" msgid "parsing deployment version failed: %s"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:355 ./cli/app/upgrade.go:394 #: ./cli/app/upgrade.go:356 ./cli/app/upgrade.go:395
#, c-format #, c-format
msgid "parsing recipe version failed: %s" msgid "parsing recipe version failed: %s"
msgstr "" msgstr ""
@ -3973,7 +3973,7 @@ msgstr ""
msgid "pattern" msgid "pattern"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:405 ./cli/app/env.go:327 ./cli/app/remove.go:165 ./cli/app/rollback.go:354 ./cli/app/upgrade.go:463 ./cli/app/volume.go:219 #: ./cli/app/deploy.go:406 ./cli/app/env.go:327 ./cli/app/remove.go:165 ./cli/app/rollback.go:355 ./cli/app/upgrade.go:464 ./cli/app/volume.go:219
msgid "perform action without further prompt" msgid "perform action without further prompt"
msgstr "" msgstr ""
@ -3988,27 +3988,27 @@ 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:266 #: ./cli/app/rollback.go:267
#, c-format #, c-format
msgid "please select a downgrade (version: %s):" msgid "please select a downgrade (version: %s):"
msgstr "" msgstr ""
#: ./cli/app/rollback.go:271 #: ./cli/app/rollback.go:272
#, 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:311 #: ./cli/app/upgrade.go:312
#, c-format #, c-format
msgid "please select an upgrade (version: %s):" msgid "please select an upgrade (version: %s):"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:316 #: ./cli/app/upgrade.go:317
#, c-format #, c-format
msgid "please select an upgrade (version: %s, chaos: %s):" msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:576 #: ./pkg/upstream/stack/stack.go:587
msgid "polling deployment status" msgid "polling deployment status"
msgstr "" msgstr ""
@ -4094,7 +4094,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:300 ./cli/app/move.go:350 ./cli/app/run.go:23 ./cli/app/upgrade.go:485 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:649 ./cli/recipe/sync.go:272 #: ./cli/app/backup.go:327 ./cli/app/list.go:300 ./cli/app/move.go:350 ./cli/app/run.go:23 ./cli/app/upgrade.go:486 ./cli/catalogue/catalogue.go:302 ./cli/recipe/recipe.go:12 ./cli/recipe/release.go:649 ./cli/recipe/sync.go:272
msgid "r" msgid "r"
msgstr "" msgstr ""
@ -4210,7 +4210,7 @@ msgstr ""
msgid "release <recipe> [version] [flags]" msgid "release <recipe> [version] [flags]"
msgstr "" msgstr ""
#: ./cli/app/upgrade.go:484 #: ./cli/app/upgrade.go:485
msgid "releasenotes" msgid "releasenotes"
msgstr "" msgstr ""
@ -4376,7 +4376,7 @@ msgstr ""
msgid "restart <domain> [[service] | --all-services] [flags]" msgid "restart <domain> [[service] | --all-services] [flags]"
msgstr "" msgstr ""
#: ./cli/app/restart.go:171 #: ./cli/app/restart.go:172
msgid "restart all services" msgid "restart all services"
msgstr "" msgstr ""
@ -4441,7 +4441,7 @@ msgstr ""
msgid "retrieved versions from local recipe repository" msgid "retrieved versions from local recipe repository"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:464 #: ./pkg/upstream/stack/stack.go:468
#, c-format #, c-format
msgid "retrieving docker auth token: failed create docker cli: %s" msgid "retrieving docker auth token: failed create docker cli: %s"
msgstr "" msgstr ""
@ -4514,7 +4514,7 @@ msgstr ""
msgid "run command locally" msgid "run command locally"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:270 ./cli/app/upgrade.go:292 #: ./cli/app/deploy.go:271 ./cli/app/upgrade.go:293
#, c-format #, c-format
msgid "run the following post-deploy commands: %s" msgid "run the following post-deploy commands: %s"
msgstr "" msgstr ""
@ -4599,12 +4599,12 @@ msgstr ""
msgid "secret not found: %s" msgid "secret not found: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:339 #: ./cli/app/deploy.go:340
#, c-format #, c-format
msgid "secret not generated: %s" msgid "secret not generated: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:337 #: ./cli/app/deploy.go:338
#, c-format #, c-format
msgid "secret not inserted (#generate=false): %s" msgid "secret not inserted (#generate=false): %s"
msgstr "" msgstr ""
@ -4651,11 +4651,21 @@ msgstr ""
msgid "server doesn't exist?" msgid "server doesn't exist?"
msgstr "" msgstr ""
#: ./pkg/client/client.go:48 #: ./pkg/client/client.go:54
#, c-format
msgid "server missing context, context creation failed: %s"
msgstr ""
#: ./pkg/client/client.go:59
#, c-format #, c-format
msgid "server missing context, run \"abra server add %s\"?" msgid "server missing context, run \"abra server add %s\"?"
msgstr "" msgstr ""
#: ./pkg/client/client.go:48
#, c-format
msgid "server missing, run \"abra server add %s\"?"
msgstr ""
#: ./cli/server/add.go:148 #: ./cli/server/add.go:148
#, c-format #, c-format
msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup" msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup"
@ -4728,7 +4738,7 @@ msgstr ""
msgid "severity" msgid "severity"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:437 ./cli/app/rollback.go:378 ./cli/app/upgrade.go:495 #: ./cli/app/deploy.go:438 ./cli/app/rollback.go:379 ./cli/app/upgrade.go:496
msgid "show all configs & images, including unchanged ones" msgid "show all configs & images, including unchanged ones"
msgstr "" msgstr ""
@ -4752,7 +4762,7 @@ msgstr ""
msgid "show debug messages" msgid "show debug messages"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:434 ./cli/app/rollback.go:375 ./cli/app/upgrade.go:492 #: ./cli/app/deploy.go:435 ./cli/app/rollback.go:376 ./cli/app/upgrade.go:493
msgid "show-unchanged" msgid "show-unchanged"
msgstr "" msgstr ""
@ -4796,7 +4806,7 @@ msgstr ""
msgid "skipping as requested, undeploy still in progress 🟠" msgid "skipping as requested, undeploy still in progress 🟠"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:306 #: ./pkg/upstream/stack/stack.go:309
msgid "skipping converge logic checks" msgid "skipping converge logic checks"
msgstr "" msgstr ""
@ -4818,12 +4828,12 @@ msgstr ""
msgid "skipping secret (because it already exists) on %s: %s" msgid "skipping secret (because it already exists) on %s: %s"
msgstr "" msgstr ""
#: ./pkg/app/app.go:692 #: ./pkg/app/app.go:697
#, c-format #, c-format
msgid "skipping version %s write as already exists in %s.env" msgid "skipping version %s write as already exists in %s.env"
msgstr "" msgstr ""
#: ./pkg/app/app.go:686 #: ./pkg/app/app.go:691
#, c-format #, c-format
msgid "skipping writing version %s because dry run" msgid "skipping writing version %s because dry run"
msgstr "" msgstr ""
@ -4931,12 +4941,12 @@ msgstr ""
msgid "successfully created %s" msgid "successfully created %s"
msgstr "" msgstr ""
#: ./pkg/client/client.go:111 #: ./pkg/client/client.go:120
#, c-format #, c-format
msgid "swarm mode not enabled on %s?" msgid "swarm mode not enabled on %s?"
msgstr "" msgstr ""
#: ./pkg/client/client.go:114 #: ./pkg/client/client.go:123
msgid "swarm mode not enabled on local server?" msgid "swarm mode not enabled on local server?"
msgstr "" msgstr ""
@ -5012,7 +5022,7 @@ msgstr ""
msgid "timeout label: %s" msgid "timeout label: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/remove.go:29 ./pkg/upstream/stack/stack.go:209 #: ./pkg/upstream/stack/remove.go:29 ./pkg/upstream/stack/stack.go:210
#, c-format #, c-format
msgid "timeout: set to %d second(s)" msgid "timeout: set to %d second(s)"
msgstr "" msgstr ""
@ -5435,11 +5445,6 @@ msgstr ""
msgid "unknown server %s, run \"abra server add %s\"?" msgid "unknown server %s, run \"abra server add %s\"?"
msgstr "" msgstr ""
#: ./pkg/client/client.go:51
#, c-format
msgid "unknown server, run \"abra server add %s\"?"
msgstr ""
#: ./cli/app/cp.go:259 #: ./cli/app/cp.go:259
#, c-format #, c-format
msgid "untar: %s" msgid "untar: %s"
@ -5451,7 +5456,7 @@ msgstr ""
msgid "up" msgid "up"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:473 #: ./pkg/upstream/stack/stack.go:477
#, c-format #, c-format
msgid "updating %s" msgid "updating %s"
msgstr "" msgstr ""
@ -5563,7 +5568,7 @@ msgstr ""
msgid "version" msgid "version"
msgstr "" msgstr ""
#: ./pkg/app/app.go:690 #: ./pkg/app/app.go:695
#, c-format #, c-format
msgid "version %s saved to %s.env" msgid "version %s saved to %s.env"
msgstr "" msgstr ""
@ -5582,6 +5587,10 @@ msgstr ""
msgid "version for abra" msgid "version for abra"
msgstr "" msgstr ""
#: ./pkg/app/app.go:637
msgid "version is unknown, skipping env write"
msgstr ""
#: ./pkg/recipe/recipe.go:130 #: ./pkg/recipe/recipe.go:130
#, c-format #, c-format
msgid "version seems invalid: %s" msgid "version seems invalid: %s"
@ -5592,27 +5601,27 @@ msgstr ""
msgid "version wiped from %s.env" msgid "version wiped from %s.env"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:353 #: ./cli/app/deploy.go:354
#, c-format #, c-format
msgid "version: taking chaos version: %s" msgid "version: taking chaos version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:379 #: ./cli/app/deploy.go:380
#, c-format #, c-format
msgid "version: taking deployed version: %s" msgid "version: taking deployed version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:384 #: ./cli/app/deploy.go:385
#, c-format #, c-format
msgid "version: taking new recipe version: %s" msgid "version: taking new recipe version: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:373 #: ./cli/app/deploy.go:374
#, c-format #, c-format
msgid "version: taking version from .env file: %s" msgid "version: taking version from .env file: %s"
msgstr "" msgstr ""
#: ./cli/app/deploy.go:359 #: ./cli/app/deploy.go:360
#, c-format #, c-format
msgid "version: taking version from cli arg: %s" msgid "version: taking version from cli arg: %s"
msgstr "" msgstr ""
@ -5672,22 +5681,22 @@ msgstr ""
msgid "volumes pruned: %d; space reclaimed: %s" msgid "volumes pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:614 #: ./pkg/upstream/stack/stack.go:625
#, c-format #, c-format
msgid "waitOnServices: error creating log dir: %s" msgid "waitOnServices: error creating log dir: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:619 #: ./pkg/upstream/stack/stack.go:630
#, c-format #, c-format
msgid "waitOnServices: error opening file: %s" msgid "waitOnServices: error opening file: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:585 #: ./pkg/upstream/stack/stack.go:596
#, c-format #, c-format
msgid "waitOnServices: error running TUI: %s" msgid "waitOnServices: error running TUI: %s"
msgstr "" msgstr ""
#: ./pkg/upstream/stack/stack.go:625 #: ./pkg/upstream/stack/stack.go:636
#, c-format #, c-format
msgid "waitOnServices: writeFile: %s" msgid "waitOnServices: writeFile: %s"
msgstr "" msgstr ""
@ -5735,7 +5744,7 @@ msgstr ""
msgid "writer: %v, " msgid "writer: %v, "
msgstr "" msgstr ""
#: ./cli/app/deploy.go:277 ./cli/app/new.go:241 ./cli/app/rollback.go:255 ./cli/app/undeploy.go:120 ./cli/app/upgrade.go:300 #: ./cli/app/deploy.go:278 ./cli/app/new.go:241 ./cli/app/rollback.go:256 ./cli/app/undeploy.go:120 ./cli/app/upgrade.go:301
#, 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-11-02 11:41+0100\n" "POT-Creation-Date: 2025-11-04 15:34+0100\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-cloud/abra/es/>\n" "Language-Team: Spanish <https://translate.coopcloud.tech/projects/co-op-cloud/abra/es/>\n"
@ -285,12 +285,12 @@ msgstr ""
msgid "%s has been detected as not deployed" msgid "%s has been detected as not deployed"
msgstr "" msgstr ""
#: cli/app/restart.go:139 #: cli/app/restart.go:140
#, c-format #, c-format
msgid "%s has been scaled to 0" msgid "%s has been scaled to 0"
msgstr "" msgstr ""
#: cli/app/restart.go:150 #: cli/app/restart.go:151
#, c-format #, c-format
msgid "%s has been scaled to 1" msgid "%s has been scaled to 1"
msgstr "" msgstr ""
@ -350,19 +350,19 @@ msgstr ""
msgid "%s is missing the TYPE env var?" msgid "%s is missing the TYPE env var?"
msgstr "" msgstr ""
#: cli/app/rollback.go:308 cli/app/rollback.go:312 #: cli/app/rollback.go:309 cli/app/rollback.go:313
#, 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:428 cli/app/upgrade.go:432 #: cli/app/upgrade.go:429 cli/app/upgrade.go:433
#, c-format #, c-format
msgid "%s is not an upgrade for %s?" msgid "%s is not an upgrade for %s?"
msgstr "" msgstr ""
#: cli/app/env.go:146 cli/app/logs.go:65 cli/app/ps.go:62 #: cli/app/env.go:146 cli/app/logs.go:65 cli/app/ps.go:62
#: cli/app/restart.go:100 cli/app/services.go:55 cli/app/undeploy.go:66 #: cli/app/restart.go:100 cli/app/services.go:55 cli/app/undeploy.go:66
#: cli/app/upgrade.go:449 #: cli/app/upgrade.go:450
#, c-format #, c-format
msgid "%s is not deployed?" msgid "%s is not deployed?"
msgstr "" msgstr ""
@ -437,7 +437,7 @@ msgstr ""
msgid "%s service is missing image tag?" msgid "%s service is missing image tag?"
msgstr "" msgstr ""
#: cli/app/restart.go:151 #: cli/app/restart.go:152
#, c-format #, c-format
msgid "%s service successfully restarted" msgid "%s service successfully restarted"
msgstr "" msgstr ""
@ -472,7 +472,7 @@ msgstr ""
msgid "%s/example.git" msgid "%s/example.git"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:602 #: pkg/upstream/stack/stack.go:613
#, c-format #, c-format
msgid "%s: %s" msgid "%s: %s"
msgstr "" msgstr ""
@ -562,12 +562,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry" msgid "%s: waiting %d seconds before next retry"
msgstr "" msgstr ""
#: cli/app/upgrade.go:423 #: cli/app/upgrade.go:424
#, c-format #, c-format
msgid "'%s' is not a known version" msgid "'%s' is not a known version"
msgstr "" msgstr ""
#: cli/app/rollback.go:303 cli/app/upgrade.go:418 #: cli/app/rollback.go:304 cli/app/upgrade.go:419
#, c-format #, c-format
msgid "'%s' is not a known version for %s" msgid "'%s' is not a known version for %s"
msgstr "" msgstr ""
@ -637,9 +637,9 @@ 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:395 #: cli/app/cmd.go:285 cli/app/cp.go:385 cli/app/deploy.go:396
#: cli/app/labels.go:143 cli/app/new.go:397 cli/app/ps.go:213 #: 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/restart.go:163 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
msgid "C" msgid "C"
@ -785,8 +785,8 @@ msgid ""
"on your $PATH." "on your $PATH."
msgstr "" msgstr ""
#: cli/app/deploy.go:411 cli/app/new.go:373 cli/app/rollback.go:360 #: cli/app/deploy.go:412 cli/app/new.go:373 cli/app/rollback.go:361
#: cli/app/upgrade.go:469 #: cli/app/upgrade.go:470
msgid "D" msgid "D"
msgstr "" msgstr ""
@ -1518,7 +1518,7 @@ msgid ""
" # and source this file from your PowerShell profile." " # and source this file from your PowerShell profile."
msgstr "" msgstr ""
#: cli/app/deploy.go:435 cli/app/rollback.go:376 cli/app/upgrade.go:493 #: cli/app/deploy.go:436 cli/app/rollback.go:377 cli/app/upgrade.go:494
msgid "U" msgid "U"
msgstr "" msgstr ""
@ -1734,7 +1734,7 @@ msgctxt "app backup list"
msgid "a" msgid "a"
msgstr "" msgstr ""
#: cli/app/restart.go:169 #: cli/app/restart.go:170
msgctxt "app restart" msgctxt "app restart"
msgid "a" msgid "a"
msgstr "" msgstr ""
@ -1844,7 +1844,7 @@ msgstr ""
msgid "all tasks reached terminal state" msgid "all tasks reached terminal state"
msgstr "" msgstr ""
#: cli/app/restart.go:168 #: cli/app/restart.go:169
msgid "all-services" msgid "all-services"
msgstr "" msgstr ""
@ -1903,7 +1903,7 @@ msgstr ""
msgid "attempting to run %s" msgid "attempting to run %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:272 cli/app/upgrade.go:295 #: cli/app/deploy.go:273 cli/app/upgrade.go:296
#, c-format #, c-format
msgid "attempting to run post deploy commands, saw: %s" msgid "attempting to run post deploy commands, saw: %s"
msgstr "" msgstr ""
@ -1913,7 +1913,7 @@ msgstr ""
msgid "attempting to scale %s to 0" msgid "attempting to scale %s to 0"
msgstr "" msgstr ""
#: cli/app/restart.go:140 #: cli/app/restart.go:141
#, c-format #, c-format
msgid "attempting to scale %s to 1" msgid "attempting to scale %s to 1"
msgstr "" msgstr ""
@ -1989,8 +1989,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:419 #: cli/app/backup.go:148 cli/app/cp.go:30 cli/app/deploy.go:420
#: cli/app/rollback.go:368 cli/app/upgrade.go:477 #: cli/app/rollback.go:369 cli/app/upgrade.go:478
msgid "c" msgid "c"
msgstr "" msgstr ""
@ -2031,7 +2031,7 @@ msgstr ""
msgid "cannot find app with name %s" msgid "cannot find app with name %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:657 #: pkg/upstream/stack/stack.go:668
#, c-format #, c-format
msgid "cannot get label %s for %s" msgid "cannot get label %s for %s"
msgstr "" msgstr ""
@ -2046,7 +2046,7 @@ msgstr ""
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?" msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr "" msgstr ""
#: cli/app/deploy.go:369 #: cli/app/deploy.go:370
#, c-format #, c-format
msgid "" msgid ""
"cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?\n" "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?\n"
@ -2066,7 +2066,7 @@ msgstr ""
msgid "cannot use '[secret] [version]' and '--all' together" msgid "cannot use '[secret] [version]' and '--all' together"
msgstr "" msgstr ""
#: cli/app/deploy.go:311 #: cli/app/deploy.go:312
msgid "cannot use --chaos and --latest together" msgid "cannot use --chaos and --latest together"
msgstr "" msgstr ""
@ -2090,11 +2090,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:303 cli/app/new.go:76 #: cli/app/deploy.go:304 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:307 #: cli/app/deploy.go:308
msgid "cannot use [version] and --latest together" msgid "cannot use [version] and --latest together"
msgstr "" msgstr ""
@ -2127,9 +2127,9 @@ 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:394 #: cli/app/cmd.go:284 cli/app/cp.go:384 cli/app/deploy.go:395
#: cli/app/labels.go:142 cli/app/new.go:396 cli/app/ps.go:212 #: 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/restart.go:162 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
msgid "chaos" msgid "chaos"
@ -2140,7 +2140,7 @@ msgstr ""
msgid "check <domain> [flags]" msgid "check <domain> [flags]"
msgstr "verificar <domain> [flags]" msgstr "verificar <domain> [flags]"
#: cli/app/deploy.go:94 cli/app/undeploy.go:58 cli/app/upgrade.go:441 #: cli/app/deploy.go:94 cli/app/undeploy.go:58 cli/app/upgrade.go:442
#, c-format #, c-format
msgid "checking whether %s is already deployed" msgid "checking whether %s is already deployed"
msgstr "" msgstr ""
@ -2363,7 +2363,7 @@ msgstr ""
msgid "create remote directory: %s" msgid "create remote directory: %s"
msgstr "" msgstr ""
#: pkg/client/client.go:102 #: pkg/client/client.go:111
#, c-format #, c-format
msgid "created client for %s" msgid "created client for %s"
msgstr "" msgstr ""
@ -2383,7 +2383,7 @@ msgstr ""
msgid "created the %s context" msgid "created the %s context"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:520 #: pkg/upstream/stack/stack.go:524
#, c-format #, c-format
msgid "creating %s" msgid "creating %s"
msgstr "" msgstr ""
@ -2398,12 +2398,12 @@ msgstr ""
msgid "creating context with domain %s" msgid "creating context with domain %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:422 #: pkg/upstream/stack/stack.go:426
#, c-format #, c-format
msgid "creating network %s" msgid "creating network %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:369 #: pkg/upstream/stack/stack.go:373
#, c-format #, c-format
msgid "creating secret %s" msgid "creating secret %s"
msgstr "" msgstr ""
@ -2422,7 +2422,7 @@ msgstr ""
msgid "critical errors present in %s config" msgid "critical errors present in %s config"
msgstr "" msgstr ""
#: cli/app/rollback.go:298 #: cli/app/rollback.go:299
#, 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 ""
@ -2462,11 +2462,11 @@ msgstr ""
msgid "deploy <domain> [version] [flags]" msgid "deploy <domain> [version] [flags]"
msgstr "desplegar <domain> [version] [flags]" msgstr "desplegar <domain> [version] [flags]"
#: pkg/upstream/stack/stack.go:593 #: pkg/upstream/stack/stack.go:604
msgid "deploy failed 🛑" msgid "deploy failed 🛑"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:597 #: pkg/upstream/stack/stack.go:608
msgid "deploy in progress 🟠" msgid "deploy in progress 🟠"
msgstr "" msgstr ""
@ -2474,16 +2474,16 @@ msgstr ""
msgid "deploy labels stanza present" msgid "deploy labels stanza present"
msgstr "" msgstr ""
#: cli/app/deploy.go:429 #: cli/app/deploy.go:430
#, 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"
#: pkg/upstream/stack/stack.go:637 #: pkg/upstream/stack/stack.go:648
msgid "deploy succeeded 🟢" msgid "deploy succeeded 🟢"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:595 #: pkg/upstream/stack/stack.go:606
msgid "deploy timed out 🟠" msgid "deploy timed out 🟠"
msgstr "" msgstr ""
@ -2577,11 +2577,11 @@ msgstr ""
msgid "dirty: %v, " msgid "dirty: %v, "
msgstr "" msgstr ""
#: cli/app/deploy.go:421 cli/app/rollback.go:370 cli/app/upgrade.go:479 #: cli/app/deploy.go:422 cli/app/rollback.go:371 cli/app/upgrade.go:480
msgid "disable converge logic checks" msgid "disable converge logic checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:413 cli/app/rollback.go:362 cli/app/upgrade.go:471 #: cli/app/deploy.go:414 cli/app/rollback.go:363 cli/app/upgrade.go:472
msgid "disable public DNS checks" msgid "disable public DNS checks"
msgstr "" msgstr ""
@ -2803,8 +2803,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:403 cli/app/env.go:325 cli/app/remove.go:163 #: cli/app/deploy.go:404 cli/app/env.go:325 cli/app/remove.go:163
#: cli/app/rollback.go:352 cli/app/secret.go:593 cli/app/upgrade.go:461 #: cli/app/rollback.go:353 cli/app/secret.go:593 cli/app/upgrade.go:462
#: cli/app/volume.go:217 cli/recipe/fetch.go:20 cli/recipe/fetch.go:138 #: cli/app/volume.go:217 cli/recipe/fetch.go:20 cli/recipe/fetch.go:138
msgid "f" msgid "f"
msgstr "" msgstr ""
@ -2839,22 +2839,22 @@ msgstr ""
msgid "failed to copy %s from local machine to %s: output:%s err:%s" msgid "failed to copy %s from local machine to %s: output:%s err:%s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:531 #: pkg/upstream/stack/stack.go:535
#, c-format #, c-format
msgid "failed to create %s" msgid "failed to create %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:393 #: pkg/upstream/stack/stack.go:397
#, c-format #, c-format
msgid "failed to create config %s" msgid "failed to create config %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:424 #: pkg/upstream/stack/stack.go:428
#, c-format #, c-format
msgid "failed to create network %s" msgid "failed to create network %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:371 #: pkg/upstream/stack/stack.go:375
#, c-format #, c-format
msgid "failed to create secret %s" msgid "failed to create secret %s"
msgstr "" msgstr ""
@ -2951,7 +2951,7 @@ msgstr ""
msgid "failed to retrieve latest commit for %s: %s" msgid "failed to retrieve latest commit for %s: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:468 #: pkg/upstream/stack/stack.go:472
#, c-format #, c-format
msgid "failed to retrieve registry auth for image %s: %s" msgid "failed to retrieve registry auth for image %s: %s"
msgstr "" msgstr ""
@ -2971,17 +2971,17 @@ msgstr "🥷 Genera secretos (contraseñas) automáticamente 🤖"
msgid "failed to tag release: %s" msgid "failed to tag release: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:508 #: pkg/upstream/stack/stack.go:512
#, c-format #, c-format
msgid "failed to update %s" msgid "failed to update %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:387 #: pkg/upstream/stack/stack.go:391
#, c-format #, c-format
msgid "failed to update config %s" msgid "failed to update config %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:365 #: pkg/upstream/stack/stack.go:369
#, c-format #, c-format
msgid "failed to update secret %s" msgid "failed to update secret %s"
msgstr "" msgstr ""
@ -3036,8 +3036,8 @@ msgstr ""
msgid "final merged env values for %s are: %s" msgid "final merged env values for %s are: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:402 cli/app/env.go:324 cli/app/remove.go:162 #: cli/app/deploy.go:403 cli/app/env.go:324 cli/app/remove.go:162
#: cli/app/rollback.go:351 cli/app/upgrade.go:460 cli/app/volume.go:216 #: cli/app/rollback.go:352 cli/app/upgrade.go:461 cli/app/volume.go:216
#: cli/recipe/fetch.go:137 #: cli/recipe/fetch.go:137
msgid "force" msgid "force"
msgstr "" msgstr ""
@ -3254,9 +3254,9 @@ 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:397 #: cli/app/cmd.go:287 cli/app/cp.go:387 cli/app/deploy.go:398
#: cli/app/labels.go:145 cli/app/new.go:399 cli/app/ps.go:215 #: 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/restart.go:165 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
msgid "ignore uncommitted recipes changes" msgid "ignore uncommitted recipes changes"
@ -3369,7 +3369,7 @@ msgstr ""
msgid "initialised new git repo in %s" msgid "initialised new git repo in %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:206 #: pkg/upstream/stack/stack.go:207
msgid "initialising deployment" msgid "initialising deployment"
msgstr "" msgstr ""
@ -3433,7 +3433,7 @@ msgstr ""
msgid "invalid npipe source, source cannot be empty" msgid "invalid npipe source, source cannot be empty"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:239 #: pkg/upstream/stack/stack.go:241
#, c-format #, c-format
msgid "invalid option %s for flag --resolve-image" msgid "invalid option %s for flag --resolve-image"
msgstr "" msgstr ""
@ -3456,7 +3456,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:427 cli/app/logs.go:20 #: cli/app/cmd.go:261 cli/app/deploy.go:428 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 ""
@ -3472,7 +3472,7 @@ msgstr ""
msgid "labels <domain> [flags]" msgid "labels <domain> [flags]"
msgstr "etiquetas <domain> [flags]" msgstr "etiquetas <domain> [flags]"
#: cli/app/deploy.go:426 cli/app/list.go:182 #: cli/app/deploy.go:427 cli/app/list.go:182
msgid "latest" msgid "latest"
msgstr "" msgstr ""
@ -3562,12 +3562,12 @@ msgstr ""
msgid "logs <domain> [service] [flags]" msgid "logs <domain> [service] [flags]"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:628 #: pkg/upstream/stack/stack.go:639
#, c-format #, c-format
msgid "logs: %s" msgid "logs: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:630 #: pkg/upstream/stack/stack.go:641
msgid "logs: no log output received from deployment" msgid "logs: no log output received from deployment"
msgstr "" msgstr ""
@ -3714,12 +3714,12 @@ msgstr ""
msgid "need 3 or 4 arguments" msgid "need 3 or 4 arguments"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:348 #: pkg/upstream/stack/stack.go:352
#, c-format #, c-format
msgid "network %q is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed, which you can do by running this on the server: docker network create -d overlay proxy" msgid "network %q is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed, which you can do by running this on the server: docker network create -d overlay proxy"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:352 #: pkg/upstream/stack/stack.go:356
#, c-format #, c-format
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 ""
@ -3942,11 +3942,11 @@ msgstr ""
msgid "no volumes to remove" msgid "no volumes to remove"
msgstr "" msgstr ""
#: cli/app/deploy.go:418 cli/app/rollback.go:367 cli/app/upgrade.go:476 #: cli/app/deploy.go:419 cli/app/rollback.go:368 cli/app/upgrade.go:477
msgid "no-converge-checks" msgid "no-converge-checks"
msgstr "" msgstr ""
#: cli/app/deploy.go:410 cli/app/rollback.go:359 cli/app/upgrade.go:468 #: cli/app/deploy.go:411 cli/app/rollback.go:360 cli/app/upgrade.go:469
msgid "no-domain-checks" msgid "no-domain-checks"
msgstr "" msgstr ""
@ -4002,7 +4002,7 @@ msgstr ""
msgid "only show errors" msgid "only show errors"
msgstr "" msgstr ""
#: cli/app/upgrade.go:487 #: cli/app/upgrade.go:488
msgid "only show release notes" msgid "only show release notes"
msgstr "" msgstr ""
@ -4036,22 +4036,22 @@ msgstr ""
msgid "parsed following command arguments: %s" msgid "parsed following command arguments: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:344 #: cli/app/upgrade.go:345
#, c-format #, c-format
msgid "parsing chosen upgrade version failed: %s" msgid "parsing chosen upgrade version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:388 #: cli/app/upgrade.go:389
#, c-format #, c-format
msgid "parsing deployed version failed: %s" msgid "parsing deployed version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:349 #: cli/app/upgrade.go:350
#, c-format #, c-format
msgid "parsing deployment version failed: %s" msgid "parsing deployment version failed: %s"
msgstr "" msgstr ""
#: cli/app/upgrade.go:355 cli/app/upgrade.go:394 #: cli/app/upgrade.go:356 cli/app/upgrade.go:395
#, c-format #, c-format
msgid "parsing recipe version failed: %s" msgid "parsing recipe version failed: %s"
msgstr "" msgstr ""
@ -4079,8 +4079,8 @@ msgstr ""
msgid "pattern" msgid "pattern"
msgstr "" msgstr ""
#: cli/app/deploy.go:405 cli/app/env.go:327 cli/app/remove.go:165 #: cli/app/deploy.go:406 cli/app/env.go:327 cli/app/remove.go:165
#: cli/app/rollback.go:354 cli/app/upgrade.go:463 cli/app/volume.go:219 #: cli/app/rollback.go:355 cli/app/upgrade.go:464 cli/app/volume.go:219
msgid "perform action without further prompt" msgid "perform action without further prompt"
msgstr "" msgstr ""
@ -4095,27 +4095,27 @@ 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:266 #: cli/app/rollback.go:267
#, c-format #, c-format
msgid "please select a downgrade (version: %s):" msgid "please select a downgrade (version: %s):"
msgstr "" msgstr ""
#: cli/app/rollback.go:271 #: cli/app/rollback.go:272
#, 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:311 #: cli/app/upgrade.go:312
#, c-format #, c-format
msgid "please select an upgrade (version: %s):" msgid "please select an upgrade (version: %s):"
msgstr "" msgstr ""
#: cli/app/upgrade.go:316 #: cli/app/upgrade.go:317
#, c-format #, c-format
msgid "please select an upgrade (version: %s, chaos: %s):" msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:576 #: pkg/upstream/stack/stack.go:587
msgid "polling deployment status" msgid "polling deployment status"
msgstr "" msgstr ""
@ -4206,7 +4206,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:300 cli/app/move.go:350 #: cli/app/backup.go:327 cli/app/list.go:300 cli/app/move.go:350
#: cli/app/run.go:23 cli/app/upgrade.go:485 cli/catalogue/catalogue.go:302 #: cli/app/run.go:23 cli/app/upgrade.go:486 cli/catalogue/catalogue.go:302
#: cli/recipe/recipe.go:12 cli/recipe/release.go:649 cli/recipe/sync.go:272 #: cli/recipe/recipe.go:12 cli/recipe/release.go:649 cli/recipe/sync.go:272
msgid "r" msgid "r"
msgstr "" msgstr ""
@ -4325,7 +4325,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:484 #: cli/app/upgrade.go:485
msgid "releasenotes" msgid "releasenotes"
msgstr "" msgstr ""
@ -4492,7 +4492,7 @@ msgstr ""
msgid "restart <domain> [[service] | --all-services] [flags]" msgid "restart <domain> [[service] | --all-services] [flags]"
msgstr "reiniciar <domain> [[service] | --all-services] [flags]" msgstr "reiniciar <domain> [[service] | --all-services] [flags]"
#: cli/app/restart.go:171 #: cli/app/restart.go:172
msgid "restart all services" msgid "restart all services"
msgstr "" msgstr ""
@ -4557,7 +4557,7 @@ msgstr ""
msgid "retrieved versions from local recipe repository" msgid "retrieved versions from local recipe repository"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:464 #: pkg/upstream/stack/stack.go:468
#, c-format #, c-format
msgid "retrieving docker auth token: failed create docker cli: %s" msgid "retrieving docker auth token: failed create docker cli: %s"
msgstr "" msgstr ""
@ -4631,7 +4631,7 @@ msgstr ""
msgid "run command locally" msgid "run command locally"
msgstr "" msgstr ""
#: cli/app/deploy.go:270 cli/app/upgrade.go:292 #: cli/app/deploy.go:271 cli/app/upgrade.go:293
#, c-format #, c-format
msgid "run the following post-deploy commands: %s" msgid "run the following post-deploy commands: %s"
msgstr "" msgstr ""
@ -4720,12 +4720,12 @@ msgstr ""
msgid "secret not found: %s" msgid "secret not found: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:339 #: cli/app/deploy.go:340
#, c-format #, c-format
msgid "secret not generated: %s" msgid "secret not generated: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:337 #: cli/app/deploy.go:338
#, c-format #, c-format
msgid "secret not inserted (#generate=false): %s" msgid "secret not inserted (#generate=false): %s"
msgstr "" msgstr ""
@ -4774,11 +4774,21 @@ msgstr ""
msgid "server doesn't exist?" msgid "server doesn't exist?"
msgstr "" msgstr ""
#: pkg/client/client.go:48 #: pkg/client/client.go:54
#, c-format
msgid "server missing context, context creation failed: %s"
msgstr ""
#: pkg/client/client.go:59
#, c-format #, c-format
msgid "server missing context, run \"abra server add %s\"?" msgid "server missing context, run \"abra server add %s\"?"
msgstr "" msgstr ""
#: pkg/client/client.go:48
#, c-format
msgid "server missing, run \"abra server add %s\"?"
msgstr ""
#: cli/server/add.go:148 #: cli/server/add.go:148
#, c-format #, c-format
msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup" msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup"
@ -4851,7 +4861,7 @@ msgstr ""
msgid "severity" msgid "severity"
msgstr "" msgstr ""
#: cli/app/deploy.go:437 cli/app/rollback.go:378 cli/app/upgrade.go:495 #: cli/app/deploy.go:438 cli/app/rollback.go:379 cli/app/upgrade.go:496
msgid "show all configs & images, including unchanged ones" msgid "show all configs & images, including unchanged ones"
msgstr "" msgstr ""
@ -4875,7 +4885,7 @@ msgstr ""
msgid "show debug messages" msgid "show debug messages"
msgstr "" msgstr ""
#: cli/app/deploy.go:434 cli/app/rollback.go:375 cli/app/upgrade.go:492 #: cli/app/deploy.go:435 cli/app/rollback.go:376 cli/app/upgrade.go:493
msgid "show-unchanged" msgid "show-unchanged"
msgstr "" msgstr ""
@ -4919,7 +4929,7 @@ msgstr ""
msgid "skipping as requested, undeploy still in progress 🟠" msgid "skipping as requested, undeploy still in progress 🟠"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:306 #: pkg/upstream/stack/stack.go:309
msgid "skipping converge logic checks" msgid "skipping converge logic checks"
msgstr "" msgstr ""
@ -4941,12 +4951,12 @@ msgstr ""
msgid "skipping secret (because it already exists) on %s: %s" msgid "skipping secret (because it already exists) on %s: %s"
msgstr "" msgstr ""
#: pkg/app/app.go:692 #: pkg/app/app.go:697
#, c-format #, c-format
msgid "skipping version %s write as already exists in %s.env" msgid "skipping version %s write as already exists in %s.env"
msgstr "" msgstr ""
#: pkg/app/app.go:686 #: pkg/app/app.go:691
#, c-format #, c-format
msgid "skipping writing version %s because dry run" msgid "skipping writing version %s because dry run"
msgstr "" msgstr ""
@ -5054,12 +5064,12 @@ msgstr ""
msgid "successfully created %s" msgid "successfully created %s"
msgstr "" msgstr ""
#: pkg/client/client.go:111 #: pkg/client/client.go:120
#, c-format #, c-format
msgid "swarm mode not enabled on %s?" msgid "swarm mode not enabled on %s?"
msgstr "" msgstr ""
#: pkg/client/client.go:114 #: pkg/client/client.go:123
msgid "swarm mode not enabled on local server?" msgid "swarm mode not enabled on local server?"
msgstr "" msgstr ""
@ -5136,7 +5146,7 @@ msgstr ""
msgid "timeout label: %s" msgid "timeout label: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/remove.go:29 pkg/upstream/stack/stack.go:209 #: pkg/upstream/stack/remove.go:29 pkg/upstream/stack/stack.go:210
#, c-format #, c-format
msgid "timeout: set to %d second(s)" msgid "timeout: set to %d second(s)"
msgstr "" msgstr ""
@ -5565,11 +5575,6 @@ msgstr ""
msgid "unknown server %s, run \"abra server add %s\"?" msgid "unknown server %s, run \"abra server add %s\"?"
msgstr "" msgstr ""
#: pkg/client/client.go:51
#, c-format
msgid "unknown server, run \"abra server add %s\"?"
msgstr ""
#: cli/app/cp.go:259 #: cli/app/cp.go:259
#, c-format #, c-format
msgid "untar: %s" msgid "untar: %s"
@ -5581,7 +5586,7 @@ msgstr ""
msgid "up" msgid "up"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:473 #: pkg/upstream/stack/stack.go:477
#, c-format #, c-format
msgid "updating %s" msgid "updating %s"
msgstr "" msgstr ""
@ -5694,7 +5699,7 @@ msgstr ""
msgid "version" msgid "version"
msgstr "" msgstr ""
#: pkg/app/app.go:690 #: pkg/app/app.go:695
#, c-format #, c-format
msgid "version %s saved to %s.env" msgid "version %s saved to %s.env"
msgstr "" msgstr ""
@ -5713,6 +5718,10 @@ msgstr ""
msgid "version for abra" msgid "version for abra"
msgstr "" msgstr ""
#: pkg/app/app.go:637
msgid "version is unknown, skipping env write"
msgstr ""
#: pkg/recipe/recipe.go:130 #: pkg/recipe/recipe.go:130
#, c-format #, c-format
msgid "version seems invalid: %s" msgid "version seems invalid: %s"
@ -5723,27 +5732,27 @@ msgstr ""
msgid "version wiped from %s.env" msgid "version wiped from %s.env"
msgstr "" msgstr ""
#: cli/app/deploy.go:353 #: cli/app/deploy.go:354
#, c-format #, c-format
msgid "version: taking chaos version: %s" msgid "version: taking chaos version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:379 #: cli/app/deploy.go:380
#, c-format #, c-format
msgid "version: taking deployed version: %s" msgid "version: taking deployed version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:384 #: cli/app/deploy.go:385
#, c-format #, c-format
msgid "version: taking new recipe version: %s" msgid "version: taking new recipe version: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:373 #: cli/app/deploy.go:374
#, c-format #, c-format
msgid "version: taking version from .env file: %s" msgid "version: taking version from .env file: %s"
msgstr "" msgstr ""
#: cli/app/deploy.go:359 #: cli/app/deploy.go:360
#, c-format #, c-format
msgid "version: taking version from cli arg: %s" msgid "version: taking version from cli arg: %s"
msgstr "" msgstr ""
@ -5803,22 +5812,22 @@ msgstr ""
msgid "volumes pruned: %d; space reclaimed: %s" msgid "volumes pruned: %d; space reclaimed: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:614 #: pkg/upstream/stack/stack.go:625
#, c-format #, c-format
msgid "waitOnServices: error creating log dir: %s" msgid "waitOnServices: error creating log dir: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:619 #: pkg/upstream/stack/stack.go:630
#, c-format #, c-format
msgid "waitOnServices: error opening file: %s" msgid "waitOnServices: error opening file: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:585 #: pkg/upstream/stack/stack.go:596
#, c-format #, c-format
msgid "waitOnServices: error running TUI: %s" msgid "waitOnServices: error running TUI: %s"
msgstr "" msgstr ""
#: pkg/upstream/stack/stack.go:625 #: pkg/upstream/stack/stack.go:636
#, c-format #, c-format
msgid "waitOnServices: writeFile: %s" msgid "waitOnServices: writeFile: %s"
msgstr "" msgstr ""
@ -5869,8 +5878,8 @@ msgstr ""
msgid "writer: %v, " msgid "writer: %v, "
msgstr "" msgstr ""
#: cli/app/deploy.go:277 cli/app/new.go:241 cli/app/rollback.go:255 #: cli/app/deploy.go:278 cli/app/new.go:241 cli/app/rollback.go:256
#: cli/app/undeploy.go:120 cli/app/upgrade.go:300 #: cli/app/undeploy.go:120 cli/app/upgrade.go:301
#, c-format #, c-format
msgid "writing recipe version failed: %s" msgid "writing recipe version failed: %s"
msgstr "" msgstr ""

View File

@ -201,6 +201,7 @@ func RunDeploy(
appName string, appName string,
serverName string, serverName string,
dontWait bool, dontWait bool,
noInput bool,
filters filters.Args, filters filters.Args,
) error { ) error {
log.Info(i18n.G("initialising deployment")) log.Info(i18n.G("initialising deployment"))
@ -226,6 +227,7 @@ func RunDeploy(
appName, appName,
serverName, serverName,
dontWait, dontWait,
noInput,
filters, filters,
) )
} }
@ -248,6 +250,7 @@ func deployCompose(
appName string, appName string,
serverName string, serverName string,
dontWait bool, dontWait bool,
noInput bool,
filters filters.Args, filters filters.Args,
) error { ) error {
namespace := convert.NewNamespace(opts.Namespace) namespace := convert.NewNamespace(opts.Namespace)
@ -311,6 +314,7 @@ func deployCompose(
Services: serviceIDs, Services: serviceIDs,
AppName: appName, AppName: appName,
ServerName: serverName, ServerName: serverName,
NoInput: noInput,
Filters: filters, Filters: filters,
} }
@ -561,6 +565,7 @@ func timestamp() string {
type WaitOpts struct { type WaitOpts struct {
AppName string AppName string
Filters filters.Args Filters filters.Args
NoInput bool
NoLog bool NoLog bool
Quiet bool Quiet bool
ServerName string ServerName string
@ -570,7 +575,13 @@ type WaitOpts struct {
func WaitOnServices(ctx context.Context, cl *dockerClient.Client, opts WaitOpts) error { func WaitOnServices(ctx context.Context, cl *dockerClient.Client, opts WaitOpts) error {
timeout := time.Duration(WaitTimeout) * time.Second timeout := time.Duration(WaitTimeout) * time.Second
model := ui.DeployInitialModel(ctx, cl, opts.Services, opts.AppName, timeout, opts.Filters) model := ui.DeployInitialModel(ctx, cl, opts.Services, opts.AppName, timeout, opts.Filters)
tui := tea.NewProgram(model)
var tui *tea.Program
if opts.NoInput {
tui = tea.NewProgram(model, tea.WithoutRenderer(), tea.WithInput(nil))
} else {
tui = tea.NewProgram(model)
}
if !opts.Quiet { if !opts.Quiet {
log.Info(i18n.G("polling deployment status")) log.Info(i18n.G("polling deployment status"))

View File

@ -14,15 +14,15 @@ done
function show_banner { function show_banner {
echo "" echo ""
echo " ____ ____ _ _ " echo " ____ ____ _ _ "
echo " / ___|___ ___ _ __ / ___| | ___ _ _ __| |" echo " / ___|___ ___ _ __ / ___| | ___ _ _ __| |"
echo " | | / _ \ _____ / _ \| '_ \ | | | |/ _ \| | | |/ _' |" echo " | | / _ \ ___ / _ \| '_ \ | | | |/ _ \| | | |/ _' |"
echo " | |__| (_) |_____| (_) | |_) | | |___| | (_) | |_| | (_| |" echo " | |__| (_) |___| (_) | |_) | | |___| | (_) | |_| | (_| |"
echo " \____\___/ \___/| .__/ \____|_|\___/ \__,_|\__,_|" echo " \____\___/ \___/| .__/ \____|_|\___/ \__,_|\__,_|"
echo " |_|" echo " |_|"
echo "" echo ""
echo "" echo ""
echo " === Public interest infrastructure === " echo " === Public interest infrastructure === "
echo "" echo ""
echo "" echo ""
} }

View File

@ -577,18 +577,3 @@ teardown(){
assert_success assert_success
refute_output --partial "IMAGES" refute_output --partial "IMAGES"
} }
# bats test_tags=slow
@test "manually created server without context bails gracefully" {
run mkdir -p "$ABRA_DIR/servers/default2"
assert_success
assert_exists "$ABRA_DIR/servers/default2"
run cp "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env" "$ABRA_DIR/servers/default2/$TEST_APP_DOMAIN_2.env"
assert_success
assert_exists "$ABRA_DIR/servers/default2/$TEST_APP_DOMAIN_2.env"
run $ABRA app deploy "$TEST_APP_DOMAIN_2" --no-input --no-converge-checks
assert_failure
assert_output --partial "server missing context"
}

View File

@ -160,23 +160,6 @@ teardown(){
assert_not_exists "$ABRA_DIR/servers/foo.com" assert_not_exists "$ABRA_DIR/servers/foo.com"
} }
@test "list with status skips unknown servers" {
if [[ ! -d "$ABRA_DIR/servers/foo" ]]; then
run mkdir -p "$ABRA_DIR/servers/foo"
assert_success
assert_exists "$ABRA_DIR/servers/foo"
run cp "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env" \
"$ABRA_DIR/servers/foo/$TEST_APP_DOMAIN.env"
assert_success
assert_exists "$ABRA_DIR/servers/foo/$TEST_APP_DOMAIN.env"
fi
run $ABRA app ls --status
assert_success
assert_output --partial "server missing context"
}
# bats test_tags=slow # bats test_tags=slow
@test "list does not fail if missing .env" { @test "list does not fail if missing .env" {
_deploy_app _deploy_app