73 Commits

Author SHA1 Message Date
312b93e794
fix: no gitops on recipe for "app new"
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
a3e9383a4a
docs: wording [ci skip] 2023-01-23 18:48:51 +01:00
903aac9d7a
feat: recipe fetch command
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
Also may have rooted out another go-git cloning bug 🙄

Closes coop-cloud/organising#365
2023-01-23 09:26:53 +01:00
32de2ee5de
fix: ensure catalogue is clean/up-to-date
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#367
2023-01-22 17:52:36 +01:00
3wc
4f055096e9 chore: fix Drone build, ignore auto-recipes-catalogue-json
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-15 18:16:53 -08:00
3b8893502a
docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
49f79dbd45
fix!: new catalogue URL
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-03 17:08:52 +02:00
598e87dca2 chore: skip new repositories
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-21 08:46:30 +00:00
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
09ac74d205
fix: check out default branch from tags
All checks were successful
continuous-integration/drone/push Build is passing
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01:00
0557284461 fix: use new repo name
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 08:58:51 +00:00
bdd9b0a1aa
fix: ensure recipes on latest for lint/generate
All checks were successful
continuous-integration/drone/push Build is passing
Follows b2d17a1829c5415c4700cf5da85144af4de87162.
2022-01-29 14:06:25 +01:00
0e688f1407
refactor!: migrate to urfave/cli v1
All checks were successful
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
7733637767
fix: ensure catalogue cloned for catalogue reliant commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-18 11:19:33 +01:00
3aec5d1d7e
fix: ignore new test repo
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-12 16:11:18 +01:00
30209de3e2
fix: correct url for commit [ci skip] 2022-01-02 16:01:03 +01:00
ce96269be0
fix: more fixed for dry mode, this time tested :)
Follows 299276c383a1cd4c242db86132d555d934ea131f.
2021-12-31 13:37:03 +01:00
299276c383
fix: handle dry run output result correctly
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-31 13:17:50 +01:00
7460668ef4
fix: explain for single repo case too
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-28 03:42:44 +01:00
047d0e6fbc
fix: working url
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-28 03:42:02 +01:00
26a11533b4
feat: link directly to new commit
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-28 02:37:35 +01:00
f5d2d3adf6
refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
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
37e48f262b
fix: better wording
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-27 04:17:30 +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
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
9f70a69bbf
feat: skip git syncing on catalogue generation 2021-12-26 03:46:26 +01:00
86d87253c5
fix: pass name correctly
Follows from 9cc2554846d29986770a63bf7d3896a654082ce6
2021-12-26 00:15:03 +01:00
779c810521
refactor: less quotes, less verbose 2021-12-26 00:14:32 +01:00
9cc2554846
fix: don't run twice 2021-12-26 00:02:46 +01:00
ba8138079f
fix: use one function for up-to-date checks 2021-12-25 23:45:52 +01:00
a84a5bc320
feat: more robust linting
See coop-cloud/organising#254.
2021-12-25 23:22:50 +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
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
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
fa45264ea0
refactor: the grand recipe release refactor 2021-12-21 19:25:44 +01:00
72df640d99
fix: avoid that repo as well 2021-12-21 01:47:38 +01:00
398deec272
docs: improved recipe maintainer docs 2021-12-20 00:15:42 +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
a293179e89
refactor: use config var for path 2021-12-19 23:24:10 +01:00
b912e73c5e
fix: get bar length right 2021-12-19 23:23:46 +01:00
a750344653
refactor: better wording 2021-12-19 23:14:29 +01:00
8f6e1de1a1
refactor: merge catalogue/catalogue, catalogue/generate 2021-12-19 16:26:27 +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