Commit Graph

68 Commits

Author SHA1 Message Date
3wordchant 4f055096e9 chore: fix Drone build, ignore auto-recipes-catalogue-json 2023-01-15 18:16:53 -08:00
decentral1se 3b8893502a docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
decentral1se 49f79dbd45 fix!: new catalogue URL 2022-05-03 17:08:52 +02:00
decentral1se 598e87dca2 chore: skip new repositories 2022-02-21 08:46:30 +00: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 09ac74d205 fix: check out default branch from tags
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01:00
decentral1se 0557284461 fix: use new repo name 2022-02-09 08:58:51 +00:00
decentral1se bdd9b0a1aa fix: ensure recipes on latest for lint/generate
Follows b2d17a1829.
2022-01-29 14:06:25 +01:00
decentral1se 0e688f1407 refactor!: migrate to urfave/cli v1
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se 7733637767 fix: ensure catalogue cloned for catalogue reliant commands 2022-01-18 11:19:33 +01:00
decentral1se 3aec5d1d7e fix: ignore new test repo 2022-01-12 16:11:18 +01:00
decentral1se 30209de3e2 fix: correct url for commit [ci skip] 2022-01-02 16:01:03 +01:00
decentral1se ce96269be0 fix: more fixed for dry mode, this time tested :)
Follows 299276c383.
2021-12-31 13:37:03 +01:00
decentral1se 299276c383 fix: handle dry run output result correctly 2021-12-31 13:17:50 +01:00
decentral1se 7460668ef4 fix: explain for single repo case too 2021-12-28 03:42:44 +01:00
decentral1se 047d0e6fbc fix: working url 2021-12-28 03:42:02 +01:00
decentral1se 26a11533b4 feat: link directly to new commit 2021-12-28 02:37:35 +01:00
decentral1se f5d2d3adf6 refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
decentral1se 0aa37fcee8 refactor!: simplifying publish logic 2021-12-27 19:56:27 +01:00
decentral1se eb1b6be4c5 fix: auto-config ssh urls and push to them 2021-12-27 18:06:56 +01:00
decentral1se b98397144a fix: wording 2021-12-27 18:06:46 +01:00
decentral1se 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
decentral1se 37e48f262b fix: better wording 2021-12-27 04:17:30 +01:00
decentral1se 9c281d8608 fix: flags for logging in 2021-12-27 03:27:05 +01:00
decentral1se cdc08ae95a fix: much hacking, maybe fixed catalogue generation 2021-12-26 04:02:40 +01:00
decentral1se 9f70a69bbf feat: skip git syncing on catalogue generation 2021-12-26 03:46:26 +01:00
decentral1se 86d87253c5 fix: pass name correctly
Follows from 9cc2554846
2021-12-26 00:15:03 +01:00
decentral1se 779c810521 refactor: less quotes, less verbose 2021-12-26 00:14:32 +01:00
decentral1se 9cc2554846 fix: don't run twice 2021-12-26 00:02:46 +01:00
decentral1se ba8138079f fix: use one function for up-to-date checks 2021-12-25 23:45:52 +01:00
decentral1se a84a5bc320 feat: more robust linting
See coop-cloud/organising#254.
2021-12-25 23:22:50 +01:00
decentral1se 4283f130a2 refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
decentral1se 3b5354b2a5 refactor: less quotes 2021-12-25 02:03:09 +01:00
decentral1se 014d32112e fix: ensure tags & commits are pushed 2021-12-23 02:24:43 +01:00
decentral1se a07e71f7df fix: grand ssh, provisioning, perms refactor
See coop-cloud/organising#280.
See coop-cloud/organising#273.
2021-12-22 20:08:15 +01:00
decentral1se fa45264ea0 refactor: the grand recipe release refactor 2021-12-21 19:25:44 +01:00
decentral1se 72df640d99 fix: avoid that repo as well 2021-12-21 01:47:38 +01:00
decentral1se 398deec272 docs: improved recipe maintainer docs 2021-12-20 00:15:42 +01:00
decentral1se bf82bc9c7f feat: add dryflag, implement push for catalogue generate 2021-12-19 23:59:40 +01:00
decentral1se 5113db1612 refactor: centralise git commit machinery 2021-12-19 23:51:03 +01:00
decentral1se a293179e89 refactor: use config var for path 2021-12-19 23:24:10 +01:00
decentral1se b912e73c5e fix: get bar length right 2021-12-19 23:23:46 +01:00
decentral1se a750344653 refactor: better wording 2021-12-19 23:14:29 +01:00
decentral1se 8f6e1de1a1 refactor: merge catalogue/catalogue, catalogue/generate 2021-12-19 16:26:27 +01:00
decentral1se ae6adace50 refactor: autocomplete package 2021-12-12 00:17:39 +01:00
3wordchant 759a00eeb3 fix: less fussy catalogue generation 2021-11-24 13:48:17 +02:00
3wordchant d1526fad21 fix: skip drone-abra and recipes in catalogue 2021-11-24 13:48:17 +02:00
3wordchant d0a30f6b7b refactor: code style / error handling improvements 2021-11-22 20:37:12 +02:00
3wordchant 8635922b9f fix: don't clobber recipe changes during generate
Closes #255
2021-11-22 20:37:12 +02:00
3wordchant 9d62fff074 feat: recipe generate: load category and features 2021-11-22 20:37:12 +02:00