Commit Graph

235 Commits

Author SHA1 Message Date
0aa37fcee8
refactor!: simplifying publish logic
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-27 19:56:27 +01:00
eb1b6be4c5
fix: auto-config ssh urls and push to them
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-27 18:06:56 +01:00
b98397144a
fix: wording 2021-12-27 18:06:46 +01:00
4c186678b8
fix: clone https url by default
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00
c13f438580
refactor: remove old code 2021-12-27 04:03:53 +01:00
9c281d8608
fix: flags for logging in
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-27 03:27:05 +01:00
c5a74e9f6b
fix: template env files too
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-26 04:38:34 +01:00
cdc08ae95a
fix: much hacking, maybe fixed catalogue generation
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-26 04:02:40 +01:00
3f35510507
fix: runtime caching for catalogue generation 2021-12-26 04:01:02 +01:00
b0834925a3
fix: log in correctly
See #139.
2021-12-26 03:44:29 +01:00
17340a79da
refactor: more local var 2021-12-26 00:14:48 +01:00
779c810521
refactor: less quotes, less verbose 2021-12-26 00:14:32 +01:00
9a1cf258a5
fix: check published version properly
Resulted in a refactor to a new lint package.
2021-12-26 00:00:19 +01:00
ba8138079f
fix: use one function for up-to-date checks 2021-12-25 23:45:52 +01:00
8735a8f0ea
feat: lint before deploy/upgrade/rollback
See coop-cloud/organising#254.
2021-12-25 23:35:45 +01:00
a84a5bc320
feat: more robust linting
See coop-cloud/organising#254.
2021-12-25 23:22:50 +01:00
e2c3bc35c3
fix: handle missing label 2021-12-25 17:02:47 +01:00
6937bfbb0d
fix: if no remotes, skip on 2021-12-25 16:56:21 +01:00
4283f130a2
refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
3b5354b2a5
refactor: less quotes
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-25 02:03:09 +01:00
14400d4ed8
fix: sync recipes from remotes
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-24 16:06:29 +01:00
dddf84d92b
fix: avoid default value for idf
We could default to ~/.ssh/id_rsa but if that doesn't exist, then we'll
just be confusing people in the logs. Best is to just rely on the
ssh-agent which overrides this anyway. We will document this.

See coop-cloud/organising#277
2021-12-24 15:39:44 +01:00
fefb042716
fix: shorter timeout on deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-24 02:26:02 +01:00
ab8db8df64
feat: deploy --no-converge-checks & finish app errors 2021-12-24 02:23:46 +01:00
e839f100df
fix: move that back, still wrong but less wrong 2021-12-24 01:32:42 +01:00
41a757b7ed
fix: only show when success is for sure 2021-12-24 00:44:50 +01:00
4b4298caf1
fix: better wording 2021-12-24 00:44:49 +01:00
8e8c241fdf
refactor: less quotes 2021-12-24 00:44:49 +01:00
9b8ff1ddcd
fix: get branch is now more robust 2021-12-24 00:44:44 +01:00
fc29ca6fce
refactor: less quotes 2021-12-24 00:25:45 +01:00
014d32112e
fix: ensure tags & commits are pushed
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-23 02:24:43 +01:00
a7894cbda9
fix: better explanation 2021-12-23 02:10:57 +01:00
0362928840
fix!: parse ttl correctly 2021-12-23 01:41:12 +01:00
7a5aa1b005
test: make them work again
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-23 01:06:56 +01:00
a07e71f7df
fix: grand ssh, provisioning, perms refactor
Some checks failed
continuous-integration/drone/push Build is failing
See coop-cloud/organising#280.
See coop-cloud/organising#273.
2021-12-22 20:08:15 +01:00
ec7223146b
docs: better timeout error 2021-12-21 23:48:32 +01:00
fa45264ea0
refactor: the grand recipe release refactor 2021-12-21 19:25:44 +01:00
2b1cc9f6dd
docs: less quotes, more clarity on init 2021-12-21 02:28:14 +01:00
fc3742212c
fix: more reliable syncing 2021-12-21 01:48:37 +01:00
fccbd7c7d7
chore: style lines 2021-12-21 01:48:21 +01:00
ae9e66c319
docs: less quotes, different quotes 2021-12-20 01:05:51 +01:00
8d499c0810
fix: find local only apps 2021-12-20 00:50:09 +01:00
0a903f041f
refactor: less quotes 2021-12-20 00:49:36 +01:00
bf82bc9c7f
feat: add dryflag, implement push for catalogue generate 2021-12-19 23:59:40 +01:00
5113db1612
refactor: centralise git commit machinery 2021-12-19 23:51:03 +01:00
88d4984248
docs: wording 2021-12-19 23:29:05 +01:00
4c66e44b3a
fix: use new recipes.json path 2021-12-19 23:17:46 +01:00
033bad3d10
fix: handle empty image meta 2021-12-19 23:14:43 +01:00
a750344653
refactor: better wording 2021-12-19 23:14:29 +01:00
f5caf5587a
refactor: fix log style and add recipe context 2021-12-19 23:08:03 +01:00
fdc9e8b5fd
refactor: improved log messages and less quotes 2021-12-19 23:02:58 +01:00
75edcabb23
fix: show progress on meta reading 2021-12-19 22:57:38 +01:00
fa0a63c11d
refactor: ensure type, drop comment 2021-12-19 22:45:08 +01:00
3d3eefb2fe
fix: bail out definitely on that error
See coop-cloud/organising#278.
2021-12-19 22:44:19 +01:00
b8e2d1de67
refactor: move function into web package 2021-12-19 15:57:00 +01:00
3b7a8e6498
docs: add missing docstrings 2021-12-19 15:56:59 +01:00
8215bb455b
fix: warn if secrets still exist
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 12:29:26 +01:00
d087a60e09
Revert "fix: dont throw away changes"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit dd0f328a65.

Part of coop-cloud/organising#282.
2021-12-12 02:04:13 +01:00
48e16c414c
fix: use correct error format
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 01:56:43 +01:00
f3e55e5023
fix: support registry login details
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 01:52:28 +01:00
ae6adace50
refactor: autocomplete package
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-12 00:17:39 +01:00
32dcddb631
fix: select containers if we find multiple 2021-12-12 00:04:37 +01:00
3dbd343600
fix: dont double append root path
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-11 20:24:38 +01:00
8393f4b134
fix: log discovered paths 2021-12-11 20:24:29 +01:00
8e56607cc9
fix: use default 2021-12-11 20:13:55 +01:00
85a543afac
fix: maybe more robust gitignore checks
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-11 20:11:59 +01:00
665396b679
fix: join path correctly
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-11 20:01:30 +01:00
870c561fee
Revert "Revert "fix: include ignored files""
This reverts commit 9be78bc5fa.

Attempting to fix this once again.
2021-12-11 19:53:35 +01:00
3fb43ffa2c
Revert "fix: match exact on filtering" [ci skip]
This reverts commit 2bc2f8630b.

This breaks other stuff. Reverting!
2021-12-09 14:12:16 +01:00
2bc2f8630b
fix: match exact on filtering
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-06 01:26:04 +01:00
2db5378418
fix: dont add .git dirs
Closes coop-cloud/organising#276.
2021-12-05 01:30:23 +01:00
7d8f3f1fab
fix: less loose permissions, less +x
Closes coop-cloud/organising#283.
2021-12-05 01:18:31 +01:00
9be78bc5fa
Revert "fix: include ignored files"
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
This reverts commit aea5cc69c3.
2021-12-03 11:39:56 +01:00
962f566228
fix: go on with missing tag
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#264.
2021-11-26 21:34:21 +01:00
748d607ddc
fix: better converge output
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#263.
2021-11-26 21:24:15 +01:00
4641a942d8
chore: drop comment [ci skip] 2021-11-26 21:02:29 +01:00
3wc
759a00eeb3 fix: less fussy catalogue generation
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-24 13:48:17 +02:00
dd0f328a65
fix: dont throw away changes
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#226.
2021-11-22 21:11:59 +01:00
aea5cc69c3
fix: include ignored files
Part of coop-cloud/organising#226.
2021-11-22 21:11:59 +01:00
3wc
d0a30f6b7b refactor: code style / error handling improvements
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-22 20:37:12 +02:00
3wc
9d62fff074 feat: recipe generate: load category and features 2021-11-22 20:37:12 +02:00
711c4e5ee8
fix: warn on invalid envs for catalogue generation
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#256.
2021-11-22 18:38:59 +01:00
cb32e88cde
fix: support retryable http clients
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#257.
2021-11-22 18:28:18 +01:00
a18729bf98
fix: ensure changes are check for
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#255.
2021-11-22 17:49:31 +01:00
fdf4fc6737
fix: ensure validation takes place
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#243 (comment).
2021-11-21 15:00:04 +01:00
304b70639f
fix: only check catalogue once
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-19 15:50:29 +01:00
fc51cf7775
docs: improve wording [ci skip] 2021-11-19 15:29:54 +01:00
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 59031595ea.

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 17a5f1529a.
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