Commit Graph

31 Commits

Author SHA1 Message Date
Ettore Di Giacinto
1171987ed3
Adapt integration test to search output change 2020-04-19 10:24:39 +02:00
Ettore Di Giacinto
c972795a30
Tweak upgrade integration test
In this way we also test that the user configuration takes precedence
over the one advertized remotely
2020-04-18 17:35:58 +02:00
Ettore Di Giacinto
ee0fe1a86a
Allow to finalizer to specify entrypoint command
In this way, finalizer in strict environment can override the default
shell used to run commands.

The shell keyword is a list, as it needs to contain the full command +
args.
2020-04-14 17:46:39 +02:00
Ettore Di Giacinto
dd45a46ed0
Add docker from scratch integration test 2020-04-11 20:07:10 +02:00
Daniele Rondina
9e95d7d2a9 tests/integration/08_versioning.sh: Drop wrong assert 2020-04-03 15:24:56 +02:00
Daniele Rondina
e94674fca3 tests/integration/08_versioning.sh: Simplify test 2020-04-03 15:06:27 +02:00
Daniele Rondina
730b9a087a tests/integration/08_versioning.sh: Fix test 2020-04-02 19:39:31 +02:00
Ettore Di Giacinto
daa0b815c1
Fixup assertEquals on versioning integration test 2020-03-29 14:52:14 +02:00
Ettore Di Giacinto
c705728a2a
Build specific package, it triggers version search 2020-03-29 14:52:12 +02:00
Ettore Di Giacinto
0d6dc49a95
Add versioning integration test 2020-03-29 14:52:00 +02:00
Ettore Di Giacinto
d45536505b
Add integration test for box finalizers 2020-03-28 16:59:37 +01:00
Ettore Di Giacinto
117554792d
Don't attempt to upgrade packages already in system 2020-03-24 20:30:59 +01:00
Daniele Rondina
d0b7552aca tests: Align test to new args 2020-03-24 20:01:22 +01:00
Ettore Di Giacinto
bc5d01c3df
Add integration test for search of installed packages 2020-03-24 18:19:09 +01:00
Daniele Rondina
60635a03eb Fix propagation of repo file name and add test for meta compressed 2020-03-24 00:31:41 +01:00
Daniele Rondina
202ed2651a 💥 Refactor and split repository.yaml file 2020-03-24 00:05:16 +01:00
Ettore Di Giacinto
5bcc8d112a
Enforce solver constraints
- Don't sign installed packages during finalizer execution
- Enforce solver constraints: build ALO and AMO rules taking into account
  that the current package might not be selected at all.
- Force uninstalls on upgrade
- Enable option to tell uninstall to ignore conflict with the analized system state,
  as we don't want any conflict with the installed to raise during the upgrade.
  In this way we both force uninstalls and we avoid to check with conflicts
  against the current system state which is pending to deletion.
  This is due to the fact that now the solver enforces the constraints
  and explictly denies two packages of the same version installed.
- Adapt test as now we generate more constraints, which makes the solver more
  noisy on the package that are explictly selected or not
2020-02-27 18:38:31 +01:00
Ettore Di Giacinto
65b17f5283
Add simple upgrade integration test 2020-02-26 23:59:48 +01:00
Ettore Di Giacinto
fffed79767
Test uninstall without explicit version
By dropping the selector in the simple integration test
2020-02-13 14:17:54 +01:00
Ettore Di Giacinto
f329e1d5e0
Add retrieve to compilation spec
It allows to copy build artifact during buildtime. In this way
artifacts between different seed images can be shared

```
retrieve:
- a-test-1.0.package.*
- https://...
```

They will be available under WORKDIR
2020-02-13 14:15:43 +01:00
Ettore Di Giacinto
d7d05de9fe
Add integration test for qlearning solver 2020-02-12 13:58:28 +01:00
Ettore Di Giacinto
5594844971
Adapt integration test to test install and build from cli without explicit versioning 2020-02-04 20:16:35 +01:00
Daniele Rondina
1653a60428 cmd/create-repo: Permit to use repository from config 2020-02-02 11:29:05 +01:00
Daniele Rondina
de2afe8ed0 tests/integration: Add cleanup command 2020-02-02 10:38:41 +01:00
Ettore Di Giacinto
eee0136156
Add compressed tree integration test 2020-01-28 17:47:42 +01:00
Daniele Rondina
b986c613ab tests/integration/01_simple.sh: Use system-dbpath/system-target from config 2020-01-02 18:39:14 +01:00
Daniele Rondina
5358475069 test/integration/01_simple.sh: Use boltdb engine on config 2020-01-02 18:31:56 +01:00
Daniele Rondina
9af733370a
Update integration-test 2020-01-01 13:44:39 +01:00
Ettore Di Giacinto
9db9c1bf19
Add integration test for reinstall warning 2020-01-01 12:04:26 +01:00
Ettore Di Giacinto
255f768cc0
Enhance simple integration test 2019-12-31 15:59:46 +01:00
Ettore Di Giacinto
62ebe1a82b
Add integration tests 2019-12-31 15:22:11 +01:00