- 27 May, 2022 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
erp5.recipe.w3validator is not installed, it was just a version pin because when running buildout updating the software needs a version pin, by now all softwares must have been updated.
-
Jérome Perrin authored
-
- 26 May, 2022 2 commits
-
-
Jérome Perrin authored
These tests are still using `python setup.py test` which installs missing packages to their latest versions. Recently, certifi (a requests dependency) published a new release with python3 only syntax, so running the test now got an error installing missing packages: File "parts/slapos-package/playbook/roles/standalone-shared/.eggs/certifi-2022.5.18.1-py2.7.egg/certifi/core.py", line 17 def where() -> str: ^ SyntaxError: invalid syntax The `playbook/roles/standalone-shared` is defined on the test suite as instance parameters, so it seems we can not already install this package directly from playbook/roles/standalone-shared because test suite may define something different. For now, just install requests. All this will have to be addressed when we change this test to pre-install packages with slapos and use `python -m unittest` instead of `python setup.py test`.
-
Jérome Perrin authored
These two options were unusable for software releases using python3. This also adds test coverage for the recipe.
-
- 25 May, 2022 2 commits
-
-
Łukasz Nowak authored
-
Jérome Perrin authored
These are not supposed to be executed directly
-
- 24 May, 2022 4 commits
-
-
HongzheWang authored
See merge request nexedi/slapos!1179
-
HongzheWang authored
-
Jérome Perrin authored
This reverts commit 4fa33dfc. This patch is not complete, backporting full support of `__{code,defaults}__` on Zope2 would require patching more, so we decided to keep using func_code with ERP5 on Zope2 and to use __code__ only with ERP5 on Zope4
-
Jérome Perrin authored
Extend the upgrade tests to create data before the upgrade, to confirm that this data can still be found after the upgrade. This also extends the test to confirm that after upgrade, inituser can still login, create content and find content created before and after upgrade. After 4fa33dfc (erp5: py3: `func_{code,defaults}` was replaced in Python3 by `__{code,defaults}__`., 2022-04-25), this was no longer the case, because during indexation, using existing scripts failed with AttributeError __code__
-
- 23 May, 2022 8 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
There is no real control over port chosen by push/pull.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
There is no reason to keep python2 compatibility, as python3 flavour of the KVM software release is good enough.
-
Łukasz Nowak authored
Thanks to recent increased test coverage python3 compatibility issue was spotted, and can be fixed.
-
Łukasz Nowak authored
That's nothing wrong with such small disk, and the default seems reasonable enough.
-
Łukasz Nowak authored
external-disk-* parameters are fully tested, including it's special features like keeping the image available even in case of dropping them from request parameters.
-
- 20 May, 2022 1 commit
-
-
Thomas Gambier authored
See merge request nexedi/slapos!1173
-
- 19 May, 2022 4 commits
-
-
Julien Muchembled authored
See commit 37cf8a50.
-
HongzheWang authored
-
HongzheWang authored
-
HongzheWang authored
-
- 18 May, 2022 1 commit
-
-
Łukasz Nowak authored
Since nexedi/slapos.core@a8917a3c and slapos.core https://lab.nexedi.com/nexedi/slapos.core/tags/1.7.4 the tap_ipv4_addr value is empty by default on the servers, especially test nodes. To not rely on what is provided on the test environment simply mock the configuration of the machine so that the test is able to prove profile functionality.
-
- 17 May, 2022 2 commits
-
-
Łukasz Nowak authored
The test does not require to download some enormous images, so provide small empty qcow2 images, good enough to start the VM.
-
Łukasz Nowak authored
The problem has been introduced in 5da9c082 "kvm: Improve boot image url handling". Note the internal usage of md5sum value as image name in the download config creator.
-
- 13 May, 2022 5 commits
-
-
Thomas Gambier authored
pim-dm is a python3 only egg and re6st is a python2 only egg. Deploy pim-dm egg inside a totally separated buildout in python3. See merge request nexedi/slapos!1161
-
Thomas Gambier authored
-
Jérome Perrin authored
-
Boxiang Sun authored
See merge request nexedi/slapos!1170
-
Jérome Perrin authored
-
- 12 May, 2022 6 commits
-
-
Boxiang Sun authored
Now the nat-rule-port always has the protocol name, see here: https://lab.nexedi.com/nexedi/slapos/blob/9a886c4b0c6dd229564292eaa0ef2604fa857aea/software/kvm/instance-kvm.cfg.jinja2#L843
-
Boxiang Sun authored
See merge request nexedi/slapos!1166
-
Jérome Perrin authored
fixes CVE-2021-33503
-
Jérome Perrin authored
fixes PVE-2022-47833
-
Boxiang Sun authored
-
Kirill Smelkov authored
@tomo reports that parts/golang1.17/pkg/obj/go-build takes ~ 1GB which makes it wasteful if we want to upload result of compilation to shacache. It turns out we can drop that particular build cache completely, because it is used only during the build and test of Go itself and its standard library. And when Go is installed it will be another - "user" build cache - that will be used to maintain and reuse build artifacts. For the reference: in SlapOS that latter "user" build cache is located inside go.work/ -> Purge internal build cache after compilation is over. Size of parts/golang1.17 before and after hereby patch: before: 1.6G after: 447M See also related discussion in !929 (comment 128379) /reviewed-by @tomo, @jerome /reviewed-on !1169
-
- 11 May, 2022 1 commit
-
-
Xavier Thompson authored
-