p4u1
eee2ecda06
refactor(recipe): add offline and chaos options to Ensure method
2024-07-08 10:55:55 +02:00
p4u1
950f85e2b4
refactor(recipe): introduce new recipe struct and move some methods
2024-07-08 10:55:43 +02:00
decentral1se
735f521bc0
refactor(errors)!: remove WIP/broken command
continuous-integration/drone/push Build is passing
2024-07-08 01:33:06 +02:00
decentral1se
96a25425a4
refactor(ps)!: remove -w, "watch ..." does it better
continuous-integration/drone/push Build is passing
2024-07-08 01:10:58 +02:00
decentral1se
465827d5ee
log: no additional newlines
2024-07-08 01:01:14 +02:00
decentral1se
cde06f4f00
log: output caller on debug, use stdout as default
2024-07-08 01:01:13 +02:00
decentral1se
050a479df7
refactor: "service name" -> "service"
2024-07-08 00:38:54 +02:00
decentral1se
ef108d63e1
refactor: use central logger
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-08 00:01:28 +02:00
decentral1se
6ec678208f
chore: formatting
2024-07-07 22:40:06 +02:00
decentral1se
a001be3021
docs: better "app ps" description
2024-07-07 22:39:57 +02:00
decentral1se
1097daa69f
fix: "abra app restart" docs + --all-services
...
See coop-cloud/organising#605
2024-07-07 21:52:24 +02:00
p4u1
0076b31253
new package envfile and move GetComposeFiles to recipe package
continuous-integration/drone/pr Build is failing
2024-07-06 16:37:16 +02:00
p4u1
f18c642226
refactor: move app files from config to app package
2024-07-06 16:37:16 +02:00
decentral1se
9554ad40c8
refactor: use adapted upstream detach=false logic [ci skip]
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#607 .
2024-07-02 14:52:12 +02:00
decentral1se
f58522d822
fix: dont always download the catalogue
...
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
See coop-cloud/organising#592
2024-06-25 16:48:41 +02:00
decentral1se
1fe601cd16
fix: custom timeout only for "server add"
2024-06-25 16:13:57 +02:00
decentral1se
7b7e1bfa97
refactor!: server add/rm has better UI/UX
...
Less confusing logging messages, clear "is created" / "already exists"
output. Move the majority of logging to debug output to not confuse the
situation. Some code cleanups also in there.
2024-06-25 09:48:53 +02:00
decentral1se
1a12bef53e
docs: better "server add" help output
2024-06-25 09:24:01 +02:00
decentral1se
9bf44c15ed
fix: clean up if failed to create context
2024-06-25 00:27:34 +02:00
decentral1se
349cacc1f2
docs: explain -D for "server add"
2024-06-25 00:27:16 +02:00
decentral1se
938534f5ac
feat: support non-TLD resolving server domains
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#566
2024-06-24 22:07:16 +00:00
p4u1
6cd331ebd6
secret: allow inserting secret from file and add trim flag
continuous-integration/drone/push Build is passing
2024-06-22 16:49:59 +00:00
p4u1
b2485cc122
feat: add git-user and git-email flags to recipe new
continuous-integration/drone/push Build is passing
2024-06-22 16:38:32 +00:00
decentral1se
aa3910f8df
refactor!: drop all SSH opts / config handling
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#601
See coop-cloud/organising#482
2024-06-21 17:16:41 +02:00
decentral1se
91ea2c01a5
fix: fix old app version deploy wrt. compose files
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#617
2024-06-21 16:14:40 +02:00
decentral1se
316fdd3643
fix: abra app new checks out latest version
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#618
2024-06-21 15:51:34 +02:00
decentral1se
300a4ead01
fix: stop using deprecated APIs
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-06-19 19:14:52 +02:00
moritz
e6b35e8524
fix(upgrade): make upgrade --chaos working again
continuous-integration/drone/push Build is passing
2024-05-22 10:21:31 +02:00
moritz
8a0274cac0
fix(recipe): output correct formatted json for recipe version
continuous-integration/drone/push Build is passing
2024-05-21 16:59:59 +02:00
moritz
e609924af0
feat(upgrade): add --releasenotes: show release notes and skip upgrading
continuous-integration/drone/push Build is passing
2024-05-21 13:49:36 +02:00
moritz
70e2943301
fix(upgrade): only show release notes relevant for the upgrade
2024-05-21 13:49:11 +02:00
moritz
0590c1824d
checkout deployed version
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-05-14 00:07:58 +02:00
moritz
459abecfa5
only show container that should be deployed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-05-13 23:26:02 +02:00
moritz
183ad8f576
machine readable ps output
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-05-13 22:08:03 +02:00
rix
d21c35965d
fix: add warning for long secret names ( !359 )
...
continuous-integration/drone/push Build is passing
A start of a fix for coop-cloud/organising#463
Putting some code out to start a discussion. I've added a linting rule for recipes to establish a general principal but I want to put some validation into cli/app/new.go as that's the point we have both the recipe and the domain and can say for sure whether or not the secret names lengths cause a problem but that will have to wait for a bit. Let me know if I've missed the mark somewhere
Reviewed-on: coop-cloud/abra#359
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech >
Co-authored-by: Rich M <r.p.makepeace@gmail.com >
Co-committed-by: Rich M <r.p.makepeace@gmail.com >
2024-04-06 21:41:37 +00:00
p4u1
d5ac3958a4
feat: add retries to app volume remove
continuous-integration/drone/push Build is passing
2024-03-27 05:38:24 +00:00
decentral1se
575f9905f1
Revert "Revert "feat: backup revolution""
...
continuous-integration/drone/push Build is passing
This reverts commit 2c515ce70a .
2024-03-12 10:34:40 +01:00
decentral1se
2c515ce70a
Revert "feat: backup revolution"
...
This reverts commit c5687dfbd7 .
This is a temporary measure to facilitate a release which won't
completely explode peoples workflows (missing command logic). We
re-instate this commit after the first 0.9.x release.
2024-03-12 10:03:42 +01:00
p4u1
0643df6d73
feat: fetch all recipes when no recipe is specified ( !401 )
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#530
Reviewed-on: coop-cloud/abra#401
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech >
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net >
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net >
2024-01-24 15:01:33 +00:00
p4u1
4920dfedb3
fix: retry docker volume remove ( !399 )
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#509
Reviewed-on: coop-cloud/abra#399
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech >
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net >
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net >
2024-01-19 15:09:00 +00:00
p4u1
0a3624c15b
feat: add version input to abra app new ( !400 )
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#519
Reviewed-on: coop-cloud/abra#400
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech >
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net >
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net >
2024-01-19 15:08:41 +00:00
decentral1se
c5687dfbd7
feat: backup revolution
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#485
2024-01-12 22:01:08 +01:00
p4u1
d4727db8f9
feat: abra app logs shows task errors ( !395 )
...
continuous-integration/drone/push Build is passing
The log command now checks for the ready state in the task list. If it is not ready. It shows the task logs. This might look like this:
```
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State preparing:
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
```
Closes coop-cloud/organising#518
Reviewed-on: coop-cloud/abra#395
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech >
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net >
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net >
2023-12-14 13:15:24 +00:00
p4u1
af8cd1f67a
feat: abra release now asks for a release note ( !393 )
...
continuous-integration/drone/push Build is passing
This implements coop-cloud/organising#540 by checking if a`release/next` file exists and if so moves it to `release/<tag>`. When no release notes exists it prompts for them.
Reviewed-on: coop-cloud/abra#393
Reviewed-by: moritz <moritz.m@local-it.org >
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net >
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net >
2023-12-12 14:46:20 +00:00
test
99e3ed416f
fix: secret name generation when secretId is not part of the secret name
continuous-integration/drone/push Build is passing
2023-12-04 21:52:09 +00:00
p4u1
2de6934322
feat: abra app cp enhancements
continuous-integration/drone/push Build is passing
2023-12-02 15:39:27 +00:00
p4u1
3957b7c965
proper env modifiers support
...
continuous-integration/drone/push Build is passing
This implements proper modifier support in the env file using this new fork of the godotenv library. The modifier implementation is quite basic for but can be improved later if needed. See this commit for the actual implementation.
Because we are now using proper modifer parsing, it does not affect the parsing of value, so this is possible again:
```
MY_VAR="#foo"
```
Closes coop-cloud/organising#535
2023-12-01 11:03:52 +00:00
p4u1
7b6134f35e
add bash completion for abra cmd
2023-11-27 10:01:33 +00:00
decentral1se
254df7f2be
feat: app cmd ls
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#484
2023-10-17 21:16:31 +02:00
decentral1se
6a673ef101
refactor: filter by topic when building catalogue
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#377
2023-10-16 18:42:38 +02:00