36 Commits

Author SHA1 Message Date
d4727db8f9 feat: abra app logs shows task errors (!395)
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
1e6a6e6174
fix: app logs retrieves recipe 2023-09-27 09:19:57 +02:00
0be532692d
test: moar integration tests [ci skip] 2023-09-20 13:51:06 +02:00
23f5745cb8
fix: skip recipe clone / up to date sync for some commands
Continues work of 3dc5662821c5b54e7f7f34e2e0d09b239a145a0b.
2023-08-01 21:19:20 +02:00
3dc5662821
fix: improved offline support
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
d789830ce4 feat: adds --since flag for abra app logs 2023-02-14 00:19:38 +01:00
e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
5721b357a2
fix: per service logs 2022-04-21 15:40:23 +02:00
323f4467c8
fix: filtering requires case-by-case handling
See https://github.com/moby/moby/issues/32985.
2022-03-30 16:25:38 +02:00
6aa23a76a1 fix: more precise filtering
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
58e98f490d
refactor!: type -> recipes 2022-01-27 12:06:32 +01:00
2277e4ef72
refactor!: remove no-input flag where not needed 2022-01-27 12:05:19 +01:00
e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
0e688f1407
refactor!: migrate to urfave/cli v1
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
95d385c420
fix: GetService & handling missing services 2021-12-31 12:49:31 +01:00
74f688350b
fix: actually call function 2021-12-22 01:03:36 +01:00
56a1e7f8c4
feat: stderr only for logs 2021-12-22 01:02:36 +01:00
ae6adace50
refactor: autocomplete package 2021-12-12 00:17:39 +01:00
3fb43ffa2c
Revert "fix: match exact on filtering" [ci skip]
This reverts commit 2bc2f8630b85d903d452b7c02efc99ee933b2243.

This breaks other stuff. Reverting!
2021-12-09 14:12:16 +01:00
2bc2f8630b
fix: match exact on filtering 2021-12-06 01:26:04 +01:00
a90f3b7463
fix: easier logs
Closes coop-cloud/organising#270.
2021-11-26 22:14:29 +01:00
bece2e8351
fix: recovering debug logging [ci skip]
Follows 31edbbd32e.
2021-09-16 13:10:17 +02:00
31edbbd32e
fix: git metadata not removed in merge 2021-09-16 11:35:18 +01:00
0a1c73bf00
refactor: use cli context vs creating new one 2021-09-16 11:21:38 +01:00
66aeeee768
fix: completion doesn't fail silently now
Closes coop-cloud/organising#161.
2021-09-16 08:45:38 +02:00
9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
cf2653fef8
refactor: drop unused function, rename GetAppsNames 2021-09-08 13:43:55 +02:00
4c216fdf40
feat: auto-complete app and recipe names 2021-09-07 16:57:39 +02:00
d4333c2dc0
refactor: use app getting instead of boilerplate 2021-09-05 23:17:35 +02:00
ec40d88134
refactor: centralise app name validation 2021-09-05 22:04:48 +02:00
b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
317be4cc01
docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
07a43cb314
refactor: NewClientWithContext -> New, and use server only 2021-09-05 00:41:31 +02:00
7835c1f91d
fix: defers after checking for err 2021-08-31 16:47:38 +01:00
8651e22441
feat: implement app logs command 2021-08-29 14:13:35 +02:00
30d11f48a7
refactor: break up cli pkg into nice small chunks 2021-08-02 02:10:41 +01:00