decentral1se
cccbe4a2ec
fix: typo [ci skip]
2023-02-11 23:53:42 +01:00
decentral1se
f53cfb6c36
fix: better error message when missing context [ci skip]
2023-02-11 23:49:01 +01:00
decentral1se
7c1a97be72
refactor!: consolidate SSH handling
...
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
decentral1se
6fe5aed408
fix!: remove digest handling
...
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
decentral1se
6aa23a76a1
fix: more precise filtering
...
Closes coop-cloud/organising#305 .
2022-03-27 19:30:36 +00:00
decentral1se
c66695d55e
fix: return err not logrus + new lines
2022-03-12 17:02:04 +01:00
decentral1se
b295958c17
fix: handle all container registries
...
See coop-cloud/organising#258
This fixes also how we read the digest of the image. I think it was
wrong before. Some registries restrict reading this info and we now just
default to "unknown" for that case.
This also appears to bring a wave of new dependencies due to the generic
handling logic of containers/... package. The abra binary is now 1mb
larger.
The catalogue generation is now slower unfortunately. But it is more
robust.
The generic logic looks in ~/.docker/config.json for log in details, so
you don't have to pass those in manually on the CLI anymore. We just
read those defaults. You can "docker login" to get credentials setup in
that file. Since most folks won't generate the catalogue, this seems
fine for now.
2022-02-21 08:46:30 +00:00
decentral1se
bfeda40e34
fix: catch more ssh failure modes with help
2022-02-03 13:43:11 +01:00
decentral1se
6a98024a2b
refactor: drop old/upstream TODOs
2021-12-28 01:31:50 +01:00
decentral1se
9c281d8608
fix: flags for logging in
2021-12-27 03:27:05 +01:00
decentral1se
b0834925a3
fix: log in correctly
...
See coop-cloud/abra#139 .
2021-12-26 03:44:29 +01:00
decentral1se
3b5354b2a5
refactor: less quotes
2021-12-25 02:03:09 +01:00
decentral1se
48e16c414c
fix: use correct error format
2021-12-12 01:56:43 +01:00
decentral1se
f3e55e5023
fix: support registry login details
2021-12-12 01:52:28 +01:00
decentral1se
cb32e88cde
fix: support retryable http clients
...
Closes coop-cloud/organising#257 .
2021-11-22 18:28:18 +01:00
decentral1se
cd361237e7
Revert "Revert "test: remove broken tests for client""
...
This reverts commit 59031595ea
.
Argh, reverted this by accident, heres another one!
2021-11-09 18:25:28 +01:00
decentral1se
59031595ea
Revert "test: remove broken tests for client"
...
This reverts commit 17a5f1529a
.
2021-11-09 17:58:31 +01:00
knoflook
17a5f1529a
test: remove broken tests for client
2021-11-09 13:03:33 +01:00
decentral1se
edb427a7ae
feat: implement host key checking
...
Closes coop-cloud/organising#237 .
2021-11-08 15:37:23 +01:00
decentral1se
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
decentral1se
fc2deda1f6
Revert "fix: drop copy/pasta, keep timeouts"
...
This reverts commit a170e26e27
.
Attempting to add more nuanced timeout logic.
2021-11-02 15:18:17 +01:00
decentral1se
963f8dcc73
fix: recover tests from overzealous cleanup
2021-10-21 19:40:26 +02:00
decentral1se
dc04cf5ff7
chore: migrate all upstream code to own dir
2021-10-21 19:35:13 +02:00
decentral1se
80921c9f55
fix: remove cruft + readme pass + document forks
2021-10-21 18:35:24 +02:00
decentral1se
a170e26e27
fix: drop copy/pasta, keep timeouts
2021-10-21 15:42:50 +02:00
decentral1se
7a5ad65178
fix: load timeout before other opts
2021-10-21 15:06:03 +02:00
decentral1se
74bcb99c70
fix: use this weird default
...
Closes coop-cloud/organising#207 .
2021-10-19 22:43:43 +02:00
decentral1se
d1e42752e2
fix: set connection timeouts + clean up bad contexts
...
Closes coop-cloud/organising#205 .
2021-10-18 10:48:43 +02:00
decentral1se
6d42e72f16
fix: allow for client creation on default context
...
See coop-cloud/organising#206 .
2021-10-17 23:50:44 +02:00
knoflook
dc040a0b38
chore: change test context names
2021-10-16 13:26:03 +02:00
knoflook
e6e2e5214f
test: add tests for pkg/client/client.go
2021-10-16 13:04:57 +02:00
knoflook
61452b5f32
docs: add README.md to document testing
2021-10-16 12:26:43 +02:00
knoflook
78460ac0ba
test: increatse client/context.go coverage to 90%
2021-10-16 11:41:41 +02:00
decentral1se
d0828c4d8d
fix: teach app version command to read new versions
2021-10-14 11:29:57 +02:00
decentral1se
37022bf0c8
feat: make deploy only deploy
...
See coop-cloud/organising#127 .
2021-10-13 16:51:04 +02:00
decentral1se
9fcdc45851
feat: debug logging
...
Closes coop-cloud/organising#164 .
2021-09-11 11:45:26 +02:00
decentral1se
3c3d8dc0e7
WIP: add first run at app rollback command
...
See coop-cloud/organising#146 .
2021-09-10 11:49:29 +02:00
decentral1se
d82f854ebd
test: fix test suite to understand pkg/ directory
2021-09-05 21:39:12 +02:00
decentral1se
b7742d5e18
refactor: use pkg directory structure
2021-09-05 21:37:03 +02:00