5617a9ba07
refactor(recipe): remove remaining usage of old recipe struct
2024-07-08 13:15:20 +02:00
c1b03bcbd7
refactor(recipe): load load compoes config where its used
2024-07-08 12:31:39 +02:00
99da8d4e57
refactor(recipe): move GetComposeFiles to new struct
2024-07-08 12:06:58 +02:00
ca1db33e97
refactor(recipe): remove Dir method on old struct
2024-07-08 11:48:53 +02:00
eb62e0ecc3
refactor(recipe): move Tags method to new struct
2024-07-08 11:45:47 +02:00
6f90fc3025
refactor(recipe): don't use README.md path directly
2024-07-08 11:43:18 +02:00
c861c09cce
refactor(recipe): use method or variable for .env.sample
2024-07-08 11:41:26 +02:00
2f41b6d8b4
refactor(recipe): store sample env path in new struct
2024-07-08 11:31:55 +02:00
73e9b818b4
refactor(recipe): move SampleEnv method to new struct
2024-07-08 11:02:43 +02:00
f268e5893b
refactor(recipe): move functions that operate on the git repo to new file
2024-07-08 11:00:50 +02:00
47013c63d6
refactor(recipe): use template for ssh url
2024-07-08 10:56:08 +02:00
4cf6155fb8
refactor(recipe): introduce Dir var
2024-07-08 10:56:08 +02:00
01f3f4be17
refactor(recipe): use new recipe.Ensure method
2024-07-08 10:55:55 +02:00
eee2ecda06
refactor(recipe): add offline and chaos options to Ensure method
2024-07-08 10:55:55 +02:00
950f85e2b4
refactor(recipe): introduce new recipe struct and move some methods
2024-07-08 10:55:43 +02:00
9ef64778f5
chore: go deps update
continuous-integration/drone/push Build is passing
2024-07-08 01:52:17 +02:00
735f521bc0
refactor(errors)!: remove WIP/broken command
continuous-integration/drone/push Build is passing
2024-07-08 01:33:06 +02:00
96a25425a4
refactor(ps)!: remove -w, "watch ..." does it better
continuous-integration/drone/push Build is passing
2024-07-08 01:10:58 +02:00
1a8dca9804
fix(deploy): only output when actually waiting
continuous-integration/drone/push Build is passing
2024-07-08 01:01:14 +02:00
465827d5ee
log: no additional newlines
2024-07-08 01:01:14 +02:00
cde06f4f00
log: output caller on debug, use stdout as default
2024-07-08 01:01:13 +02:00
050a479df7
refactor: "service name" -> "service"
2024-07-08 00:38:54 +02:00
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
cf8ff410cc
feat: central log config
...
See coop-cloud/organising#422
2024-07-08 00:01:27 +02:00
6ec678208f
chore: formatting
2024-07-07 22:40:06 +02:00
a001be3021
docs: better "app ps" description
2024-07-07 22:39:57 +02:00
6712bd446f
chore: add upstream link
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-07 21:52:45 +02:00
1097daa69f
fix: "abra app restart" docs + --all-services
...
See coop-cloud/organising#605
2024-07-07 21:52:24 +02:00
beaa233421
test: only publish image on main merge
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-07-07 12:21:51 +02:00
f871f9beee
test: reduce duplication
continuous-integration/drone/push Build is passing
2024-07-07 12:13:07 +02:00
0f8f0f908f
test: ensure catalogue
continuous-integration/drone/push Build is passing
2024-07-07 12:03:43 +02:00
c5211fbd7e
test: fix imports
2024-07-07 12:03:37 +02:00
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
37aff723c0
move GetComposeFiles
2024-07-06 16:37:16 +02:00
f18c642226
refactor: move app files from config to app package
2024-07-06 16:37:16 +02:00
ac695ae28e
feat: introduce abra config file and load abra dir from it ( !419 )
...
continuous-integration/drone/push Build is passing
This is the first step to introduce a configuration file for abra. The config file must be named `abra.yaml` or àbra.yml`. abra look for the config file in the current directory and when not found traverses the directory tree up until it is found or the home/root directory is reached.
For now there is only one setting that is made configurable: `abraDir`. The new logic for setting the abra dir is the following:
1. lookup `$ABRA_DIR` env
2. look for config file and take value from there
3. `$HOME/.abra` as fallback
See coop-cloud/organising#303 .
Reviewed-on: coop-cloud/abra#419
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-07-06 14:36:31 +00:00
ac87898005
test: run versioned script [ci skip]
2024-07-03 10:02:04 +02:00
32ae2499b6
test: add CI integration script [ci skip]
2024-07-03 09:57:22 +02:00
1136ec5dcd
build: remove old release scripts
2024-07-03 09:57:06 +02:00
6a2db1abaa
test: run int suite on remote server via cron
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-02 17:18:05 +02:00
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
2014cd6622
test: less fragile integration suite [ci skip]
...
See coop-cloud/organising#584
See coop-cloud/organising#595
2024-07-02 12:16:58 +02:00
a9ce2106c6
test: skip test for now
...
continuous-integration/drone/push Build is passing
Also, don't build image if tests fail.
2024-06-28 06:12:32 +02:00
34de38928a
test: include catalogue
continuous-integration/drone/push Build is failing
2024-06-26 23:46:35 +02:00
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
712ebfb701
test: update and fix cleanup for "server add"
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-06-25 16:24:44 +02:00
1fe601cd16
fix: custom timeout only for "server add"
2024-06-25 16:13:57 +02:00
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
1a12bef53e
docs: better "server add" help output
2024-06-25 09:24:01 +02:00
d787f71215
fix: more accurate dns errors
continuous-integration/drone/push Build is passing
2024-06-25 00:27:48 +02:00