Commit Graph

53 Commits

Author SHA1 Message Date
99e3ed416f fix: secret name generation when secretId is not part of the secret name
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-04 21:52:09 +00:00
3957b7c965 proper env modifiers support
All checks were successful
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
c249c6ae9c fix: fix: trim comments that are not modifers
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
57692ec3c9 feat: add --machine to secret ls
See coop-cloud/organising#481
2023-10-04 23:08:39 +02:00
8078e91e52 fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
d02f659bf8 fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
79b9cc9be7 fix: --offline/--chaos handlings for backup/check/cmd/restore
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-22 09:47:36 +02:00
0be532692d test: moar integration tests [ci skip]
Some checks failed
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
3dc5662821 fix: improved offline support
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
7c1a97be72 refactor!: consolidate SSH handling
Some checks failed
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#389.
Closes coop-cloud/organising#341.
Closes coop-cloud/organising#326.
Closes coop-cloud/organising#380.
Closes coop-cloud/organising#360.
2023-02-02 08:37:14 +00:00
323f4467c8 fix: filtering requires case-by-case handling
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
See https://github.com/moby/moby/issues/32985.
2022-03-30 16:25:38 +02:00
6aa23a76a1 fix: more precise filtering
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
7f315315f0 fix: better prompts & matching for secret removal
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-13 10:59:19 +01:00
6a50981120 fix: match on generation of single secret 2022-03-13 10:50:35 +01:00
c67471e6ca fix: show which secret was generated 2022-03-13 10:45:08 +01:00
a9b522719f fix: use name not stack name for pass storage 2022-03-12 16:01:31 +01:00
d61e104536 fix: look at removal flag for pass logic 2022-03-12 15:48:43 +01:00
d5f30a3ae4 fix: use removal flag with correct help 2022-03-12 15:48:26 +01:00
b4b0b464bd fix: only delete secrets from specific app
Some checks failed
continuous-integration/drone/push Build is failing
See coop-cloud/organising#300.
2022-03-12 09:39:30 +01:00
d8a1b0ccc1 doc: indicate storage location of secret in logs 2022-03-12 09:39:15 +01:00
3fbd381f55 fix: add pass remove flag & show name is optional 2022-03-12 09:17:24 +01:00
c529988427 feat: output success for secret insert [ci skip] 2022-03-08 18:10:37 +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
All checks were successful
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
e0fa1b6995 fix: let users know what was deleted
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-06 11:47:10 +01:00
25b44dc54e refactor!: use lowercase option to match others
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-04 12:25:45 +01:00
0c2f6fb676 fix: app autocomplete for secret commands 2022-01-04 12:24:37 +01:00
0b46909961 fix: dont output if no secrets 2022-01-02 15:19:30 +01:00
f5d2d3adf6 refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
3b5354b2a5 refactor: less quotes
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-25 02:03:09 +01:00
ae6adace50 refactor: autocomplete package
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 00:17:39 +01:00
9b704b002b fix: include app arg in docs
All checks were successful
continuous-integration/drone/push Build is passing
Follow up to bd92c52eed.
2021-11-02 14:54:53 +01:00
bd92c52eed fix: document secret names more coherently
Some checks failed
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#215.
2021-11-02 14:21:55 +01:00
0a1c73bf00 refactor: use cli context vs creating new one
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-16 11:21:38 +01:00
66aeeee768 fix: completion doesn't fail silently now
All checks were successful
continuous-integration/drone/push Build is passing
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
511619722f feat: autocomplete recipe names for more abra commands
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-08 13:59:55 +02:00
a06870f5cb fix: generating secrets works again again
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/go-abra#68.
2021-09-07 08:28:20 +02:00
b477bf8ece fix: get app new working again 2021-09-07 08:12:37 +02:00
d4333c2dc0 refactor: use app getting instead of boilerplate
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-05 23:17:35 +02:00
ec40d88134 refactor: centralise app name validation
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 00:41:31 +02:00
45c6be02b1 refactor: check for errors on secret rm
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 17:08:25 +01:00
32b2bf245b refactor: simplfiy for...range loops
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 16:17:08 +01:00
57e641689a feat: add secret generate (untested, moving fast)
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 11:59:07 +02:00
d68f2f5686 feat: add app secret insert
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 10:50:02 +02:00
f9ae9c9a56 feat: add app secret rm
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 10:31:54 +02:00