148 Commits

Author SHA1 Message Date
e589709cb0
fix: attempt to include IdentityFile if available
All checks were successful
continuous-integration/drone/push Build is passing
This is part of trying to debug:

    coop-cloud/organising#250

And also part of:

    coop-cloud/docs.coopcloud.tech#27

Where I now try to specify the same logic as `ssh -i <my-key-path>` in
the underlying connection logic. This should help with being more
explicit about what key is being used via the SSH config file.
2021-11-18 21:16:10 +01:00
56c3e070f5
fix: log what keys are loaded with the ssh-agent
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#249.
2021-11-18 20:04:57 +01:00
1f6e4fa4a3
fix: ensure to init/commit the new recipe repo
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#247.
2021-11-15 18:55:13 +01:00
4a245c3e02
fix: ensure .git repo exists
Part of coop-cloud/organising#247.
2021-11-15 18:55:13 +01:00
915083b426
fix: time out on 60 sec + of converge checks
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#246.
2021-11-14 23:15:35 +01:00
486a1717e7
fix: dont attempt to clone is local repo is there
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#247.
2021-11-14 22:54:55 +01:00
9122c0a9b8
fix: ensure domain/server resolve to same ipv4
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#227 (comment).
2021-11-14 22:47:18 +01:00
85ff04202f
fix: ensure ipv4 is present for app deploys
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#227.
2021-11-13 23:04:58 +01:00
f78a04109c
fix: clarify when deploy done [ci skip] 2021-11-10 09:15:52 +01:00
b67ad02f87
feat: rudimentary deploy status checking
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#209.
2021-11-10 09:06:55 +01:00
cd361237e7
Revert "Revert "test: remove broken tests for client""
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 59031595ea88091f6ccb278579515eb6a8a38e4d.

Argh, reverted this by accident, heres another one!
2021-11-09 18:25:28 +01:00
59031595ea
Revert "test: remove broken tests for client"
This reverts commit 17a5f1529aa32da3abc9da7a44864c21966eea5e.
2021-11-09 17:58:31 +01:00
6f26b51f3e
fix: only check host keys on requested hosts
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#242.
2021-11-09 17:44:13 +01:00
17a5f1529a
test: remove broken tests for client
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
2021-11-09 13:03:33 +01:00
edb427a7ae
feat: implement host key checking
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
2b9395be1a
feat: make sync use wizard mode
All checks were successful
continuous-integration/drone/push Build is passing
Some bugs squashed while testing this extensively.
2021-11-06 23:40:22 +01:00
f9726b6643
WIP: temporarily avoid SSH host key checking
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#234.
Closes coop-cloud/organising#142.
2021-11-05 12:33:32 +01:00
de7054fd74
fix: use x-platform code for pdeathsig
Some checks reported errors
continuous-integration/drone/push Build was killed
This might cause the macosx build not to fail, I hope.

See https://github.com/docker/cli/tree/v20.10.10/cli/connhelper/commandconn
2021-11-03 09:57:35 +01:00
e4e606efb0
feat: catalogue generate now rate limits
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#231.
2021-11-03 06:53:38 +01:00
e37b49201f
fix: use IdleConnTimeout/ConnectTimeout
All checks were successful
continuous-integration/drone/push Build is passing
This is an attempt to set sensible timeouts on abra connections. This
might not be the last word on this but it seems that SSH connections now
bail out correctly and other kinds of commands don't explode (e.g.
logs).

Closes coop-cloud/organising#222.
Closes coop-cloud/organising#218.
2021-11-02 15:49:11 +01:00
fc2deda1f6
Revert "fix: drop copy/pasta, keep timeouts"
This reverts commit a170e26e27b373a73616bc4671c8c074644031a0.

Attempting to add more nuanced timeout logic.
2021-11-02 15:18:17 +01:00
7f176d8e2f
fix: ensure logging for status checks
Closes coop-cloud/organising#226.
2021-11-02 15:15:52 +01:00
3b77607f36
fix: better error messages for missing repos
Some checks failed
continuous-integration/drone/push Build is failing
2021-11-02 13:36:40 +01:00
d56400eea8
fix: bail out on unstage changes for plain --force
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-26 10:52:26 +02:00
066b2b9373
fix: stream output from remote ssh commands 2021-10-26 01:30:10 +02:00
aec11bda28
fix: add ssh conn time outs 2021-10-26 00:33:18 +02:00
8e3f90a7f3
fix: server inputs handling + better logging 2021-10-25 23:48:49 +02:00
3d46ce6db2
refactor: more seamless SSH connections
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-25 11:13:41 +02:00
9e0d77d5c6
refactor: better SSH connection details handling
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-25 10:42:39 +02:00
8772217f41
fix: working provisioning post chaos testing
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-25 10:06:16 +02:00
9a0e12258a
feat: provision docker installation
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-24 23:15:38 +02:00
a458a5d9f7
docs: mark upstreams for all upstreams
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 19:54:43 +02:00
963f8dcc73
fix: recover tests from overzealous cleanup
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 19:40:26 +02:00
dc04cf5ff7
chore: migrate all upstream code to own dir 2021-10-21 19:35:13 +02:00
80921c9f55
fix: remove cruft + readme pass + document forks
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 18:35:24 +02:00
a170e26e27
fix: drop copy/pasta, keep timeouts
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-21 15:42:50 +02:00
7a5ad65178
fix: load timeout before other opts
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-21 15:06:03 +02:00
74bcb99c70
fix: use this weird default
Closes coop-cloud/organising#207.
2021-10-19 22:43:43 +02:00
597b4b586e
WIP: domain listing with Gandi
All checks were successful
continuous-integration/drone/push Build is passing
Rethinking the interface already.
2021-10-18 22:16:29 +02:00
7ea3df45d4
WIP: dns support via libdns
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 20:35:43 +02:00
d1e42752e2
fix: set connection timeouts + clean up bad contexts
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#205.
2021-10-18 10:48:43 +02:00
9526d1fde6
fix: ensure we have version checked out on deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 09:30:43 +02:00
62cc7ef92d
feat: upgrade/downgrade support chaos mode
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 08:57:25 +02:00
2f9b11f389
feat: support deploying with chaos mode
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-18 08:14:06 +02:00
6d42e72f16
fix: allow for client creation on default context
Some checks failed
continuous-integration/drone/push Build is failing
See coop-cloud/organising#206.
2021-10-17 23:50:44 +02:00
dc040a0b38
chore: change test context names
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-16 13:26:03 +02:00
e6e2e5214f
test: add tests for pkg/client/client.go 2021-10-16 13:04:57 +02:00
61452b5f32
docs: add README.md to document testing 2021-10-16 12:26:43 +02:00
78460ac0ba
test: increatse client/context.go coverage to 90% 2021-10-16 11:41:41 +02:00
ae32b1eed2
fix: standardise checkout options
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-14 12:17:58 +02:00