23 Commits

Author SHA1 Message Date
59031595ea
Revert "test: remove broken tests for client"
This reverts commit 17a5f1529aa32da3abc9da7a44864c21966eea5e.
2021-11-09 17:58:31 +01:00
17a5f1529a
test: remove broken tests for client 2021-11-09 13:03:33 +01:00
edb427a7ae
feat: implement host key checking
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
e37b49201f
fix: use IdleConnTimeout/ConnectTimeout
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
963f8dcc73
fix: recover tests from overzealous cleanup 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 2021-10-21 18:35:24 +02:00
a170e26e27
fix: drop copy/pasta, keep timeouts 2021-10-21 15:42:50 +02:00
7a5ad65178
fix: load timeout before other opts 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
d1e42752e2
fix: set connection timeouts + clean up bad contexts
Closes coop-cloud/organising#205.
2021-10-18 10:48:43 +02:00
6d42e72f16
fix: allow for client creation on default context
See coop-cloud/organising#206.
2021-10-17 23:50:44 +02:00
dc040a0b38
chore: change test context names 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
d0828c4d8d
fix: teach app version command to read new versions 2021-10-14 11:29:57 +02:00
37022bf0c8
feat: make deploy only deploy
See coop-cloud/organising#127.
2021-10-13 16:51:04 +02:00
9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
3c3d8dc0e7
WIP: add first run at app rollback command
See coop-cloud/organising#146.
2021-09-10 11:49:29 +02:00
d82f854ebd
test: fix test suite to understand pkg/ directory 2021-09-05 21:39:12 +02:00
b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00