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.Server,
internal.DontWaitConverge,
internal.NoInput,
f,
); err != nil {
log.Fatal(err)

View File

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

View File

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

View File

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

View File

@ -633,6 +633,11 @@ func (a App) WipeRecipeVersion() error {
// WriteRecipeVersion writes the recipe version to the app .env file.
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)
if err != nil {
return err

View File

@ -224,3 +224,16 @@ func TestWriteRecipeVersionOverwrite(t *testing.T) {
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
// 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.
// 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) {
var clientOpts []client.Opt
ctx, err := GetContext(serverName)
if err != nil {
serverDir := path.Join(config.SERVERS_DIR, serverName)
if _, err := os.Stat(serverDir); err == nil {
return nil, errors.New(i18n.G("server missing context, run \"abra server add %s\"?", serverName))
if _, err := os.Stat(serverDir); err != nil {
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)

View File

@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: \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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -274,12 +274,12 @@ msgstr ""
msgid "%s has been detected as not deployed"
msgstr ""
#: ./cli/app/restart.go:139
#: ./cli/app/restart.go:140
#, c-format
msgid "%s has been scaled to 0"
msgstr ""
#: ./cli/app/restart.go:150
#: ./cli/app/restart.go:151
#, c-format
msgid "%s has been scaled to 1"
msgstr ""
@ -339,17 +339,17 @@ msgstr ""
msgid "%s is missing the TYPE env var?"
msgstr ""
#: ./cli/app/rollback.go:308 ./cli/app/rollback.go:312
#: ./cli/app/rollback.go:309 ./cli/app/rollback.go:313
#, c-format
msgid "%s is not a downgrade for %s?"
msgstr ""
#: ./cli/app/upgrade.go:428 ./cli/app/upgrade.go:432
#: ./cli/app/upgrade.go:429 ./cli/app/upgrade.go:433
#, c-format
msgid "%s is not an upgrade for %s?"
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
msgid "%s is not deployed?"
msgstr ""
@ -424,7 +424,7 @@ msgstr ""
msgid "%s service is missing image tag?"
msgstr ""
#: ./cli/app/restart.go:151
#: ./cli/app/restart.go:152
#, c-format
msgid "%s service successfully restarted"
msgstr ""
@ -459,7 +459,7 @@ msgstr ""
msgid "%s/example.git"
msgstr ""
#: ./pkg/upstream/stack/stack.go:602
#: ./pkg/upstream/stack/stack.go:613
#, c-format
msgid "%s: %s"
msgstr ""
@ -549,12 +549,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry"
msgstr ""
#: ./cli/app/upgrade.go:423
#: ./cli/app/upgrade.go:424
#, c-format
msgid "'%s' is not a known version"
msgstr ""
#: ./cli/app/rollback.go:303 ./cli/app/upgrade.go:418
#: ./cli/app/rollback.go:304 ./cli/app/upgrade.go:419
#, c-format
msgid "'%s' is not a known version for %s"
msgstr ""
@ -621,7 +621,7 @@ msgstr ""
msgid "Both local recipe and live deployment labels are shown."
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"
msgstr ""
@ -762,7 +762,7 @@ msgid "Creates a new app from a default recipe.\n"
"on your $PATH."
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"
msgstr ""
@ -1469,7 +1469,7 @@ msgid "To load completions:\n"
" # and source this file from your PowerShell profile."
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"
msgstr ""
@ -1676,7 +1676,7 @@ msgctxt "app backup list"
msgid "a"
msgstr ""
#: ./cli/app/restart.go:169
#: ./cli/app/restart.go:170
msgctxt "app restart"
msgid "a"
msgstr ""
@ -1785,7 +1785,7 @@ msgstr ""
msgid "all tasks reached terminal state"
msgstr ""
#: ./cli/app/restart.go:168
#: ./cli/app/restart.go:169
msgid "all-services"
msgstr ""
@ -1844,7 +1844,7 @@ msgstr ""
msgid "attempting to run %s"
msgstr ""
#: ./cli/app/deploy.go:272 ./cli/app/upgrade.go:295
#: ./cli/app/deploy.go:273 ./cli/app/upgrade.go:296
#, c-format
msgid "attempting to run post deploy commands, saw: %s"
msgstr ""
@ -1854,7 +1854,7 @@ msgstr ""
msgid "attempting to scale %s to 0"
msgstr ""
#: ./cli/app/restart.go:140
#: ./cli/app/restart.go:141
#, c-format
msgid "attempting to scale %s to 1"
msgstr ""
@ -1924,7 +1924,7 @@ msgstr ""
#. no spaces in between
#. translators: `abra app cp` aliases. use a comma separated list of aliases with
#. 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"
msgstr ""
@ -1965,7 +1965,7 @@ msgstr ""
msgid "cannot find app with name %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:657
#: ./pkg/upstream/stack/stack.go:668
#, c-format
msgid "cannot get label %s for %s"
msgstr ""
@ -1980,7 +1980,7 @@ msgstr ""
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr ""
#: ./cli/app/deploy.go:369
#: ./cli/app/deploy.go:370
#, 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\""
@ -1999,7 +1999,7 @@ msgstr ""
msgid "cannot use '[secret] [version]' and '--all' together"
msgstr ""
#: ./cli/app/deploy.go:311
#: ./cli/app/deploy.go:312
msgid "cannot use --chaos and --latest together"
msgstr ""
@ -2023,11 +2023,11 @@ msgstr ""
msgid "cannot use [service] and --all-services/-a together"
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"
msgstr ""
#: ./cli/app/deploy.go:307
#: ./cli/app/deploy.go:308
msgid "cannot use [version] and --latest together"
msgstr ""
@ -2059,7 +2059,7 @@ msgstr ""
msgid "cfg"
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"
msgstr ""
@ -2068,7 +2068,7 @@ msgstr ""
msgid "check <domain> [flags]"
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
msgid "checking whether %s is already deployed"
msgstr ""
@ -2291,7 +2291,7 @@ msgstr ""
msgid "create remote directory: %s"
msgstr ""
#: ./pkg/client/client.go:102
#: ./pkg/client/client.go:111
#, c-format
msgid "created client for %s"
msgstr ""
@ -2311,7 +2311,7 @@ msgstr ""
msgid "created the %s context"
msgstr ""
#: ./pkg/upstream/stack/stack.go:520
#: ./pkg/upstream/stack/stack.go:524
#, c-format
msgid "creating %s"
msgstr ""
@ -2326,12 +2326,12 @@ msgstr ""
msgid "creating context with domain %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:422
#: ./pkg/upstream/stack/stack.go:426
#, c-format
msgid "creating network %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:369
#: ./pkg/upstream/stack/stack.go:373
#, c-format
msgid "creating secret %s"
msgstr ""
@ -2350,7 +2350,7 @@ msgstr ""
msgid "critical errors present in %s config"
msgstr ""
#: ./cli/app/rollback.go:298
#: ./cli/app/rollback.go:299
#, c-format
msgid "current deployment '%s' is not a known version for %s"
msgstr ""
@ -2390,11 +2390,11 @@ msgstr ""
msgid "deploy <domain> [version] [flags]"
msgstr ""
#: ./pkg/upstream/stack/stack.go:593
#: ./pkg/upstream/stack/stack.go:604
msgid "deploy failed 🛑"
msgstr ""
#: ./pkg/upstream/stack/stack.go:597
#: ./pkg/upstream/stack/stack.go:608
msgid "deploy in progress 🟠"
msgstr ""
@ -2402,15 +2402,15 @@ msgstr ""
msgid "deploy labels stanza present"
msgstr ""
#: ./cli/app/deploy.go:429
#: ./cli/app/deploy.go:430
msgid "deploy latest recipe version"
msgstr ""
#: ./pkg/upstream/stack/stack.go:637
#: ./pkg/upstream/stack/stack.go:648
msgid "deploy succeeded 🟢"
msgstr ""
#: ./pkg/upstream/stack/stack.go:595
#: ./pkg/upstream/stack/stack.go:606
msgid "deploy timed out 🟠"
msgstr ""
@ -2504,11 +2504,11 @@ msgstr ""
msgid "dirty: %v, "
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"
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"
msgstr ""
@ -2726,7 +2726,7 @@ msgstr ""
#. translators: `abra recipe fetch` aliases. use a comma separated list of aliases
#. 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"
msgstr ""
@ -2760,22 +2760,22 @@ msgstr ""
msgid "failed to copy %s from local machine to %s: output:%s err:%s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:531
#: ./pkg/upstream/stack/stack.go:535
#, c-format
msgid "failed to create %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:393
#: ./pkg/upstream/stack/stack.go:397
#, c-format
msgid "failed to create config %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:424
#: ./pkg/upstream/stack/stack.go:428
#, c-format
msgid "failed to create network %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:371
#: ./pkg/upstream/stack/stack.go:375
#, c-format
msgid "failed to create secret %s"
msgstr ""
@ -2872,7 +2872,7 @@ msgstr ""
msgid "failed to retrieve latest commit for %s: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:468
#: ./pkg/upstream/stack/stack.go:472
#, c-format
msgid "failed to retrieve registry auth for image %s: %s"
msgstr ""
@ -2892,17 +2892,17 @@ msgstr ""
msgid "failed to tag release: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:508
#: ./pkg/upstream/stack/stack.go:512
#, c-format
msgid "failed to update %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:387
#: ./pkg/upstream/stack/stack.go:391
#, c-format
msgid "failed to update config %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:365
#: ./pkg/upstream/stack/stack.go:369
#, c-format
msgid "failed to update secret %s"
msgstr ""
@ -2957,7 +2957,7 @@ msgstr ""
msgid "final merged env values for %s are: %s"
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"
msgstr ""
@ -3171,7 +3171,7 @@ msgstr ""
msgid "id: %s, "
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"
msgstr ""
@ -3282,7 +3282,7 @@ msgstr ""
msgid "initialised new git repo in %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:206
#: ./pkg/upstream/stack/stack.go:207
msgid "initialising deployment"
msgstr ""
@ -3346,7 +3346,7 @@ msgstr ""
msgid "invalid npipe source, source cannot be empty"
msgstr ""
#: ./pkg/upstream/stack/stack.go:239
#: ./pkg/upstream/stack/stack.go:241
#, c-format
msgid "invalid option %s for flag --resolve-image"
msgstr ""
@ -3369,7 +3369,7 @@ msgstr ""
#. no spaces in between
#. translators: `abra recipe lint` aliases. use a comma separated list of
#. 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"
msgstr ""
@ -3384,7 +3384,7 @@ msgstr ""
msgid "labels <domain> [flags]"
msgstr ""
#: ./cli/app/deploy.go:426 ./cli/app/list.go:182
#: ./cli/app/deploy.go:427 ./cli/app/list.go:182
msgid "latest"
msgstr ""
@ -3473,12 +3473,12 @@ msgstr ""
msgid "logs <domain> [service] [flags]"
msgstr ""
#: ./pkg/upstream/stack/stack.go:628
#: ./pkg/upstream/stack/stack.go:639
#, c-format
msgid "logs: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:630
#: ./pkg/upstream/stack/stack.go:641
msgid "logs: no log output received from deployment"
msgstr ""
@ -3614,12 +3614,12 @@ msgstr ""
msgid "need 3 or 4 arguments"
msgstr ""
#: ./pkg/upstream/stack/stack.go:348
#: ./pkg/upstream/stack/stack.go:352
#, 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"
msgstr ""
#: ./pkg/upstream/stack/stack.go:352
#: ./pkg/upstream/stack/stack.go:356
#, c-format
msgid "network %q is declared as external, but it is not in the right scope: %q instead of \"swarm\""
msgstr ""
@ -3842,11 +3842,11 @@ msgstr ""
msgid "no volumes to remove"
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"
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"
msgstr ""
@ -3902,7 +3902,7 @@ msgstr ""
msgid "only show errors"
msgstr ""
#: ./cli/app/upgrade.go:487
#: ./cli/app/upgrade.go:488
msgid "only show release notes"
msgstr ""
@ -3933,22 +3933,22 @@ msgstr ""
msgid "parsed following command arguments: %s"
msgstr ""
#: ./cli/app/upgrade.go:344
#: ./cli/app/upgrade.go:345
#, c-format
msgid "parsing chosen upgrade version failed: %s"
msgstr ""
#: ./cli/app/upgrade.go:388
#: ./cli/app/upgrade.go:389
#, c-format
msgid "parsing deployed version failed: %s"
msgstr ""
#: ./cli/app/upgrade.go:349
#: ./cli/app/upgrade.go:350
#, c-format
msgid "parsing deployment version failed: %s"
msgstr ""
#: ./cli/app/upgrade.go:355 ./cli/app/upgrade.go:394
#: ./cli/app/upgrade.go:356 ./cli/app/upgrade.go:395
#, c-format
msgid "parsing recipe version failed: %s"
msgstr ""
@ -3973,7 +3973,7 @@ msgstr ""
msgid "pattern"
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"
msgstr ""
@ -3988,27 +3988,27 @@ msgstr ""
msgid "please fix your synced label for %s and re-run this command"
msgstr ""
#: ./cli/app/rollback.go:266
#: ./cli/app/rollback.go:267
#, c-format
msgid "please select a downgrade (version: %s):"
msgstr ""
#: ./cli/app/rollback.go:271
#: ./cli/app/rollback.go:272
#, c-format
msgid "please select a downgrade (version: %s, chaos: %s):"
msgstr ""
#: ./cli/app/upgrade.go:311
#: ./cli/app/upgrade.go:312
#, c-format
msgid "please select an upgrade (version: %s):"
msgstr ""
#: ./cli/app/upgrade.go:316
#: ./cli/app/upgrade.go:317
#, c-format
msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr ""
#: ./pkg/upstream/stack/stack.go:576
#: ./pkg/upstream/stack/stack.go:587
msgid "polling deployment status"
msgstr ""
@ -4094,7 +4094,7 @@ msgstr ""
#. with no spaces in between
#. translators: `abra recipe` aliases. use a comma separated list of aliases
#. 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"
msgstr ""
@ -4210,7 +4210,7 @@ msgstr ""
msgid "release <recipe> [version] [flags]"
msgstr ""
#: ./cli/app/upgrade.go:484
#: ./cli/app/upgrade.go:485
msgid "releasenotes"
msgstr ""
@ -4376,7 +4376,7 @@ msgstr ""
msgid "restart <domain> [[service] | --all-services] [flags]"
msgstr ""
#: ./cli/app/restart.go:171
#: ./cli/app/restart.go:172
msgid "restart all services"
msgstr ""
@ -4441,7 +4441,7 @@ msgstr ""
msgid "retrieved versions from local recipe repository"
msgstr ""
#: ./pkg/upstream/stack/stack.go:464
#: ./pkg/upstream/stack/stack.go:468
#, c-format
msgid "retrieving docker auth token: failed create docker cli: %s"
msgstr ""
@ -4514,7 +4514,7 @@ msgstr ""
msgid "run command locally"
msgstr ""
#: ./cli/app/deploy.go:270 ./cli/app/upgrade.go:292
#: ./cli/app/deploy.go:271 ./cli/app/upgrade.go:293
#, c-format
msgid "run the following post-deploy commands: %s"
msgstr ""
@ -4599,12 +4599,12 @@ msgstr ""
msgid "secret not found: %s"
msgstr ""
#: ./cli/app/deploy.go:339
#: ./cli/app/deploy.go:340
#, c-format
msgid "secret not generated: %s"
msgstr ""
#: ./cli/app/deploy.go:337
#: ./cli/app/deploy.go:338
#, c-format
msgid "secret not inserted (#generate=false): %s"
msgstr ""
@ -4651,11 +4651,21 @@ msgstr ""
msgid "server doesn't exist?"
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
msgid "server missing context, run \"abra server add %s\"?"
msgstr ""
#: ./pkg/client/client.go:48
#, c-format
msgid "server missing, run \"abra server add %s\"?"
msgstr ""
#: ./cli/server/add.go:148
#, c-format
msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup"
@ -4728,7 +4738,7 @@ msgstr ""
msgid "severity"
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"
msgstr ""
@ -4752,7 +4762,7 @@ msgstr ""
msgid "show debug messages"
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"
msgstr ""
@ -4796,7 +4806,7 @@ msgstr ""
msgid "skipping as requested, undeploy still in progress 🟠"
msgstr ""
#: ./pkg/upstream/stack/stack.go:306
#: ./pkg/upstream/stack/stack.go:309
msgid "skipping converge logic checks"
msgstr ""
@ -4818,12 +4828,12 @@ msgstr ""
msgid "skipping secret (because it already exists) on %s: %s"
msgstr ""
#: ./pkg/app/app.go:692
#: ./pkg/app/app.go:697
#, c-format
msgid "skipping version %s write as already exists in %s.env"
msgstr ""
#: ./pkg/app/app.go:686
#: ./pkg/app/app.go:691
#, c-format
msgid "skipping writing version %s because dry run"
msgstr ""
@ -4931,12 +4941,12 @@ msgstr ""
msgid "successfully created %s"
msgstr ""
#: ./pkg/client/client.go:111
#: ./pkg/client/client.go:120
#, c-format
msgid "swarm mode not enabled on %s?"
msgstr ""
#: ./pkg/client/client.go:114
#: ./pkg/client/client.go:123
msgid "swarm mode not enabled on local server?"
msgstr ""
@ -5012,7 +5022,7 @@ msgstr ""
msgid "timeout label: %s"
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
msgid "timeout: set to %d second(s)"
msgstr ""
@ -5435,11 +5445,6 @@ msgstr ""
msgid "unknown server %s, run \"abra server add %s\"?"
msgstr ""
#: ./pkg/client/client.go:51
#, c-format
msgid "unknown server, run \"abra server add %s\"?"
msgstr ""
#: ./cli/app/cp.go:259
#, c-format
msgid "untar: %s"
@ -5451,7 +5456,7 @@ msgstr ""
msgid "up"
msgstr ""
#: ./pkg/upstream/stack/stack.go:473
#: ./pkg/upstream/stack/stack.go:477
#, c-format
msgid "updating %s"
msgstr ""
@ -5563,7 +5568,7 @@ msgstr ""
msgid "version"
msgstr ""
#: ./pkg/app/app.go:690
#: ./pkg/app/app.go:695
#, c-format
msgid "version %s saved to %s.env"
msgstr ""
@ -5582,6 +5587,10 @@ msgstr ""
msgid "version for abra"
msgstr ""
#: ./pkg/app/app.go:637
msgid "version is unknown, skipping env write"
msgstr ""
#: ./pkg/recipe/recipe.go:130
#, c-format
msgid "version seems invalid: %s"
@ -5592,27 +5601,27 @@ msgstr ""
msgid "version wiped from %s.env"
msgstr ""
#: ./cli/app/deploy.go:353
#: ./cli/app/deploy.go:354
#, c-format
msgid "version: taking chaos version: %s"
msgstr ""
#: ./cli/app/deploy.go:379
#: ./cli/app/deploy.go:380
#, c-format
msgid "version: taking deployed version: %s"
msgstr ""
#: ./cli/app/deploy.go:384
#: ./cli/app/deploy.go:385
#, c-format
msgid "version: taking new recipe version: %s"
msgstr ""
#: ./cli/app/deploy.go:373
#: ./cli/app/deploy.go:374
#, c-format
msgid "version: taking version from .env file: %s"
msgstr ""
#: ./cli/app/deploy.go:359
#: ./cli/app/deploy.go:360
#, c-format
msgid "version: taking version from cli arg: %s"
msgstr ""
@ -5672,22 +5681,22 @@ msgstr ""
msgid "volumes pruned: %d; space reclaimed: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:614
#: ./pkg/upstream/stack/stack.go:625
#, c-format
msgid "waitOnServices: error creating log dir: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:619
#: ./pkg/upstream/stack/stack.go:630
#, c-format
msgid "waitOnServices: error opening file: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:585
#: ./pkg/upstream/stack/stack.go:596
#, c-format
msgid "waitOnServices: error running TUI: %s"
msgstr ""
#: ./pkg/upstream/stack/stack.go:625
#: ./pkg/upstream/stack/stack.go:636
#, c-format
msgid "waitOnServices: writeFile: %s"
msgstr ""
@ -5735,7 +5744,7 @@ msgstr ""
msgid "writer: %v, "
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
msgid "writing recipe version failed: %s"
msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \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"
"Last-Translator: chasqui <chasqui@cryptolab.net>\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"
msgstr ""
#: cli/app/restart.go:139
#: cli/app/restart.go:140
#, c-format
msgid "%s has been scaled to 0"
msgstr ""
#: cli/app/restart.go:150
#: cli/app/restart.go:151
#, c-format
msgid "%s has been scaled to 1"
msgstr ""
@ -350,19 +350,19 @@ msgstr ""
msgid "%s is missing the TYPE env var?"
msgstr ""
#: cli/app/rollback.go:308 cli/app/rollback.go:312
#: cli/app/rollback.go:309 cli/app/rollback.go:313
#, c-format
msgid "%s is not a downgrade for %s?"
msgstr ""
#: cli/app/upgrade.go:428 cli/app/upgrade.go:432
#: cli/app/upgrade.go:429 cli/app/upgrade.go:433
#, c-format
msgid "%s is not an upgrade for %s?"
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/upgrade.go:450
#, c-format
msgid "%s is not deployed?"
msgstr ""
@ -437,7 +437,7 @@ msgstr ""
msgid "%s service is missing image tag?"
msgstr ""
#: cli/app/restart.go:151
#: cli/app/restart.go:152
#, c-format
msgid "%s service successfully restarted"
msgstr ""
@ -472,7 +472,7 @@ msgstr ""
msgid "%s/example.git"
msgstr ""
#: pkg/upstream/stack/stack.go:602
#: pkg/upstream/stack/stack.go:613
#, c-format
msgid "%s: %s"
msgstr ""
@ -562,12 +562,12 @@ msgstr ""
msgid "%s: waiting %d seconds before next retry"
msgstr ""
#: cli/app/upgrade.go:423
#: cli/app/upgrade.go:424
#, c-format
msgid "'%s' is not a known version"
msgstr ""
#: cli/app/rollback.go:303 cli/app/upgrade.go:418
#: cli/app/rollback.go:304 cli/app/upgrade.go:419
#, c-format
msgid "'%s' is not a known version for %s"
msgstr ""
@ -637,9 +637,9 @@ msgid "Both local recipe and live deployment labels are shown."
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/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: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/catalogue/catalogue.go:318 cli/recipe/lint.go:137
msgid "C"
@ -785,8 +785,8 @@ msgid ""
"on your $PATH."
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"
msgstr ""
@ -1518,7 +1518,7 @@ msgid ""
" # and source this file from your PowerShell profile."
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"
msgstr ""
@ -1734,7 +1734,7 @@ msgctxt "app backup list"
msgid "a"
msgstr ""
#: cli/app/restart.go:169
#: cli/app/restart.go:170
msgctxt "app restart"
msgid "a"
msgstr ""
@ -1844,7 +1844,7 @@ msgstr ""
msgid "all tasks reached terminal state"
msgstr ""
#: cli/app/restart.go:168
#: cli/app/restart.go:169
msgid "all-services"
msgstr ""
@ -1903,7 +1903,7 @@ msgstr ""
msgid "attempting to run %s"
msgstr ""
#: cli/app/deploy.go:272 cli/app/upgrade.go:295
#: cli/app/deploy.go:273 cli/app/upgrade.go:296
#, c-format
msgid "attempting to run post deploy commands, saw: %s"
msgstr ""
@ -1913,7 +1913,7 @@ msgstr ""
msgid "attempting to scale %s to 0"
msgstr ""
#: cli/app/restart.go:140
#: cli/app/restart.go:141
#, c-format
msgid "attempting to scale %s to 1"
msgstr ""
@ -1989,8 +1989,8 @@ msgstr ""
#. no spaces in between
#. translators: `abra app cp` aliases. use a comma separated list of aliases with
#. 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"
msgstr ""
@ -2031,7 +2031,7 @@ msgstr ""
msgid "cannot find app with name %s"
msgstr ""
#: pkg/upstream/stack/stack.go:657
#: pkg/upstream/stack/stack.go:668
#, c-format
msgid "cannot get label %s for %s"
msgstr ""
@ -2046,7 +2046,7 @@ msgstr ""
msgid "cannot redeploy previous chaos version (%s), did you mean to use \"--chaos\"?"
msgstr ""
#: cli/app/deploy.go:369
#: cli/app/deploy.go:370
#, c-format
msgid ""
"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"
msgstr ""
#: cli/app/deploy.go:311
#: cli/app/deploy.go:312
msgid "cannot use --chaos and --latest together"
msgstr ""
@ -2090,11 +2090,11 @@ msgstr ""
msgid "cannot use [service] and --all-services/-a together"
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"
msgstr ""
#: cli/app/deploy.go:307
#: cli/app/deploy.go:308
msgid "cannot use [version] and --latest together"
msgstr ""
@ -2127,9 +2127,9 @@ msgid "cfg"
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/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: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/catalogue/catalogue.go:317 cli/recipe/lint.go:136
msgid "chaos"
@ -2140,7 +2140,7 @@ msgstr ""
msgid "check <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
msgid "checking whether %s is already deployed"
msgstr ""
@ -2363,7 +2363,7 @@ msgstr ""
msgid "create remote directory: %s"
msgstr ""
#: pkg/client/client.go:102
#: pkg/client/client.go:111
#, c-format
msgid "created client for %s"
msgstr ""
@ -2383,7 +2383,7 @@ msgstr ""
msgid "created the %s context"
msgstr ""
#: pkg/upstream/stack/stack.go:520
#: pkg/upstream/stack/stack.go:524
#, c-format
msgid "creating %s"
msgstr ""
@ -2398,12 +2398,12 @@ msgstr ""
msgid "creating context with domain %s"
msgstr ""
#: pkg/upstream/stack/stack.go:422
#: pkg/upstream/stack/stack.go:426
#, c-format
msgid "creating network %s"
msgstr ""
#: pkg/upstream/stack/stack.go:369
#: pkg/upstream/stack/stack.go:373
#, c-format
msgid "creating secret %s"
msgstr ""
@ -2422,7 +2422,7 @@ msgstr ""
msgid "critical errors present in %s config"
msgstr ""
#: cli/app/rollback.go:298
#: cli/app/rollback.go:299
#, c-format
msgid "current deployment '%s' is not a known version for %s"
msgstr ""
@ -2462,11 +2462,11 @@ msgstr ""
msgid "deploy <domain> [version] [flags]"
msgstr "desplegar <domain> [version] [flags]"
#: pkg/upstream/stack/stack.go:593
#: pkg/upstream/stack/stack.go:604
msgid "deploy failed 🛑"
msgstr ""
#: pkg/upstream/stack/stack.go:597
#: pkg/upstream/stack/stack.go:608
msgid "deploy in progress 🟠"
msgstr ""
@ -2474,16 +2474,16 @@ msgstr ""
msgid "deploy labels stanza present"
msgstr ""
#: cli/app/deploy.go:429
#: cli/app/deploy.go:430
#, fuzzy
msgid "deploy latest recipe version"
msgstr "Publicar una nueva versión de una receta"
#: pkg/upstream/stack/stack.go:637
#: pkg/upstream/stack/stack.go:648
msgid "deploy succeeded 🟢"
msgstr ""
#: pkg/upstream/stack/stack.go:595
#: pkg/upstream/stack/stack.go:606
msgid "deploy timed out 🟠"
msgstr ""
@ -2577,11 +2577,11 @@ msgstr ""
msgid "dirty: %v, "
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"
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"
msgstr ""
@ -2803,8 +2803,8 @@ msgstr ""
#. translators: `abra recipe fetch` aliases. use a comma separated list of aliases
#. 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/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"
msgstr ""
@ -2839,22 +2839,22 @@ msgstr ""
msgid "failed to copy %s from local machine to %s: output:%s err:%s"
msgstr ""
#: pkg/upstream/stack/stack.go:531
#: pkg/upstream/stack/stack.go:535
#, c-format
msgid "failed to create %s"
msgstr ""
#: pkg/upstream/stack/stack.go:393
#: pkg/upstream/stack/stack.go:397
#, c-format
msgid "failed to create config %s"
msgstr ""
#: pkg/upstream/stack/stack.go:424
#: pkg/upstream/stack/stack.go:428
#, c-format
msgid "failed to create network %s"
msgstr ""
#: pkg/upstream/stack/stack.go:371
#: pkg/upstream/stack/stack.go:375
#, c-format
msgid "failed to create secret %s"
msgstr ""
@ -2951,7 +2951,7 @@ msgstr ""
msgid "failed to retrieve latest commit for %s: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:468
#: pkg/upstream/stack/stack.go:472
#, c-format
msgid "failed to retrieve registry auth for image %s: %s"
msgstr ""
@ -2971,17 +2971,17 @@ msgstr "🥷 Genera secretos (contraseñas) automáticamente 🤖"
msgid "failed to tag release: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:508
#: pkg/upstream/stack/stack.go:512
#, c-format
msgid "failed to update %s"
msgstr ""
#: pkg/upstream/stack/stack.go:387
#: pkg/upstream/stack/stack.go:391
#, c-format
msgid "failed to update config %s"
msgstr ""
#: pkg/upstream/stack/stack.go:365
#: pkg/upstream/stack/stack.go:369
#, c-format
msgid "failed to update secret %s"
msgstr ""
@ -3036,8 +3036,8 @@ msgstr ""
msgid "final merged env values for %s are: %s"
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/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"
msgstr ""
@ -3254,9 +3254,9 @@ msgid "id: %s, "
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/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: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/catalogue/catalogue.go:320 cli/recipe/lint.go:139
msgid "ignore uncommitted recipes changes"
@ -3369,7 +3369,7 @@ msgstr ""
msgid "initialised new git repo in %s"
msgstr ""
#: pkg/upstream/stack/stack.go:206
#: pkg/upstream/stack/stack.go:207
msgid "initialising deployment"
msgstr ""
@ -3433,7 +3433,7 @@ msgstr ""
msgid "invalid npipe source, source cannot be empty"
msgstr ""
#: pkg/upstream/stack/stack.go:239
#: pkg/upstream/stack/stack.go:241
#, c-format
msgid "invalid option %s for flag --resolve-image"
msgstr ""
@ -3456,7 +3456,7 @@ msgstr ""
#. no spaces in between
#. translators: `abra recipe lint` aliases. use a comma separated list of
#. 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
msgid "l"
msgstr ""
@ -3472,7 +3472,7 @@ msgstr ""
msgid "labels <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"
msgstr ""
@ -3562,12 +3562,12 @@ msgstr ""
msgid "logs <domain> [service] [flags]"
msgstr ""
#: pkg/upstream/stack/stack.go:628
#: pkg/upstream/stack/stack.go:639
#, c-format
msgid "logs: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:630
#: pkg/upstream/stack/stack.go:641
msgid "logs: no log output received from deployment"
msgstr ""
@ -3714,12 +3714,12 @@ msgstr ""
msgid "need 3 or 4 arguments"
msgstr ""
#: pkg/upstream/stack/stack.go:348
#: pkg/upstream/stack/stack.go:352
#, 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"
msgstr ""
#: pkg/upstream/stack/stack.go:352
#: pkg/upstream/stack/stack.go:356
#, c-format
msgid "network %q is declared as external, but it is not in the right scope: %q instead of \"swarm\""
msgstr ""
@ -3942,11 +3942,11 @@ msgstr ""
msgid "no volumes to remove"
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"
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"
msgstr ""
@ -4002,7 +4002,7 @@ msgstr ""
msgid "only show errors"
msgstr ""
#: cli/app/upgrade.go:487
#: cli/app/upgrade.go:488
msgid "only show release notes"
msgstr ""
@ -4036,22 +4036,22 @@ msgstr ""
msgid "parsed following command arguments: %s"
msgstr ""
#: cli/app/upgrade.go:344
#: cli/app/upgrade.go:345
#, c-format
msgid "parsing chosen upgrade version failed: %s"
msgstr ""
#: cli/app/upgrade.go:388
#: cli/app/upgrade.go:389
#, c-format
msgid "parsing deployed version failed: %s"
msgstr ""
#: cli/app/upgrade.go:349
#: cli/app/upgrade.go:350
#, c-format
msgid "parsing deployment version failed: %s"
msgstr ""
#: cli/app/upgrade.go:355 cli/app/upgrade.go:394
#: cli/app/upgrade.go:356 cli/app/upgrade.go:395
#, c-format
msgid "parsing recipe version failed: %s"
msgstr ""
@ -4079,8 +4079,8 @@ msgstr ""
msgid "pattern"
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"
msgstr ""
@ -4095,27 +4095,27 @@ msgstr ""
msgid "please fix your synced label for %s and re-run this command"
msgstr ""
#: cli/app/rollback.go:266
#: cli/app/rollback.go:267
#, c-format
msgid "please select a downgrade (version: %s):"
msgstr ""
#: cli/app/rollback.go:271
#: cli/app/rollback.go:272
#, c-format
msgid "please select a downgrade (version: %s, chaos: %s):"
msgstr ""
#: cli/app/upgrade.go:311
#: cli/app/upgrade.go:312
#, c-format
msgid "please select an upgrade (version: %s):"
msgstr ""
#: cli/app/upgrade.go:316
#: cli/app/upgrade.go:317
#, c-format
msgid "please select an upgrade (version: %s, chaos: %s):"
msgstr ""
#: pkg/upstream/stack/stack.go:576
#: pkg/upstream/stack/stack.go:587
msgid "polling deployment status"
msgstr ""
@ -4206,7 +4206,7 @@ msgstr ""
#. translators: `abra recipe` aliases. use a comma separated list of aliases
#. 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/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"
msgstr ""
@ -4325,7 +4325,7 @@ msgstr ""
msgid "release <recipe> [version] [flags]"
msgstr "publicar <recipe> [version] [flags]"
#: cli/app/upgrade.go:484
#: cli/app/upgrade.go:485
msgid "releasenotes"
msgstr ""
@ -4492,7 +4492,7 @@ msgstr ""
msgid "restart <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"
msgstr ""
@ -4557,7 +4557,7 @@ msgstr ""
msgid "retrieved versions from local recipe repository"
msgstr ""
#: pkg/upstream/stack/stack.go:464
#: pkg/upstream/stack/stack.go:468
#, c-format
msgid "retrieving docker auth token: failed create docker cli: %s"
msgstr ""
@ -4631,7 +4631,7 @@ msgstr ""
msgid "run command locally"
msgstr ""
#: cli/app/deploy.go:270 cli/app/upgrade.go:292
#: cli/app/deploy.go:271 cli/app/upgrade.go:293
#, c-format
msgid "run the following post-deploy commands: %s"
msgstr ""
@ -4720,12 +4720,12 @@ msgstr ""
msgid "secret not found: %s"
msgstr ""
#: cli/app/deploy.go:339
#: cli/app/deploy.go:340
#, c-format
msgid "secret not generated: %s"
msgstr ""
#: cli/app/deploy.go:337
#: cli/app/deploy.go:338
#, c-format
msgid "secret not inserted (#generate=false): %s"
msgstr ""
@ -4774,11 +4774,21 @@ msgstr ""
msgid "server doesn't exist?"
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
msgid "server missing context, run \"abra server add %s\"?"
msgstr ""
#: pkg/client/client.go:48
#, c-format
msgid "server missing, run \"abra server add %s\"?"
msgstr ""
#: cli/server/add.go:148
#, c-format
msgid "serverAdd: cleanUp: %s is not empty, aborting cleanup"
@ -4851,7 +4861,7 @@ msgstr ""
msgid "severity"
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"
msgstr ""
@ -4875,7 +4885,7 @@ msgstr ""
msgid "show debug messages"
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"
msgstr ""
@ -4919,7 +4929,7 @@ msgstr ""
msgid "skipping as requested, undeploy still in progress 🟠"
msgstr ""
#: pkg/upstream/stack/stack.go:306
#: pkg/upstream/stack/stack.go:309
msgid "skipping converge logic checks"
msgstr ""
@ -4941,12 +4951,12 @@ msgstr ""
msgid "skipping secret (because it already exists) on %s: %s"
msgstr ""
#: pkg/app/app.go:692
#: pkg/app/app.go:697
#, c-format
msgid "skipping version %s write as already exists in %s.env"
msgstr ""
#: pkg/app/app.go:686
#: pkg/app/app.go:691
#, c-format
msgid "skipping writing version %s because dry run"
msgstr ""
@ -5054,12 +5064,12 @@ msgstr ""
msgid "successfully created %s"
msgstr ""
#: pkg/client/client.go:111
#: pkg/client/client.go:120
#, c-format
msgid "swarm mode not enabled on %s?"
msgstr ""
#: pkg/client/client.go:114
#: pkg/client/client.go:123
msgid "swarm mode not enabled on local server?"
msgstr ""
@ -5136,7 +5146,7 @@ msgstr ""
msgid "timeout label: %s"
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
msgid "timeout: set to %d second(s)"
msgstr ""
@ -5565,11 +5575,6 @@ msgstr ""
msgid "unknown server %s, run \"abra server add %s\"?"
msgstr ""
#: pkg/client/client.go:51
#, c-format
msgid "unknown server, run \"abra server add %s\"?"
msgstr ""
#: cli/app/cp.go:259
#, c-format
msgid "untar: %s"
@ -5581,7 +5586,7 @@ msgstr ""
msgid "up"
msgstr ""
#: pkg/upstream/stack/stack.go:473
#: pkg/upstream/stack/stack.go:477
#, c-format
msgid "updating %s"
msgstr ""
@ -5694,7 +5699,7 @@ msgstr ""
msgid "version"
msgstr ""
#: pkg/app/app.go:690
#: pkg/app/app.go:695
#, c-format
msgid "version %s saved to %s.env"
msgstr ""
@ -5713,6 +5718,10 @@ msgstr ""
msgid "version for abra"
msgstr ""
#: pkg/app/app.go:637
msgid "version is unknown, skipping env write"
msgstr ""
#: pkg/recipe/recipe.go:130
#, c-format
msgid "version seems invalid: %s"
@ -5723,27 +5732,27 @@ msgstr ""
msgid "version wiped from %s.env"
msgstr ""
#: cli/app/deploy.go:353
#: cli/app/deploy.go:354
#, c-format
msgid "version: taking chaos version: %s"
msgstr ""
#: cli/app/deploy.go:379
#: cli/app/deploy.go:380
#, c-format
msgid "version: taking deployed version: %s"
msgstr ""
#: cli/app/deploy.go:384
#: cli/app/deploy.go:385
#, c-format
msgid "version: taking new recipe version: %s"
msgstr ""
#: cli/app/deploy.go:373
#: cli/app/deploy.go:374
#, c-format
msgid "version: taking version from .env file: %s"
msgstr ""
#: cli/app/deploy.go:359
#: cli/app/deploy.go:360
#, c-format
msgid "version: taking version from cli arg: %s"
msgstr ""
@ -5803,22 +5812,22 @@ msgstr ""
msgid "volumes pruned: %d; space reclaimed: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:614
#: pkg/upstream/stack/stack.go:625
#, c-format
msgid "waitOnServices: error creating log dir: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:619
#: pkg/upstream/stack/stack.go:630
#, c-format
msgid "waitOnServices: error opening file: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:585
#: pkg/upstream/stack/stack.go:596
#, c-format
msgid "waitOnServices: error running TUI: %s"
msgstr ""
#: pkg/upstream/stack/stack.go:625
#: pkg/upstream/stack/stack.go:636
#, c-format
msgid "waitOnServices: writeFile: %s"
msgstr ""
@ -5869,8 +5878,8 @@ msgstr ""
msgid "writer: %v, "
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
msgid "writing recipe version failed: %s"
msgstr ""

View File

@ -201,6 +201,7 @@ func RunDeploy(
appName string,
serverName string,
dontWait bool,
noInput bool,
filters filters.Args,
) error {
log.Info(i18n.G("initialising deployment"))
@ -226,6 +227,7 @@ func RunDeploy(
appName,
serverName,
dontWait,
noInput,
filters,
)
}
@ -248,6 +250,7 @@ func deployCompose(
appName string,
serverName string,
dontWait bool,
noInput bool,
filters filters.Args,
) error {
namespace := convert.NewNamespace(opts.Namespace)
@ -311,6 +314,7 @@ func deployCompose(
Services: serviceIDs,
AppName: appName,
ServerName: serverName,
NoInput: noInput,
Filters: filters,
}
@ -561,6 +565,7 @@ func timestamp() string {
type WaitOpts struct {
AppName string
Filters filters.Args
NoInput bool
NoLog bool
Quiet bool
ServerName string
@ -570,7 +575,13 @@ type WaitOpts struct {
func WaitOnServices(ctx context.Context, cl *dockerClient.Client, opts WaitOpts) error {
timeout := time.Duration(WaitTimeout) * time.Second
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 {
log.Info(i18n.G("polling deployment status"))

View File

@ -14,15 +14,15 @@ done
function show_banner {
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 ""
}

View File

@ -577,18 +577,3 @@ teardown(){
assert_success
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"
}
@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
@test "list does not fail if missing .env" {
_deploy_app