760ac495b3
fix: handle error for reading apps
2021-07-31 18:47:32 +02:00
42968fb8e1
feat: finally implement app new command
2021-07-31 15:50:04 +02:00
932803453e
WIP: still hacking on the app new command
...
Finally had to fork godotenv because it strips comments and we need
those to parse length values (e.g. "FOO=v1 # length=10") (or in other
words, motivation to move to the YAML format).
There is a new secret module now, with functionality for dealing with
generation and parsing of secrets.
The final output needs some work and there is also the final step of
implementing the sending of secrets to the docker daemon. Coming Soon
™️ .
2021-07-31 12:49:22 +02:00
5771f6c158
WIP another pass on the app new command
2021-07-30 22:55:00 +02:00
769c5b899b
refactor: abstract secret generation into package
2021-07-30 22:53:51 +02:00
f56ddef6c8
WIP: another step further into app new command
2021-07-30 20:14:17 +02:00
a581049cf1
refactor: simplify for loop
2021-07-30 16:32:06 +01:00
064a0f271f
WIP: further process on app new command
2021-07-30 13:16:28 +02:00
d422902e09
WIP: spec out first steps for app new command
2021-07-29 12:26:11 +02:00
1187d6bfd5
refactor: move catalogue logic into own package
2021-07-28 22:10:13 +02:00
de3ea8188e
WIP spec out app new command
2021-07-28 14:26:37 +02:00
bf7d437571
docs: more CLI documentation
2021-07-28 13:56:18 +02:00
622e0127ea
docs: fill out app listing CLI docs
2021-07-28 11:29:59 +02:00
0e75350985
feat: prototype for app listing
2021-07-27 21:25:08 +02:00
ef1591d596
WIP: app status listing using concurrency
...
This being my first time using goroutines, it is pretty messy but the
idea has been shown to be workable! We can concurrently look up multiple
contexts for a much faster response time especially when using multiple
servers.
Remaining TODOs are:
- [ ] Get proper status reporting (deployed/inactive/unknown)
- [ ] Error handling (especially when missing contexts)
- [ ] Refactor and tidy
2021-07-27 12:52:09 +02:00
429c7e4e50
docs: take a pass on CLI usage docs and add ASCII
2021-07-26 23:58:34 +02:00
3bc612c44e
WIP: status lookup for apps listing
2021-07-26 20:59:17 +02:00
fae5a87ce2
fix: respect --type/-t logic for app listing
...
Reverts c27376c89bded5313f5d801e631b516fc3ddfc0f. Woops.
2021-07-26 19:59:26 +02:00
145e6326c9
fix: use domain to follow original abra app ls
2021-07-26 19:49:51 +02:00
5def18a9af
fix: sort by server and type for app listing
2021-07-26 19:47:44 +02:00
c27376c89b
fix: disable merging and rely on type being present
2021-07-26 19:16:38 +02:00
01cbee824a
WIP: app list command sorting
2021-07-26 18:23:28 +02:00
fe86b50ee3
refactor: actual context getting
continuous-integration/drone/push Build is passing
2021-07-22 09:51:27 +01:00
29971c36a0
refactor: moved all fatal errors to logrus
...
continuous-integration/drone/push Build is passing
This will allow us to test commands that would normally exit
2021-07-21 09:04:34 +01:00
16514b3151
feat: implemented type & servers flags in app ls
continuous-integration/drone/push Build is passing
2021-07-20 13:00:03 +01:00
cfe2f70151
refactor: moving logging to command functions
...
easier to unit test our util commands like this
2021-07-19 12:47:46 +01:00
bd9bc530d1
faet: a draft version of the app ls command
continuous-integration/drone/push Build is passing
2021-07-19 08:37:00 +01:00
2134f57dd0
WIP: Messy code that is mostly just testing
...
continuous-integration/drone/push Build is passing
This is me trying to print all services in a stack.
Struggling to isolate stack and tasks which is needed for swarm
2021-07-17 09:30:56 +01:00
a78bb9123a
feat: POC passgen
2021-07-15 08:23:26 +01:00
1adca5ca0e
feat: added app commands and flags for commands
2021-07-15 06:17:47 +01:00
9a0bd6dc11
refactor(cli): moved commands and cli out of main
2021-07-15 03:44:07 +01:00