Commit Graph

1464 Commits

Author SHA1 Message Date
Fredrik Lönnegren
556e46daeb
Print all not-found packages (#304)
* Print all not-found packages

When trying to install several packages that are not found luet will now
print all packages that are not found, instead of only first one.

* changes to some failing tests
2022-07-20 00:29:24 +02:00
mudler
843858e241 🤖 Adapt tests 2022-06-08 00:22:08 +02:00
mudler
d5d21653d7 ⬆️ Tag 0.32.5 2022-06-08 00:13:36 +02:00
mudler
913462b81c 🎨 Swap toposort implementation 2022-06-08 00:13:36 +02:00
Ettore Di Giacinto
aeb686f426
⬆️ Tag 0.32.4 2022-06-07 20:22:44 +02:00
Ettore Di Giacinto
f98cd401be
🐛 Fixup bad return on first cycle 2022-06-07 20:21:37 +02:00
Ettore Di Giacinto
70f99b6bb7
⬆️ Tag 0.32.3 2022-06-07 13:10:22 +02:00
Ettore Di Giacinto
cfbd8bf708
🐛 Fixup finalizer detection
This caused finalizers to run also for already-installed packages
2022-06-07 13:09:52 +02:00
mudler
4cb21a3e02 🎨 Match exit status with panic 2022-06-06 23:33:55 +02:00
mudler
3a31639897 🎨 Don't panic on Fatal 2022-06-06 23:09:39 +02:00
Ettore Di Giacinto
bac9bac25f
⬆️ Tag 0.32.2 2022-06-06 17:39:58 +02:00
Ettore Di Giacinto
ce95b3ada4
🎨 Cleanups 2022-06-06 17:39:16 +02:00
mudler
49d8c2b972
🎨 Add test-integration-docker target 2022-06-06 17:39:16 +02:00
mudler
2b3a1555f0
🎨 Refactor, use ensureoder where necessary 2022-06-06 17:39:16 +02:00
Itxaka
03e72653c7
Fill referenceID on repo sync (#300)
Signed-off-by: Itxaka <igarcia@suse.com>
2022-06-06 17:36:19 +02:00
Ettore Di Giacinto
264bf53fe7 🎨 Accept types.Logger in WithLogger 2022-05-26 13:09:37 +00:00
Ettore Di Giacinto
edd2275bf5 🎨 Allow to pass by a logger interface to context 2022-05-26 13:06:47 +00:00
Ettore Di Giacinto
d6ae727d79 🐛 Fix handlelock panic
Somehow this slipped in, as we should check the lock only if we have enough args.

Fixes #297
2022-05-25 10:07:25 +00:00
Ettore Di Giacinto
fea872aba0 ⬆️ Tag 0.32.1 2022-05-24 23:05:35 +02:00
Ettore Di Giacinto
1006be9271
🐛 Bail out when no packages are found with default solvers (#296)
* 🐛 Bail out when no packages are found with default solvers

Checking packages is more tricky when a resolver is set. Resolvers
are capable of mutating the user request and remove part of the
constraints in order to resolve a specific solution.

This had the countereffect on a normal solver to not detect correctly
packages when missing from the wanted set and not proposed during
installation.

This should fix all the cases above taking into consideration of
resolvers and adding specific test-cases for it.

* ⚙️ Pin to tag for test image
2022-05-24 23:01:56 +02:00
Ettore Di Giacinto
b5da2fa7b4
⚙️ Fixup corner case when templating requires
Adds also specific tests to cover that area
2022-04-28 12:57:36 +02:00
mudler
2aa4c8a42e ⚙️ Keep full string around, helps debugging 2022-04-28 01:00:58 +02:00
mudler
5bc3e3f277 ⬆️ Bump version to 0.32.0 2022-04-27 23:33:49 +02:00
Ettore Di Giacinto
2fa1defd87 ⚙️ Add support for subpackages during buildtime 2022-04-27 23:33:49 +02:00
Ettore Di Giacinto
c363c916d6 ⚙️ Small fixups and enhancements 2022-04-27 23:33:49 +02:00
Ettore Di Giacinto
e70a543f42 ⚙️ Add ability to build from Dockerfiles directly 2022-04-27 21:39:55 +02:00
Ettore Di Giacinto
4e2a2adfc1 🎨 refactor out common code in tree builder 2022-04-26 21:15:56 +02:00
Ettore Di Giacinto
9361011cd2
⚙️ Cumulate error on SyncRepositories
We don't want to stop syncing but give each repo its way to sync up
2022-04-22 11:59:47 +02:00
Ettore Di Giacinto
388a3e4471
🎨 CLI UX enhancements 2022-04-22 11:59:46 +02:00
Ettore Di Giacinto
6674abb256
⬆️ Bump version to 0.31.2 2022-04-14 09:34:18 +02:00
mudler
cca1a6dbc4
⚙️ Annotate build dir when building against system repo 2022-04-14 09:33:44 +02:00
mudler
58e857e700 ⬆️ Bump version to 0.31.1 2022-04-13 23:28:44 +02:00
mudler
77c7eab1ee ⚙️ Fixup runtime tree detection during join images
We need to hook up the runtime DB in order to query the correct part of
the tree
2022-04-13 23:28:44 +02:00
Ettore Di Giacinto
6bf91a0b60
⬆️ Bump version to 0.31.0 2022-04-13 18:47:38 +02:00
Ettore Di Giacinto
c6170fabd6
⚙️ Enhancements to final images building
This commit is multi-fold and impacts several areas:

- Don't re-generate final artifact locally if already present while
building with `requires_final_images`.
- Expose to CLI a way to build final images without pushing them.
- The packages listed with `requires_final_images` now are evaluated by
  the solver so the full deptree is took into account

Fixes: https://github.com/mudler/luet/issues/294
2022-04-13 18:04:50 +02:00
Ettore Di Giacinto
18881c3283 ⬆️ Bump version to 0.30.3 2022-03-23 18:04:07 +01:00
Ettore Di Giacinto
9da675c12e ⚙️ Add back missing template functions from helm 2022-03-23 18:02:44 +01:00
Ettore Di Giacinto
82f339f493 ⬆️ Bump version to 0.30.2 2022-03-21 18:33:00 +01:00
Ettore Di Giacinto
d5138a6c0b 🐛 Fixup migration
Extend it so it is not bound to any version, try to parse it instead.
2022-03-21 18:30:52 +01:00
Ettore Di Giacinto
f19b893820 ⬆️ Tag 0.30.1 2022-03-21 15:36:54 +01:00
Ettore Di Giacinto
a169665e70 🤖 Add integration test to cover nested build values 2022-03-21 15:01:17 +01:00
Ettore Di Giacinto
2f60504da3 ⬆️ Update vendor 2022-03-21 15:00:51 +01:00
Ettore Di Giacinto
114d4899f6 🐛 Update yaml to v3
The recent switch to mergo throws in a yaml version which is affected
by https://github.com/go-yaml/yaml/issues/139, and caused
https://github.com/rancher-sandbox/cOS-toolkit/issues/1189.

Updating to yaml.v3 where it was affected.

Note mergo still uses v2, so this can be problematic on other areas
https://github.com/imdario/mergo/issues/206.
2022-03-21 14:58:41 +01:00
Ettore Di Giacinto
8a80d70b78 ⬆️ Tag 0.30.0 2022-03-19 00:40:22 +01:00
Ettore Di Giacinto
4947b891c5 ⚙️ Add luet repo add/get
Fix #230
2022-03-17 17:01:43 +01:00
dependabot[bot]
2996c055a5
⬆️ Bump github.com/docker/distribution (#289)
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.7.1+incompatible to 2.8.0+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-03-12 18:30:57 +01:00
Yiran Zhou
32a8bd8e81
docs: fix broken link (#291) 2022-03-12 09:04:26 +01:00
dependabot[bot]
1642859f32
⬆️ Bump github.com/containerd/containerd from 1.5.9 to 1.5.10 (#290)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.9 to 1.5.10.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.9...v1.5.10)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 15:09:02 +01:00
Ettore Di Giacinto
660c5a2dab
📓 Update docs to mention agregOS 2022-02-15 21:17:32 +01:00
Ettore Di Giacinto
fe504e9802
📓 docs: Update repository section 2022-02-04 19:55:03 +01:00