Ettore Di Giacinto
55ab1894e9
Add unit test for Uninstall in Installer
2020-12-29 22:58:03 +01:00
Ettore Di Giacinto
ddebe66859
Merge pull request #157 from trappiz/patch-1
...
Set import name for zstd
2020-12-29 22:25:14 +01:00
Niklas Engvall
bfbcb81210
Set import name for zstd
2020-12-29 22:22:53 +01:00
Ettore Di Giacinto
062e75bc25
Add unit test for Uninstall without full
2020-12-29 22:13:26 +01:00
Ettore Di Giacinto
498edc95c8
Tag 0.9.22
2020-12-27 21:17:22 +01:00
Ettore Di Giacinto
b81ce66914
Reduce download verbosity
2020-12-27 20:21:05 +01:00
Ettore Di Giacinto
68030baf98
Revert "Dockerfile: Initialize /tmp dir"
...
There is no mkdir, nor sh in a image from scratch
This reverts commit 981fe5b04a
.
2020-12-26 18:29:48 +01:00
Ettore Di Giacinto
9e868b69fc
Update vendor
2020-12-25 10:35:18 +01:00
Ettore Di Giacinto
f871111e50
Collect errors from finalizer runs
...
Instead of failing and depend on the --force flag, always execute
finalizer and collect errors to determine if install was successfull or
not
2020-12-25 10:35:09 +01:00
Daniele Rondina
981fe5b04a
Dockerfile: Initialize /tmp dir
2020-12-21 18:09:22 +01:00
Ettore Di Giacinto
8371d7aa7b
Tag 0.9.21
2020-12-19 18:23:08 +01:00
Ettore Di Giacinto
736c9470cf
Add db copy and clone
2020-12-19 17:45:50 +01:00
Ettore Di Giacinto
e52bc4f2b2
Refactor: get systemdb from config, which knows which one to load
2020-12-19 17:23:59 +01:00
Ettore Di Giacinto
96e877fc0b
Allow uninstall to take multiple packages
...
And treat those as a list, instead of each single of them
2020-12-19 17:16:58 +01:00
Ettore Di Giacinto
1331c3551a
Renaming clashing test func
2020-12-19 16:23:30 +01:00
Ettore Di Giacinto
bfb2bdc230
Add test for replace --nodeps
2020-12-19 15:44:42 +01:00
Ettore Di Giacinto
525bfb5ebf
Respect --nodeps when calling Swap from the public interface
2020-12-19 15:26:18 +01:00
Ettore Di Giacinto
f4e2f32aff
Return candidate not found when appropriate
2020-12-19 14:57:42 +01:00
Ettore Di Giacinto
7cf650a8f6
Break Swap in computeSwap() and display uninstall dialog only when asked
2020-12-19 14:55:59 +01:00
Ettore Di Giacinto
2b6fe2baa1
Add luet build --wait
...
It allows to wait for intermediate images to be available instead of
building all of them
2020-12-18 23:19:18 +01:00
Ettore Di Giacinto
34bba0319b
Tag 0.9.20
2020-12-18 21:50:10 +01:00
Ettore Di Giacinto
71c06913aa
Update vendor
2020-12-18 21:24:12 +01:00
Ettore Di Giacinto
f0fae82ad9
Add experimental zstd support
...
Closes #97
2020-12-18 21:24:01 +01:00
Ettore Di Giacinto
93f5f5d0b2
Add integration tests for luet replace and luet build --only-target-package
2020-12-18 20:52:07 +01:00
Ettore Di Giacinto
1c9b821058
Drop unneeded if
2020-12-18 00:50:20 +01:00
Ettore Di Giacinto
0e21548bc0
Lookup uninstall and Install in installer.Swap
...
In this way we resolve selectors from user inputs
2020-12-18 00:49:51 +01:00
Ettore Di Giacinto
39c8895f80
Return provided if selector isn't a range in boltdb
2020-12-17 23:17:40 +01:00
Ettore Di Giacinto
720441be4c
Update repository-index url
2020-12-17 21:55:01 +01:00
Ettore Di Giacinto
5082749e90
Tag 0.9.19
2020-12-17 21:09:53 +01:00
Ettore Di Giacinto
ce169f49af
If provided isn't a selector, it means we don't have to return a range
...
Add also more tests about provides
2020-12-16 22:17:34 +01:00
Ettore Di Giacinto
921869d04c
Tag bugfix release 0.9.18
2020-12-15 17:45:33 +01:00
Ettore Di Giacinto
8e1a457bf1
Check if we have to pull images before generating delta
...
As we might skip building entirely, it's possible that the image is not
there yet, so we check if have to pull it or not
2020-12-15 17:01:56 +01:00
Ettore Di Giacinto
d5cfadfded
Tag 0.9.17
2020-12-14 20:19:17 +01:00
Ettore Di Giacinto
193f6872a0
Update vendor
2020-12-14 19:20:35 +01:00
Ettore Di Giacinto
0b9b3c0488
Drop --clean from integration tests
2020-12-14 18:58:45 +01:00
Ettore Di Giacinto
70f05f41e8
Check only if package image exists
...
We don't need to look after the builder image as its optional. In this
way we can also reduce the compiler options, as we don't require a
--clean flag anymore. --only-target-package is sufficient to determine
what we can skip and how.
2020-12-14 18:41:39 +01:00
Ettore Di Giacinto
ef034d87b0
Detect if images are available if we don't have to generate a Package
...
While building, if we aren't doing a clean build, we scan now to see if
images are available and we skip, in case we don't find a metadata
already.
2020-12-14 18:32:32 +01:00
Ettore Di Giacinto
6a86bf3f04
Tag 0.9.16
2020-12-12 16:05:18 +01:00
Ettore Di Giacinto
265e2371b4
Add ArtifactNode to test, now we get the gen Dockerfile in the diff
2020-12-12 16:04:54 +01:00
Daniele Rondina
78442c91fc
events: Review description of build_artifact events
2020-12-12 16:03:40 +01:00
Ettore Di Giacinto
d97e606a31
Adapt fixtures and tests
2020-12-12 12:10:24 +01:00
Ettore Di Giacinto
95da20e366
Context files are immutable
2020-12-12 11:55:25 +01:00
Ettore Di Giacinto
797a34ba49
Reuse same dockerfile gen logic between prelude and steps
...
As now we build only when necessary, we need to make sure the images are
built similarly. The discrepancies between the two are less now, and
they can share the same logic.
This fixes a regresion where when no prelude is defined, the build
context isn't copied over
2020-12-12 11:16:34 +01:00
Ettore Di Giacinto
fdba8dea71
Tag 0.9.15
2020-12-11 23:04:14 +01:00
Ettore Di Giacinto
a1453b7242
Fixup error messages
2020-12-11 23:03:56 +01:00
Ettore Di Giacinto
7d4b612173
Update README
2020-12-11 23:03:45 +01:00
Ettore Di Giacinto
9eef7e5c6d
Clean up if condition
2020-12-09 22:58:33 +01:00
Ettore Di Giacinto
332824fd42
Fail in the downloader goroutine and don't skip errors with force
2020-12-09 22:56:55 +01:00
Ettore Di Giacinto
737fbdbdc1
Don't make artifact checksum skippable
2020-12-09 21:31:07 +01:00
Ettore Di Giacinto
f109bab2b4
Enable PreserveSystemEssentialData on Upgrade/Uninstall
2020-12-09 21:07:50 +01:00