Compare commits

...

384 Commits

Author SHA1 Message Date
f 7f0a74d3c3
fix: source autocompletion on the current terminal
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-07-11 12:02:38 -03:00
f e99114e695
fix: setup should be run once 2024-07-11 12:02:22 -03:00
f b1208f9db5
fix: sometimes the completion directories already exist 2024-07-11 12:01:21 -03:00
decentral1se b8e1a3b75f
test: remote recipe tests
continuous-integration/drone/push Build is passing Details
See #432
2024-07-10 16:03:28 +02:00
decentral1se ff90b43929
fix: use struct data for HEAD retrieval
continuous-integration/drone/push Build is passing Details
See ce7dda1eae
2024-07-10 15:51:11 +02:00
p4u1 c5724d56f8 fix(config): Removes config file name from abra dir
continuous-integration/drone/push Build is passing Details
2024-07-10 13:42:24 +00:00
decentral1se ce7dda1eae
fix: use recipe struct data
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Follow up for #432
2024-07-10 15:40:45 +02:00
decentral1se d38f3ab7f5
test: speed up test
continuous-integration/drone/push Build is passing Details
2024-07-10 13:27:58 +02:00
decentral1se 4be8c8daed
test: fix outputs [ci skip]
See https://build.coopcloud.tech/coop-cloud/abra/2035/1/5
2024-07-10 13:20:39 +02:00
decentral1se 3c9405a4ed
refactor!: --problems/p goes away
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Follow up for #413
2024-07-10 13:06:46 +02:00
p4u1 f6b7510da6 feat: introduce remote recipes
continuous-integration/drone/push Build is passing Details
Reviewed-on: #432
2024-07-10 10:25:06 +00:00
p4u1 7596982282 feat: update new version in env file
continuous-integration/drone/pr Build is passing Details
2024-07-10 12:12:43 +02:00
p4u1 4085eb6654 feat: define recipe version inside app env file 2024-07-10 12:11:46 +02:00
p4u1 790dbca362 feat!: remove all catalogue reads from app commands 2024-07-10 12:06:57 +02:00
p4u1 d7a870b887 feat: remote recipes 2024-07-10 12:06:44 +02:00
decentral1se 1a3ec7a107
fix: pass recipe name for listing cmds
continuous-integration/drone/push Build is passing Details
2024-07-09 17:23:06 +02:00
decentral1se 7f910b4e5b
test: recipe test fixups
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-07-09 11:34:20 +02:00
decentral1se b82ac3bd63
refactor: make IsChaos an actual bool 2024-07-09 11:34:01 +02:00
decentral1se 00d60f7114
fix: ensure force upgrade/rollback works 2024-07-09 11:33:33 +02:00
decentral1se 71d93cbbea
refactor: debug logging and errors for version issues 2024-07-09 11:33:07 +02:00
decentral1se 2fb5493ab5
feat: support chaos commits on deploy
See coop-cloud/organising#517
2024-07-09 11:31:52 +02:00
decentral1se 0ff8e49cfd
docs: pass on sub-command help 2024-07-09 09:43:18 +02:00
decentral1se addbda9145
test: fixups for the changepocalypse
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-07-09 09:41:49 +02:00
decentral1se c33ca1c6bc
fix!: chaos consistency (deploy/undeploy/rollback/upgrade)
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#559

--chaos for rollback/upgrade goes away.
2024-07-08 17:23:49 +02:00
decentral1se 4580df72cb
fix: use recipe name
continuous-integration/drone/push Build is passing Details
2024-07-08 14:58:57 +02:00
decentral1se f003430a8d
fix: use recipe name, not app name
continuous-integration/drone/push Build is passing Details
2024-07-08 14:54:15 +02:00
decentral1se 5426464092
refactor!: drop version, show versions in ps
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#526
See coop-cloud/organising#502
2024-07-08 14:41:46 +02:00
decentral1se 72c021c727
fix: remove old commands from deploy fail help
continuous-integration/drone/push Build is passing Details
2024-07-08 14:29:51 +02:00
decentral1se f2e076b35f
fix: set default logger on kadabra 2024-07-08 14:26:27 +02:00
decentral1se 4ccb4198d6
fix: "recipe version" handles non-catalogue recipes 2024-07-08 14:26:26 +02:00
decentral1se a9f7579ca9
fix: remove old logrus calls 2024-07-08 14:21:17 +02:00
p4u1 9cd1fe658b refactor(recipe): create a recipe struct that gets used everywhere #430
continuous-integration/drone/push Build is passing Details
Reviewed-on: #430
2024-07-08 12:18:58 +00:00
p4u1 41c16db670 test: fix test failure
continuous-integration/drone/pr Build is passing Details
2024-07-08 14:10:17 +02:00
p4u1 87ecc05962 refactor(recipe): remove direct usage of config.RECIPE_DIR
continuous-integration/drone/pr Build is failing Details
2024-07-08 13:48:02 +02:00
p4u1 f14d49cc64 refactor(recipe): rename Recipe2 -> Recipe 2024-07-08 13:19:40 +02:00
p4u1 f638b6a16b refator(recipe): remove old struct 2024-07-08 13:16:47 +02:00
p4u1 5617a9ba07 refactor(recipe): remove remaining usage of old recipe struct 2024-07-08 13:15:20 +02:00
p4u1 c1b03bcbd7 refactor(recipe): load load compoes config where its used 2024-07-08 12:31:39 +02:00
p4u1 99da8d4e57 refactor(recipe): move GetComposeFiles to new struct 2024-07-08 12:06:58 +02:00
p4u1 ca1db33e97 refactor(recipe): remove Dir method on old struct 2024-07-08 11:48:53 +02:00
p4u1 eb62e0ecc3 refactor(recipe): move Tags method to new struct 2024-07-08 11:45:47 +02:00
p4u1 6f90fc3025 refactor(recipe): don't use README.md path directly 2024-07-08 11:43:18 +02:00
p4u1 c861c09cce refactor(recipe): use method or variable for .env.sample 2024-07-08 11:41:26 +02:00
p4u1 2f41b6d8b4 refactor(recipe): store sample env path in new struct 2024-07-08 11:31:55 +02:00
p4u1 73e9b818b4 refactor(recipe): move SampleEnv method to new struct 2024-07-08 11:02:43 +02:00
p4u1 f268e5893b refactor(recipe): move functions that operate on the git repo to new file 2024-07-08 11:00:50 +02:00
p4u1 47013c63d6 refactor(recipe): use template for ssh url 2024-07-08 10:56:08 +02:00
p4u1 4cf6155fb8 refactor(recipe): introduce Dir var 2024-07-08 10:56:08 +02:00
p4u1 01f3f4be17 refactor(recipe): use new recipe.Ensure method 2024-07-08 10:55:55 +02:00
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 9ef64778f5
chore: go deps update
continuous-integration/drone/push Build is passing Details
2024-07-08 01:52:17 +02:00
decentral1se 735f521bc0
refactor(errors)!: remove WIP/broken command
continuous-integration/drone/push Build is passing Details
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 Details
2024-07-08 01:10:58 +02:00
decentral1se 1a8dca9804
fix(deploy): only output when actually waiting
continuous-integration/drone/push Build is passing Details
2024-07-08 01:01:14 +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 Details
continuous-integration/drone/push Build is passing Details
2024-07-08 00:01:28 +02:00
decentral1se cf8ff410cc
feat: central log config
See coop-cloud/organising#422
2024-07-08 00:01:27 +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 6712bd446f
chore: add upstream link
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-07-07 21:52:45 +02:00
decentral1se 1097daa69f
fix: "abra app restart" docs + --all-services
See coop-cloud/organising#605
2024-07-07 21:52:24 +02:00
decentral1se beaa233421
test: only publish image on main merge
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2024-07-07 12:21:51 +02:00
decentral1se f871f9beee
test: reduce duplication
continuous-integration/drone/push Build is passing Details
2024-07-07 12:13:07 +02:00
decentral1se 0f8f0f908f
test: ensure catalogue
continuous-integration/drone/push Build is passing Details
2024-07-07 12:03:43 +02:00
decentral1se c5211fbd7e
test: fix imports 2024-07-07 12:03:37 +02:00
p4u1 0076b31253 new package envfile and move GetComposeFiles to recipe package
continuous-integration/drone/pr Build is failing Details
2024-07-06 16:37:16 +02:00
p4u1 37aff723c0 move GetComposeFiles 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
p4u1 ac695ae28e feat: introduce abra config file and load abra dir from it (!419)
continuous-integration/drone/push Build is passing Details
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: #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
decentral1se ac87898005
test: run versioned script [ci skip] 2024-07-03 10:02:04 +02:00
decentral1se 32ae2499b6
test: add CI integration script [ci skip] 2024-07-03 09:57:22 +02:00
decentral1se 1136ec5dcd
build: remove old release scripts 2024-07-03 09:57:06 +02:00
decentral1se 6a2db1abaa
test: run int suite on remote server via cron
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-07-02 17:18:05 +02:00
decentral1se 9554ad40c8
refactor: use adapted upstream detach=false logic [ci skip]
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#607.
2024-07-02 14:52:12 +02:00
decentral1se 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
decentral1se a9ce2106c6
test: skip test for now
continuous-integration/drone/push Build is passing Details
Also, don't build image if tests fail.
2024-06-28 06:12:32 +02:00
decentral1se 34de38928a
test: include catalogue
continuous-integration/drone/push Build is failing Details
2024-06-26 23:46:35 +02:00
decentral1se f58522d822
fix: dont always download the catalogue
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
See coop-cloud/organising#592
2024-06-25 16:48:41 +02:00
decentral1se 712ebfb701
test: update and fix cleanup for "server add"
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-06-25 16:24:44 +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 d787f71215
fix: more accurate dns errors
continuous-integration/drone/push Build is passing Details
2024-06-25 00:27:48 +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 Details
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 Details
2024-06-22 16:49:59 +00:00
decentral1se 40517171f7
test: separate test for git name/email
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See #405
2024-06-22 18:46:28 +02:00
p4u1 b2485cc122 feat: add git-user and git-email flags to recipe new
continuous-integration/drone/push Build is passing Details
2024-06-22 16:38:32 +00:00
p4u1 9ec99c7712 test: return/echo from git helper functions
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-06-22 17:04:33 +02:00
decentral1se aa3910f8df
refactor!: drop all SSH opts / config handling
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#601
See coop-cloud/organising#482
2024-06-21 17:16:41 +02:00
decentral1se 43990b6fae
test: use more plumbung for git output
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-06-21 17:10:12 +02:00
decentral1se 91ea2c01a5
fix: fix old app version deploy wrt. compose files
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
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 Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#618
2024-06-21 15:51:34 +02:00
decentral1se e07ae8cccd
chore: make format/check
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-06-19 19:17:22 +02:00
decentral1se 300a4ead01
fix: stop using deprecated APIs
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2024-06-19 19:14:52 +02:00
decentral1se f209b6f564
chore: go get -u -t 2024-06-19 19:14:44 +02:00
decentral1se 791183adfe
build: new deps target 2024-06-19 19:14:31 +02:00
Moritz e6b35e8524 fix(upgrade): make upgrade --chaos working again
continuous-integration/drone/push Build is passing Details
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 Details
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 Details
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 Details
continuous-integration/drone/push Build is passing Details
2024-05-14 00:07:58 +02:00
Moritz 459abecfa5 only show container that should be deployed
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2024-05-13 23:26:02 +02:00
Moritz 183ad8f576 machine readable ps output
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2024-05-13 22:08:03 +02:00
decentral1se 03f94da2d8
docs: add fauno [ci skip] 2024-05-01 01:20:25 +02:00
f 766f69b0fd
feat: strip debug symbols
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
to produce smaller binaries
2024-04-30 14:05:03 -03:00
decentral1se 004cd70aed
fix: use unique rule number & wording [ci skip] 2024-04-06 23:52:56 +02:00
decentral1se a4de446f58
test: more verbose failure msg, use contains [ci skip] 2024-04-06 23:48:22 +02:00
Rich M d21c35965d fix: add warning for long secret names (!359)
continuous-integration/drone/push Build is passing Details
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: #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
Mayel de Borniol 63ea58ffaa add relevant command to error message
continuous-integration/drone/push Build is passing Details
2024-04-01 18:51:53 +01:00
decentral1se 2ecace3e90
fix: add missing packages on final layer
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#598
2024-04-01 13:57:51 +02:00
p4u1 d5ac3958a4 feat: add retries to app volume remove
continuous-integration/drone/push Build is passing Details
2024-03-27 05:38:24 +00:00
3wc 72c20e0039 fix: make installer work again
continuous-integration/drone/push Build is passing Details
2024-03-26 21:07:38 -03:00
decentral1se 575f9905f1
Revert "Revert "feat: backup revolution""
continuous-integration/drone/push Build is passing Details
This reverts commit 2c515ce70a.
2024-03-12 10:34:40 +01:00
decentral1se e3a0af5840
build: upgrade goreleaser
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#474
2024-03-12 10:11:14 +01:00
decentral1se 9a3a39a185
chore: new 0.9.x series
continuous-integration/drone/push Build was killed Details
2024-03-12 10:05:31 +01:00
decentral1se cea56dddde
fix: drop deprecated stanza (goreleaser) 2024-03-12 10:04:50 +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 40c0fb4bac fix-integration-tests (!403)
continuous-integration/drone/push Build is passing Details
In preparation for the new abra release, let's fix all integration tests

After merging, this needs to be cherry-picked into the release-0-9 branch.

  - [x] app_backup.bats (skip this one)
  - [x] app_check.bats (fixed by bd21014fed)
  - [x] app_cmd.bats (partially fixed in 08232b74f6), has known regression coop-cloud/organising#581
  - [x] app_config.bats (no changes needed)
  - [x] app_cp.bats (no changes needed)
  - [x] app_deploy.bats
  - [x] app_errors.bats (no changes needed)
  - [x] app_list.bats (no changes needed)
  - [x] app_logs.bats (no changes needed)
  - [x] app_new.bats (no changes needed)
  - [x] app_ps.bats (no changes needed)
  - [x] app_remove.bats (fixed by [2f29fbeb2e](#403/commits/2f29fbeb2e018656413fa25f8615b7a98cdcb083))
  - [x] app_restart.bats (no changes needed
  - [x] app_restore.bats (fixed by [f2dd5afc38](#403/commits/f2dd5afc38a25a8316899fa0c6d59499445868d7))
  - [x] app_rollback.bats (partially fixed by 6e99b74c24)
  - [x] app_run.bats (no changes needed)
  - [x] app_secret.bats (fixed by bd069d32f6)
  - [x] app_services.bats (no changes needed)
  - [x] app_undeploy.bats (no changes needed)
  - [x] app_upgrade.bats (no changes needed)
  - [x] app_version.bats (partially fixed by ad323ad2bd)
  - [x] app_volume.bats (fixed by [03c3823770](#403/commits/03c38237707ae795b723180eb07a7edc84a8de35))
  - [x] autocomplete.bats (no changes needed)
  - [x] catalogue.bats (no changes needed)
  - [x] dirs.bats (no changes needed)
  - [x] install.bats (failes, but is expected)
  - [x] recipe_diff.bats (no changes needed)
  - [x] recipe_fetch.bats (no changes needed)
  - [x] recipe_lint.bats (fixed by [b6b0808066](#403/commits/b6b0808066a11e4bcd77517ec39600d500bcb944))
  - [x] recipe_list.bats (no changes needed)
  - [x] recipe_new.bats (fixed by [0aac464ded](#403/commits/0aac464ded6b43afb3ec37ade2f64d6191b9838f))
  - [x] recipe_release.bats (no changes needed)
  - [x] recipe_reset.bats (no changes needed)
  - [x] recipe_sync.bats (no changes needed)
  - [x] recipe_upgrade.bats (fixed by [ab86904cf4](#403/commits/ab86904cf45db89c7c189ca1fd9971909bd446dd))
  - [x] recipe_version.bats (fixed by 81897bf4da)
  - [x] server_add.bats
  - [x] server_list.bats
  - [x] server_prune.bats (no changes needed)
  - [x] server_remove.bats
  - [x] upgrade.bats
  - [x] version.bats (no changes needed)

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Reviewed-on: #403
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-03-11 13:27:21 +00:00
p4u1 0643df6d73 feat: fetch all recipes when no recipe is specified (!401)
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#530

Reviewed-on: #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
basebuilder e9b99fe921 make installer save abra-download to /tmp/ directory
continuous-integration/drone/push Build is passing Details
the current location of download is ~/.local/bin/ but this
conflicts with some security tools
2024-01-24 14:27:09 +00:00
p4u1 4920dfedb3 fix: retry docker volume remove (!399)
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#509

Reviewed-on: #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 Details
Closes coop-cloud/organising#519

Reviewed-on: #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 Details
See coop-cloud/organising#485
2024-01-12 22:01:08 +01:00
p4u1 ca91abbed9 fix: correct append service name logic in Filters function (!396)
continuous-integration/drone/push Build is passing Details
This fixes a regression introduced by #395

Reviewed-on: #396
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-22 12:08:12 +00:00
p4u1 d4727db8f9 feat: abra app logs shows task errors (!395)
continuous-integration/drone/push Build is passing Details
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: #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 Details
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: #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
decentral1se cdd7516e54
chore: go mod tidy [ci skip] 2023-12-04 22:56:58 +01:00
test 99e3ed416f fix: secret name generation when secretId is not part of the secret name
continuous-integration/drone/push Build is passing Details
2023-12-04 21:52:09 +00:00
p4u1 02b726db02 add comments to better explain how the length modifier gets added to the secret
continuous-integration/drone/push Build is passing Details
2023-12-04 17:30:26 +00:00
p4u1 2de6934322 feat: abra app cp enhancements
continuous-integration/drone/push Build is passing Details
2023-12-02 15:39:27 +00:00
decentral1se cb49cf06d1
chore: drop old godotenv pointers [ci skip]
Follows 9affda8a70
2023-12-02 13:02:24 +01:00
decentral1se 9affda8a70
chore: update godotenv fork commit pointer
continuous-integration/drone/push Build is passing Details
Follows #391
2023-12-02 12:59:42 +01:00
p4u1 3957b7c965 proper env modifiers support
continuous-integration/drone/push Build is passing Details
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
Moritz 0d83339d80 fix(ssh): increase connection timeout #482
continuous-integration/drone/push Build is passing Details
see coop-cloud/organising#482
2023-11-30 16:35:53 +01:00
decentral1se 6e54ec7213
test: skip failing test for now
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#535.
2023-11-28 11:42:36 +01:00
decentral1se 66b40a9189
fix: just run it in place [ci skip] 2023-11-27 11:25:01 +01:00
decentral1se 049f02f063
docs: add p4u1 [ci skip] 2023-11-27 11:23:03 +01:00
decentral1se 15857e6453
fix: clean up after cp'ing script [ci skip]
Follows 31e0ed75b0.
2023-11-27 11:21:46 +01:00
decentral1se 31e0ed75b0
build: target for docker building
continuous-integration/drone/push Build is failing Details
Adapted from #384.

Thanks @cas.
2023-11-27 11:15:59 +01:00
p4u1 b1d3fcbb0b add integration test
continuous-integration/drone/push Build is failing Details
2023-11-27 10:01:33 +00:00
p4u1 7b6134f35e add bash completion for abra cmd 2023-11-27 10:01:33 +00:00
decentral1se 316b59b465
test: support local-first testing
continuous-integration/drone/push Build is failing Details
Cherry-picked from #389

Thanks @p4u1.
2023-11-27 10:41:46 +01:00
decentral1se 92b073d5b6
chore: go mod tidy
continuous-integration/drone/push Build is failing Details
2023-11-27 10:28:43 +01:00
Comrade Renovate Bot 9b0dd933b5 chore(deps): update module github.com/schollz/progressbar/v3 to v3.14.1
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-11-10 08:00:52 +00:00
Comrade Renovate Bot f255fa1555 chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.5
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-11-09 08:00:33 +00:00
Comrade Renovate Bot 74200318ab chore(deps): update module github.com/schollz/progressbar/v3 to v3.14.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-11-07 08:01:11 +00:00
Comrade Renovate Bot 609656b4e1 chore(deps): update module golang.org/x/sys to v0.14.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-11-06 08:00:33 +00:00
decentral1se 856c9f2f7d
chore: go mod tidy
continuous-integration/drone/push Build is failing Details
2023-11-04 09:37:15 +01:00
Comrade Renovate Bot bd5cdd3443 chore(deps): update module github.com/docker/docker to v24.0.7
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-10-30 08:00:53 +00:00
Comrade Renovate Bot 79d274e074 chore(deps): update module github.com/docker/cli to v24.0.7
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-10-27 07:01:16 +00:00
Comrade Renovate Bot 51e3df17f1 chore(deps): update module github.com/go-git/go-git/v5 to v5.10.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-10-26 07:00:33 +00:00
knoflook ccf0215495 hotfix: parse values starting with # correctly
continuous-integration/drone/push Build is failing Details
2023-10-23 19:21:45 +02:00
decentral1se 254df7f2be
feat: app cmd ls
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
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 Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#377
2023-10-16 18:42:38 +02:00
decentral1se 7f7f7224c6
feat: diff on release flow
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
decentral1se f96bf9a8ac
feat: `recipe reset`, `recipe diff`
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#511
2023-10-15 12:56:52 +02:00
decentral1se dcecf32999
chore: bump version for installer script [ci skip] 2023-10-11 19:31:28 +02:00
decentral1se bc88dac150
test: reset before changing files
continuous-integration/drone/push Build is passing Details
2023-10-11 19:29:19 +02:00
decentral1se 704c0e9c74
test: adapt failing tests to new changes 2023-10-11 18:34:08 +02:00
decentral1se c9bb7e15c2
fix: bring back docker build
continuous-integration/drone/push Build is passing Details
2023-10-10 07:27:49 +02:00
decentral1se d90c9b88f1
fix: include ca-certs to avoid x509 error [ci skip] 2023-10-10 00:50:43 +02:00
decentral1se 69ce07f81f
fix: ignore build files for docker [ci skip] 2023-10-09 23:40:41 +02:00
decentral1se 85b90ef80c fix: bail if --chaos and specific version
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#503.
2023-10-09 20:54:44 +00:00
decentral1se 3e511446aa
refactor: use `app check` emoji here too
continuous-integration/drone/push Build is passing Details
2023-10-09 22:53:46 +02:00
decentral1se 7566b4262b
fix: set go version to 1.21
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-10-09 22:07:30 +02:00
decentral1se c249c6ae9c
fix: fix: trim comments that are not modifers
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
decentral1se be693e9df0
fix: trim comments that are not modifers
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
See coop-cloud/organising#505
2023-10-08 22:42:34 +02:00
decentral1se a43125701c
test: optimise default make target for abra hacking [ci skip] 2023-10-07 10:32:42 +02:00
decentral1se b57edb440a
fix: improve app check
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#446
2023-10-06 10:56:33 +02:00
decentral1se 6fc4573a71
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-10-06 09:49:03 +02:00
Comrade Renovate Bot cbe6676881 chore(deps): update module golang.org/x/sys to v0.13.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-10-06 07:00:49 +00:00
decentral1se b4fd39828f
test: abra-integration-test-recipe -> abra-test-recipe
continuous-integration/drone/push Build is passing Details
See coop-cloud/abra-test-recipe#3
2023-10-05 14:22:11 +02:00
decentral1se 14f2d72aba
refactor!: lowercase, hyphenate keys
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
This will potentially break scripts, so time to discuss!
2023-10-05 08:36:01 +02:00
decentral1se 57692ec3c9
feat: add --machine to secret ls
See coop-cloud/organising#481
2023-10-04 23:08:39 +02:00
decentral1se 47d3b77003
refactor: not generating here, skipping
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-10-04 15:13:15 +02:00
decentral1se 8078e91e52
fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
decentral1se dc5d3a8dd6
test: build, init & test in one stage
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-10-04 14:37:09 +02:00
decentral1se ab6107610c
test: skip build step, test will do it 2023-10-04 14:36:59 +02:00
decentral1se e837835e00
test: remove duplicate call to EnsureCatalogue
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-10-04 14:05:02 +02:00
decentral1se c646263e9e
fix: validate COMPOSE_FILE
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is passing Details
See coop-cloud/organising#468.
See coop-cloud/organising#376.
2023-10-04 13:27:04 +02:00
decentral1se 422c642949 fix: ensure ipv4 is checked, not sometimes ipv6
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#490
2023-10-04 09:29:10 +00:00
decentral1se 379915587c
fix: don't export from within function
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Also, don't explode on command function which has "export" in the name!

See coop-cloud/organising#498
2023-10-04 11:20:50 +02:00
decentral1se 970ae0fc4e
test: use _test to avoid cyclic imports 2023-10-04 02:36:44 +02:00
decentral1se d11ad61efb
docs: make chaos flag description more generic [ci skip] 2023-10-04 01:34:53 +02:00
decentral1se 54dc696c69
build: fix targets for small local builds
continuous-integration/drone/push Build is passing Details
2023-10-03 09:31:57 +02:00
decentral1se 7e3ce9c42a
chore: go mod tidy 2023-10-03 09:30:26 +02:00
Comrade Renovate Bot 7751423c7d chore(deps): update module github.com/docker/distribution to v2.8.3
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-10-03 07:00:43 +00:00
decentral1se f18f0b6f82
build: set ABRA_DIR explicitly
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2023-09-30 08:26:20 +02:00
decentral1se 892f6c0730
test: ensure catalogue is cloned 2023-09-30 08:19:16 +02:00
decentral1se b53fd2689c
test: add unit test for TestEnsureDomainsResolveSameIPv4 2023-09-30 08:19:02 +02:00
decentral1se 906bf65d47
test: moar domain check tests [ci skip] 2023-09-29 09:31:25 +02:00
decentral1se 1e6a6e6174
fix: app logs retrieves recipe
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-27 09:19:57 +02:00
decentral1se 1e4f1b4ade
build: disable publish image for now
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is failing Details
It's failing for unknown reasons and block releases.

See coop-cloud/recipes-catalogue-json#6
2023-09-25 17:51:30 +02:00
decentral1se 306fe02d1c
chore: tag 0.8.x series
continuous-integration/drone/push Build was killed Details
2023-09-25 17:33:09 +02:00
decentral1se e4610f8ad5
test: make int test script lighter [ci skip] 2023-09-25 16:45:08 +02:00
decentral1se e1f900de14
test: fix app_secret generate tests [ci skip] 2023-09-25 16:32:16 +02:00
decentral1se d5b18d74ef
fix: use secretId to match secret names in configs
continuous-integration/drone/push Build is passing Details
2023-09-25 15:51:15 +02:00
decentral1se 776a83d8d1
fix: use new GetComposeFiles API 2023-09-25 15:51:03 +02:00
decentral1se 810cea8269
test: bats does output for us [ci skip] 2023-09-25 12:14:35 +02:00
decentral1se c0f3e6f2a4
test: integration test script [ci skip] 2023-09-25 12:00:39 +02:00
decentral1se 7b240059b0
test: fix app_backup recipe cleanups [ci skip] 2023-09-25 11:50:29 +02:00
decentral1se c456d13881
test: fix recipe_* tests [ci skip] 2023-09-25 11:27:36 +02:00
decentral1se c7c553164d
test: fix refute output check [ci skip] 2023-09-25 11:21:36 +02:00
decentral1se 7616528f4e
test: ensure app cleanup 2023-09-25 11:20:56 +02:00
decentral1se 6cd85f7239
test: dont assert_success for check [ci skip] 2023-09-25 11:11:29 +02:00
decentral1se b1774cc44b
test: fix app_check tests 2023-09-25 10:52:47 +02:00
decentral1se e438fc6e8e
test: reset recipe in file teardown 2023-09-25 10:52:27 +02:00
decentral1se c065ceb1f0
test: secret generation & --offline/chaos handling tests
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-09-25 10:33:15 +02:00
decentral1se ce4b775428
build: require 1.18 due to slices.Contains usage 2023-09-25 10:32:41 +02:00
decentral1se d02f659bf8
fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
decentral1se f3ded88ed8
fix: app version includes tags, sorts & tests
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#442
2023-09-24 11:19:27 +02:00
decentral1se bf648eeb5d
fix: recipe versions sorts, aligns & spaces 2023-09-24 11:18:26 +02:00
decentral1se 533edbf172
fix: recipe versions lists correctly (also -m) 2023-09-24 10:56:02 +02:00
decentral1se 78b8cf9725
test: fix git tag command [ci skip] 2023-09-24 00:56:00 +02:00
decentral1se f0560ca975
test: no args for helpers, fix recipe_* tests [ci skip] 2023-09-23 23:57:52 +02:00
decentral1se ce7b4733d7
test: tag/git helpers & refactor [ci skip] 2023-09-23 23:19:49 +02:00
decentral1se 575bfbb0fb
test: test arguments, notes, local tag lookup
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-23 09:17:24 +02:00
decentral1se 510ce66570
feat: version arguments, local tag lookups & release notes
See:
* coop-cloud/organising#441
* coop-cloud/organising#204
* coop-cloud/organising#493
2023-09-23 09:15:27 +02:00
decentral1se 82631d9ab1
fix: don't output if not tags 2023-09-23 09:15:17 +02:00
decentral1se 358490e939
refactor: deploy output wording 2023-09-23 09:14:45 +02:00
decentral1se 79b9cc9be7
fix: --offline/--chaos handlings for backup/check/cmd/restore
continuous-integration/drone/push Build is passing Details
2023-09-22 09:47:36 +02:00
decentral1se 9b6eb613aa
test: woops, keep unit test target default
continuous-integration/drone/push Build is passing Details
2023-09-21 12:06:41 +02:00
decentral1se 8f1231e409
test: integration test for `abra app upgrade` [ci skip] 2023-09-21 11:52:58 +02:00
decentral1se aa37c936eb
test: pass arg to _checkout_recipe 2023-09-21 11:52:21 +02:00
decentral1se 3d1158a425
fix: don't read TIMEOUT for version= label
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#451
2023-09-21 11:33:45 +02:00
decentral1se 8788558cf1
fix: only sync version label once
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#492
2023-09-21 10:58:17 +02:00
decentral1se 76035e003e
fix: recipe workflow with integration tests
continuous-integration/drone/push Build is failing Details
2023-09-21 10:36:53 +02:00
decentral1se b708382d26
feat: recipe lint supports --chaos 2023-09-21 09:07:00 +02:00
decentral1se 557b670fc5
docs: improve recipe fetch usage/desc [ci skip] 2023-09-21 08:46:33 +02:00
decentral1se e116148c49
test: ensure catalogue --chaos works [ci skip]
Closes coop-cloud/organising#462.
2023-09-20 14:19:49 +02:00
decentral1se d5593b69e0
test: ensure 3 commits behind, ignore output on fail [ci skip] 2023-09-20 14:10:07 +02:00
decentral1se 0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing Details
2023-09-20 13:51:06 +02:00
decentral1se 7a9224b2b2
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-09-19 12:38:02 +02:00
Comrade Renovate Bot e73d1a8359 chore(deps): update module gotest.tools/v3 to v3.5.1
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-19 07:02:01 +00:00
decentral1se f8c49c82c8
fix: skip "abra-integration-test-recipe" also
continuous-integration/drone/push Build is passing Details
2023-09-18 14:02:38 +02:00
decentral1se ab7edd2a62
refactor!: drop "record" & "server new" command
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
These were alpha prototypes and we'll reconsider once other layers of
Abra are more stable.
2023-09-14 16:45:01 +02:00
decentral1se b1888dcf0f
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-09-14 09:39:28 +02:00
Comrade Renovate Bot e5e122296f chore(deps): update module github.com/go-git/go-git/v5 to v5.9.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-13 07:01:51 +00:00
decentral1se 83bf148304
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-09-07 14:34:40 +02:00
Comrade Renovate Bot d80b882b83 chore(deps): update module github.com/docker/docker to v24.0.6
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-09-07 07:02:43 +00:00
Comrade Renovate Bot c345c6f5f1 chore(deps): update module github.com/docker/cli to v24.0.6
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-06 07:01:56 +00:00
decentral1se f8c4fd72a3
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-09-05 13:56:34 +02:00
decentral1se 10f612f998
test: more integration tests
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-05 13:03:38 +02:00
decentral1se 58e78e4d7c fix: overridable ABRA_DIR
continuous-integration/drone/push Build is failing Details
2023-09-05 09:58:13 +00:00
decentral1se 25258d3d64 fix: separate abra/kababra makefile targets 2023-09-05 09:58:13 +00:00
decentral1se b3bd058962 chore: don't join if nothing to join 2023-09-05 09:58:13 +00:00
decentral1se b4fd7fd77c fix: clone catalogue on initial run 2023-09-05 09:58:13 +00:00
decentral1se 64cfdae6b7 fix: only load client if creating secrets 2023-09-05 09:58:13 +00:00
decentral1se 0a765794f2 test: write initial automatic integration tests 2023-09-05 09:58:13 +00:00
decentral1se 18dc6e9434 feat: support abra testing mode 2023-09-05 09:58:13 +00:00
Comrade Renovate Bot 4ba4107288 chore(deps): update module golang.org/x/sys to v0.12.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-04 07:02:01 +00:00
decentral1se d9b4f4ef3b
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-08-26 09:58:46 +02:00
Comrade Renovate Bot c365dcf96d chore(deps): update module github.com/hetznercloud/hcloud-go to v1.50.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-08-25 07:02:00 +00:00
Comrade Renovate Bot 0c6a7cc0b8 chore(deps): update module github.com/hetznercloud/hcloud-go to v1.49.1
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-08-18 07:01:42 +00:00
decentral1se 6640cfab64
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-08-13 17:42:24 +02:00
Comrade Renovate Bot 71addcd1b2 chore(deps): update module github.com/hetznercloud/hcloud-go to v1.49.0
continuous-integration/drone/push Build is failing Details
2023-08-13 15:41:44 +00:00
decentral1se 60c0e55e3d fix: don't specify refs when pulling tags
continuous-integration/drone/push Build is failing Details
See coop-cloud/organising#477
2023-08-13 12:07:37 +00:00
Comrade Renovate Bot e42139fd83 chore(deps): update golang docker tag to v1.21
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-08-09 07:02:07 +00:00
Comrade Renovate Bot 2d826e47d0 chore(deps): update module golang.org/x/sys to v0.11.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-08-07 07:01:55 +00:00
Rich M 2db172ea5a Further changes to messages.
continuous-integration/drone/push Build is passing Details
2023-08-04 19:22:48 +00:00
Richard M 2077658f6a Attempt to replace the deploy completed message. 2023-08-04 19:22:48 +00:00
Richard M 502e26b534 Change message when starting to poll for deployment status. 2023-08-04 19:22:48 +00:00
Rich M e22b692ada Add os hook for interrupt signal while waiting for service to converge. 2023-08-04 19:22:48 +00:00
decentral1se 5ae73f700e
Merge branch 'fix-deploy-no-catalogue'
continuous-integration/drone/push Build was killed Details
2023-08-02 10:48:54 +02:00
decentral1se 63d419caae
Merge branch 'fix-478' 2023-08-02 10:48:46 +02:00
decentral1se 179b66d65c
Merge branch 'fix-476' 2023-08-02 10:48:37 +02:00
decentral1se c9144d90f3
refactor: integration -> manual 2023-08-02 08:45:24 +02:00
decentral1se ebf5d82c56
fix: failover if no recipe meta available
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-08-02 00:48:27 +02:00
decentral1se 8bb98ed0ed
fix: deploy fresh recipe without versions
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
See coop-cloud/organising#476
2023-08-01 21:47:34 +02:00
decentral1se 23f5745cb8
fix: skip recipe clone / up to date sync for some commands
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Continues work of 3dc5662821.
2023-08-01 21:19:20 +02:00
decentral1se 2cd453ae8d
build: attempt to ignore goreleaser upgrades
continuous-integration/drone/push Build is failing Details
See e42cc0f91d.
2023-08-01 19:33:36 +02:00
decentral1se e42cc0f91d
Revert "chore(deps): update goreleaser/goreleaser docker tag to v1.19.2"
This reverts commit 1de45a6508.

See 8fa9419c99.
2023-08-01 19:31:51 +02:00
Comrade Renovate Bot 1de45a6508 chore(deps): update goreleaser/goreleaser docker tag to v1.19.2
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2023-07-31 07:02:04 +00:00
decentral1se 55c7aca3c0
chore: publish 0.8.0-rc2-beta
continuous-integration/drone/push Build was killed Details
2023-07-29 00:31:49 +02:00
decentral1se 8fa9419c99
build: pin to goreleaser v18 [ci skip]
See coop-cloud/organising#474
2023-07-29 00:22:01 +02:00
decentral1se 73ad0a802e
Revert "build: replacements is deprecated"
This reverts commit 473cae0146.

Aiming to freeze on an old version of goreleaser for now.
2023-07-29 00:14:08 +02:00
decentral1se 798fd2336c
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-07-27 21:48:49 +02:00
Comrade Renovate Bot 70e65d6667 chore(deps): update module github.com/go-git/go-git/v5 to v5.8.1
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-07-27 07:06:22 +00:00
decentral1se efc9602808
chore: welcome comrade rix [ci skip] 2023-07-26 09:59:22 +02:00
decentral1se 1e110f1375
docs: wording [ci skip] 2023-07-26 09:58:30 +02:00
decentral1se 473cae0146
build: replacements is deprecated
continuous-integration/drone/push Build was killed Details
2023-07-26 09:18:52 +02:00
decentral1se 2da859896a
fix: point to rc1 [ci skip] 2023-07-26 08:53:39 +02:00
decentral1se ab00578ee1
chore: publish 0.8.0-rc1-beta
continuous-integration/drone/push Build was killed Details
2023-07-26 08:52:33 +02:00
decentral1se 3dc5662821
fix: improved offline support
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
decentral1se ab64eb2e8d
fix: only use git to update local catalogue
See coop-cloud/organising#321.
2023-07-25 21:13:04 +02:00
decentral1se 4f22228aab
feat: lint for lightweight tags
See coop-cloud/organising#433
2023-07-25 20:38:29 +02:00
decentral1se a7f1af7476
refactor: drop internal deploy package 2023-07-25 18:03:37 +02:00
decentral1se 949510d4c3 revert: always clone latest recipe changes
continuous-integration/drone/push Build is failing Details
This change was about trying to optimise for offline scenarios but
caused a lot of issues for the online case. It needs to be thought
through again.

See coop-cloud/organising#471.

Closes coop-cloud/organising#432.
2023-07-25 15:05:01 +00:00
decentral1se 9f478dac1d
fix: list downgrades/upgrades in correct order
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
Now that we have correct sorting of versions:

  coop-cloud/organising#427

We don't need to reverse sort. Only for showing prompts when the
latest should be the first. Otherwise, logic can follow the sorted
order, the last item in the list is the latest upgrade.

Related:

  coop-cloud/organising#444

Also fix `upgrade` to actually show the latest version
2023-07-25 15:08:32 +02:00
decentral1se 69f38ea445
fix: always show overview, even with -f
coop-cloud/organising#444
2023-07-25 15:08:10 +02:00
decentral1se 0582147874
fix: better error message for missing local tag
Aiming to help the following scenario better:

coop-cloud/organising#444 (comment)
2023-07-25 15:07:29 +02:00
decentral1se bdeeb75973
fix: upgrade force logic parity with deploy force logic
coop-cloud/organising#444 (comment)
2023-07-25 15:06:50 +02:00
decentral1se 2518e65e3e
chore: go mod tidy
continuous-integration/drone/push Build is passing Details
2023-07-25 10:22:02 +02:00
decentral1se 8354c92654
Merge remote-tracking branch 'origin/renovate/main-github.com-docker-docker-24.x' 2023-07-25 10:21:16 +02:00
Comrade Renovate Bot 173e81b885 chore(deps): update module github.com/docker/docker to v24.0.5
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-07-25 07:05:53 +00:00
Comrade Renovate Bot d91731518b chore(deps): update module github.com/docker/cli to v24.0.5
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-07-25 07:05:47 +00:00
Comrade Renovate Bot 2bfee5058d chore(deps): update module github.com/go-git/go-git/v5 to v5.8.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-07-24 07:03:29 +00:00
Richard M a7ce71d6cf Fix formatting.