- 16 Nov, 2021 12 commits
-
-
Kirill Smelkov authored
* master: wendelin.core: v↑ 0.13 -> 2.0.alpha1 caddy-frontend: Support not resolving backend hostnames component/caddy: Use golang 1.17 software/metabase: configure fonts and tempdir software/metabase: generate proper passwords software/metabase: version up metabase v0.41.2 software/metabase: sleep a bit more after "this will erase data" warning software/metabase: use temurin JRE component/java: add temurin JRE
-
Kirill Smelkov authored
Update to wendelin.core 2, which reached its alpha state. Even though it is wendelin.core 2, it continues to work by default in wendelin.core 1 mode with providing the same stability guarantees as before. This mode works with all ZODB4, ZODB4-wc2 and ZODB5. However every Zope has its own private cache for ZBigFile data which wastes RAM, prevents us to use as many Zopes as there are CPU cores, and potentially leads to OOM issues where one Zope tend to allocate whole memory while other Zopes cannot allocate even a single page. This mode, as well as previous Wendelin.core 1, is also subject to data-corruption that can happen on ZBigFile's BTree topology change: nexedi/wendelin.core@8c32c9f6 WCFS mode - that is what wendelin.core 2 actually provides over wendelin.core 1 - is currently opt-in. When used in "WCFS mode", all Zopes share cache for ZBigFile data and there should be no data corruption. This mode works with both ZODB4-wc2 and ZODB5, but not with plain ZODB4. The way to opt-in into this mode for a software-release is to set `erp5-defaults:wcfs-enable-default = true`, like SlapOS Master currently does: # SlapOS Master needs to use Wendelin.core 2. # Wendelin.core 2 works with either ZODB4-wc2, or ZODB5, but not with ZODB4. # ERP5 does not currently work with ZODB5. # -> this leaves ZODB4-wc2 as the only choice. [ZODB] major = 4-wc2 [erp5-defaults] wcfs-enable-default = true Remove activate-WC2-preview.cfg as wendelin.core 2 is no longer draft and there should be no need to use my personal repository and dirty branch anymore.
-
Jérome Perrin authored
Update metabase and fix a few minor problems, mostly: - use proper passwords for keystore and for postgresql - use Eclipse Temurin JRE, where the SSH tunnels work See merge request nexedi/slapos!1077
-
Łukasz Nowak authored
The setup "last,libc,none" allows lazy resolving of backend servers which is crucial in order to being able to start when the domain does not exists (yet).
-
Łukasz Nowak authored
Follows dae1747d
-
Kirill Smelkov authored
* master: Fix "kvm: Increase default VM parameters to match nowadays requirement" kvm: Merge tests kvm: Allow to specify network adapter software/slapos-sr-testing: install new psycopg2 dependency recipe/postgres: support non standard port recipe/test_postgres: test with a real postgres server software/slapos-testing: install psycopg2 for slapos.cookbook software/slapos-testing: make postgresql available for tests component/psycopg2: new component golang: Switch default to Go1.17 erp5testnode: update deploy script stack/slapos: slapos.cookbook version up (1.0.214) Release slapos.cookbook (1.0.214) test/recipe: update tests for postgres recipe regarding password update recipe/postgres: support changing user password after creation component/nxdtest: v↑ golang: v↑ go1.16 (1.16.8 -> 1.16.10) golang: v↑ go1.17 (1.17.1 -> 1.17.3)
-
Jérome Perrin authored
This is needed for xlsx export
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This solves the issue that ssh tunnels can not be used for database connections, with sun's java they fail with an error containing: JCE cannot authenticate the provider BC
-
Jérome Perrin authored
This is an alternate JRE from https://projects.eclipse.org/projects/adoptium.temurin This version is the one used in metabase docker images
-
- 15 Nov, 2021 5 commits
-
-
Łukasz Nowak authored
There was missing change in the default value to calculate default maximum amount of parameters. This fixes commit 2e6ccd02.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
The default virtio-net-pci is not supported by some legacy OSes, so allow customize it, to provide such support.
-
Jérome Perrin authored
This is a dependency of slapos.cookbook[test] since 90650d2c ( recipe/test_postgres: test with a real postgres server, 2021-11-12) and because we run software schema tests from slapos.cookbook in software/slapos-sr-testing, we also need the dependency here.
-
Jérome Perrin authored
tests with a real postgresql server, the mocked commands from 261a8e6b (test/recipe: update tests for postgres recipe regarding password update, 2021-11-11) were too unrealistic. These tests with a real server revealed that the port option of the recipe was not used, this is fixed as well See merge request !1083
-
- 12 Nov, 2021 7 commits
-
-
Jérome Perrin authored
even though the recipe has a required option for port, it was not used and server was always listening on default (5432) port
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
exposing environment variable SLAPOS_TEST_POSTGRESQL_PREFIX containing the location where postgresql is installed
-
Jérome Perrin authored
taken from unstable lapp stack
-
Kirill Smelkov authored
Go1.17 is current stable Go release which, besides other improvements, compared to Go1.16 generates code that runs 5-10-15% faster(*): https://go.dev/blog/go1.17 It makes sense to use that version by default. Cc'ing people who might be affected: - caddy (@luke) - hugo (@lu.xu) - repman, restic (@alain.takoudjou, @jerome) - galene (@tomo, @alain.takoudjou) - gitlab (@alain.takoudjou, @jerome, @lpgeneau) - grafana (@jerome) - theia (@jerome, @xavier_thompson) If for some reason Go1.17 default does not work for a software, maintainer of that software release - please pin Go to Go1.16 explicitly inside that particular software-release. (*) Go blog mentions 5% speedup on the average, but it was reported that sometimes for important inner loops the speedup can be as much as 15%. /reviewed-by @jerome /reviewed-on nexedi/slapos!1082
-
Thomas Gambier authored
The history of deploy script can be seen in slapos.core package with: git log -p master/bt5/slapos_web_deploy/PathTemplateItem/web_page_module/deploy_*
-
- 11 Nov, 2021 7 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
When server is running, use psql command to connect to server and issue a query to update password.
-
Kirill Smelkov authored
This upgrade - fixes Nxdtest to show proper traceback on error in configuration file nexedi/nxdtest@7b5add47 - adds preliminary support for PyLint[2] nexedi/nxdtest@72e36088 - and makes nxdtest to emit summary at the end of test run nexedi/nxdtest@9f413221 /reviewed-by @jerome /reviewed-on nexedi/slapos!1081
-
Kirill Smelkov authored
Going Go1.16.8 -> Go1.16.10 brings in fixes to compiler, runtime and stdlib including security fixes to linker, archive/zip package. https://golang.org/doc/devel/release.html#go1.16.minor Tested via: - SlapOS.SoftwareReleases.IntegrationTest.Python2 (https://nexedijs.erp5.net/#/test_result_module/20211110-4DA2B2E), and - SlapOS.SoftwareReleases.IntegrationTest.Python3 (https://nexedijs.erp5.net/#/test_result_module/20211110-40489859)
-
Kirill Smelkov authored
Going Go1.17.1 -> Go1.17.3 brings in fixes to compiler, runtime and stdlib including security fixes to linker and archive/zip package. https://golang.org/doc/devel/release.html#go1.17.minor Tested via: - SlapOS.SoftwareReleases.IntegrationTest.Python2 (https://nexedijs.erp5.net/#/test_result_module/20211110-4DA2B2E), and - SlapOS.SoftwareReleases.IntegrationTest.Python3 (https://nexedijs.erp5.net/#/test_result_module/20211110-40489859)
-
- 10 Nov, 2021 4 commits
-
-
Kirill Smelkov authored
* master: fixup! wendelin.core: Add way to run tests Disable DBUS support for zbar as: - it's not used in a SlapOS system (seems only used for webcam support) - it breaks the concept of SlapOs containerization - finally it tries to create a DBUS file in /etc/dbus-1/system.d/ which is NOT allowed (rightfully) for a slapsoft user caucase: set up a host file which specified for it software/slapos-testing: add jq, sed and grep in PATH software/erp5/test: fix ResourceWarning on python3
-
Kirill Smelkov authored
In 805374b4 I established the way to run wendelin.core test. There component/wendelin.core/test-common.cfg preamble mimics what is setup by software/neoppod/software-common.cfg in parts for NEO. However I copied only neoppod into parts without neoppod-develop, and this results in NEO being installed from PyPI instead of from git checkout. Let's fix this because everything else - e.g. ERP5 and Wendelin software releases - use NEO from git checkout which today diverged significantly from what was last released to PyPI in April of 2019. Thanks to @jerome for helping to find this out.
-
Boxiang Sun authored
See merge request nexedi/slapos!1074
-
Ivan Tyagov authored
- it's not used in a SlapOS system (seems only used for webcam support) - it breaks the concept of SlapOs containerization - finally it tries to create a DBUS file in /etc/dbus-1/system.d/ which is NOT allowed (rightfully) for a slapsoft user
-
- 09 Nov, 2021 3 commits
-
-
Boxiang Sun authored
This allow caucase test use the random partition IP address instead of fixed localhost:8000. Which can avoid the conflict if one test node running multiple test suite.
-
Jérome Perrin authored
- use the requests.Session in a context manager so that resources are properly closed. - close the stdout of caucase process we want to keep silent See merge request nexedi/slapos!1075
-
Jérome Perrin authored
This is used by caucase.sh test
-
- 07 Nov, 2021 1 commit
-
-
Kirill Smelkov authored
* origin/master: (22 commits) component/perl-Image-ExifTool: version up 12.30 fixup! stack/erp5: use %Ta for timing of haproxy requests stack/erp5: use %Ta for timing of haproxy requests Revert "kvm: Bang immediately in case of vnc_promise problem" kvm: Bang immediately in case of vnc_promise problem kvm: Switch mouse to tablet mode software/slapos-sr-testing: update doc software/slapos-sr-testing: run ERP5 SR test with a python3 slapos.core component/depot_tools: check out a fixed revision software/erp5/test: add python3 support software/galene: use python3 stack/caucase: Version up caucase 0.9.12 galene: version up 0.4 kvm: Increase default VM parameters to match nowadays requirement hugo: create tempfiles in a dedicated temporary directory component/java-jdk: add missing rpaths component/alsa: enable slapos.recipe.cmmi's shared kvm: Upgrade default ISO for vm to debian bullseye componant/slapos/obs.cfg: update OBS build caddy-frontend: Pick up recent kedifa from the distribution ...
-
- 05 Nov, 2021 1 commit
-
-
Jérome Perrin authored
-