3wc
8554e68418
fix: line break after `recipe create`
2021-08-06 10:37:15 +02:00
decentral1se
202f7ce561
WIP: spec'ing out the release command
...
See coop-cloud/go-abra#39 .
2021-08-04 23:52:34 +02:00
decentral1se
9378db1979
fix: look up ipv4 from host correctly
...
We use a custom resolver now instead of relying on the baked-in
Golang resolver which has issues. We use a friendly librehoster
DNS resolver and not Google because fuck that.
2021-08-04 22:51:07 +02:00
decentral1se
efb9d6f6a5
feat: finalise recipe lint command
2021-08-04 00:07:23 +02:00
decentral1se
327e2afcd0
docs: remove marker, "re-open" release command
2021-08-04 00:07:05 +02:00
knoflook
e22d22056d
Update 'TODO.md'
2021-08-03 20:09:23 +00:00
decentral1se
532bb8a336
WIP: recipe lint command
2021-08-03 19:25:32 +02:00
decentral1se
3a42288a59
docs: add ref to new command
...
See coop-cloud/go-abra#40 .
2021-08-03 13:59:10 +02:00
decentral1se
471c982f63
refactor: use new internal arg failure func
2021-08-03 13:57:12 +02:00
decentral1se
43238d379c
docs: mark those as in-progress
2021-08-03 12:04:13 +02:00
Roxie Gibson
239c925d66
WIP: foundations for app deploy
2021-08-03 08:49:16 +01:00
Roxie Gibson
b351760f6e
refactor(typo): typo of hetzner in output for user
2021-08-02 23:26:57 +01:00
decentral1se
102f4e22b5
docs: fix typo
2021-08-02 22:03:53 +02:00
decentral1se
444ac52476
docs: mark that all done
2021-08-02 15:27:18 +02:00
decentral1se
5294e84d5e
feat: implement capsul create
2021-08-02 15:11:14 +02:00
decentral1se
3e91174ce0
feat: implement hetzner new command
2021-08-02 14:05:39 +02:00
Roxie Gibson
fa16ce20eb
refactor: added more comments to functions
...
many more are required but in too tired to do more
2021-08-02 08:02:18 +01:00
Roxie Gibson
38d8b51bd5
refactor: moved a lot of flags & added comments
...
Comments added to fix the golint errors on exported things need comments
2021-08-02 07:36:35 +01:00
Roxie Gibson
9070806f8d
refactor: deal with err from ShowSubcommandHelp
2021-08-02 05:58:47 +01:00
Roxie Gibson
bb1eb372ef
refactor: stack func to client, mv app to new file
...
Stack interaction is now under client.
App types and functions moved from env to app under config
2021-08-02 05:51:58 +01:00
Roxie Gibson
d777eb2af1
refactor(style): errs should not start with upper
2021-08-02 04:20:02 +01:00
Roxie Gibson
a3f574a8fa
refactor: app new cmd to be easier to read
2021-08-02 04:18:20 +01:00
Roxie Gibson
30d11f48a7
refactor: break up cli pkg into nice small chunks
2021-08-02 02:10:41 +01:00
Roxie Gibson
c2f53e493e
deps: upgraded hcloud-go to direct dep
2021-08-02 01:10:19 +01:00
Roxie Gibson
dc4e490497
refactor(style): error str shouldnt be capitalized
2021-08-02 01:09:25 +01:00
Roxie Gibson
ffd1b3a771
refactor: function rename
...
`errorExit` renamed to `showSubcommandHelpAndError`
2021-08-02 01:08:17 +01:00
Roxie Gibson
8267d4202b
feat: function to display help, error, & exit
2021-08-02 00:57:11 +01:00
decentral1se
d74b7636a1
WIP make a start on the hetzner command
2021-08-02 01:54:16 +02:00
Roxie Gibson
9d621404fd
fix: avoid runtime error when list is empty
2021-08-02 00:37:23 +01:00
decentral1se
4ae5e6123d
refactor: add specific check for missing context
2021-08-02 01:06:41 +02:00
decentral1se
19d435c5e5
feat: implement server init
2021-08-02 01:03:27 +02:00
decentral1se
6be54c670a
fix: error out if missing server arg
2021-08-02 00:37:25 +02:00
decentral1se
a1bce4661b
docs: server CLI documentation
2021-08-02 00:30:03 +02:00
decentral1se
8a5ee68b7b
refactor: drop alias command
...
Save us some work and avoid confusion on two things doing the same thing
under different top-level sub-commands (this was just an experiment
after all).
2021-08-02 00:20:39 +02:00
decentral1se
1846f965ec
docs: mark this as done
2021-08-02 00:13:58 +02:00
Roxie Gibson
805defec09
docs(comment): updated comment to be upto date
2021-07-31 21:25:32 +01:00
Roxie Gibson
f958b888b6
fix: TestReadEnv test due to refactor
2021-07-31 21:08:50 +01:00
Roxie Gibson
1768809872
chore: add vendor folder to gitignore
2021-07-31 21:02:17 +01:00
decentral1se
8abc47d2e0
docs: some README love
2021-07-31 19:13:59 +02:00
decentral1se
bf7de84c66
chore: upgrade godotenv fork for multiline support
...
Also ran `go mod tidy`.
2021-07-31 19:03:31 +02:00
decentral1se
760ac495b3
fix: handle error for reading apps
2021-07-31 18:47:32 +02:00
decentral1se
4d12a75494
docs: more specifics in TODO file
2021-07-31 16:17:06 +02:00
decentral1se
1442c71911
docs: mark that one as not in progress
2021-07-31 15:50:50 +02:00
decentral1se
e4c864a60c
docs: mark that one as done
2021-07-31 15:50:23 +02:00
decentral1se
42968fb8e1
feat: finally implement app new command
2021-07-31 15:50:04 +02:00
decentral1se
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
decentral1se
5771f6c158
WIP another pass on the app new command
2021-07-30 22:55:00 +02:00
decentral1se
e728bcd7ac
docs: CLI flag docs and rewording of usage
2021-07-30 22:54:30 +02:00
decentral1se
769c5b899b
refactor: abstract secret generation into package
2021-07-30 22:53:51 +02:00
decentral1se
f56ddef6c8
WIP: another step further into app new command
2021-07-30 20:14:17 +02:00