* add kapps repo to base image to prevent from potentially updated components (for example kweb)
* kapps needs to be added to php image, not webapp image
* ignore unknown syntax for build time secrets
* update Konnect
* Allow to install extra packages
The string in line #20 is always zero, we should watch the return value of mkdir.
* fix more mkdir checks
Co-authored-by: peterfromthehill <peter@1qay.net>
* implement new env variable to disable all automatic actions
fixes https://github.com/zokradonh/kopano-docker/issues/360
* wrap the remaining services in checks if autoconfigure/disable_checks is used
* move definition of AUTOCONFIGURE variable into base image
* add logic to kapps and kdav container
* add autoconfigure to konnect container
* update build stage to latest golang
* add autoconfig to remaining images
* delete obsolete apache config in z-push folder
* when specifying config paths use KOPANO_CONFIG_PATH
* also use env variable in helper scripts
* add message about removal of kopano-cli
* Add container for kopano-spamd
* Authenticate version requests if needed
* Fix building of z-push for 'supported' base image
* Install kopano-spamd package by default
* Smaller fixes for kopano-spamd
* Fix missing file header
* simplify netrc usage
* Fix build for official and supported releases
* Fix config generation: skip missing config files
* kopano-search ignores KOPANO_CONFIG_PATH env var
* Use kopano core 8.7 by default
* Include APT release key in this repo
* Copy APT release key into image
* sort .gitignore and add apt_auth.conf to it
* add helper to setup.sh to create apt_auth.conf (user still needs to enter their own credentials)
* only create apt_auth.conf in make if it doesn't already exist
* add tooling to core dockerfile and makefile to use build secrets
* add ignore for hadolint as mounting syntax is currently not supported so far
* update to latest docker on travis for buildkit support
* documentation
* sort gitignore
* add dockerfile syntax definition for build args
* move all env definition in same block
* implement EXE env variable for kopano-core
* Obsoletes parts of https://github.com/zokradonh/kopano-docker/pull/366
* use EXE in konnect container
* add exe for web
* make it possible to docker-composer run commands in web container
* add example how to build dedicated container for services such as dagent
Obsoletes part of https://github.com/zokradonh/kopano-docker/pull/366
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add new dockerfile for dagent
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Reson: some non-default configuration options are backed into the startup scripts. This can be unexpected when mounting files e.g. in a Kubernetes setup.
https://github.com/zokradonh/kopano-docker/issues/294
* core configuration
* fix compose for meet
* remove interpreter from start script
* use default oidc timeout
* Specify config location through KOPANO_CONFIG_PATH env variable
* add commander test to verify config is honoured by cli programs
* remove wrappers other than kopano-cli as it cannot make use of KOPANO_CONFIG_PATH
Fixes: https://github.com/zokradonh/kopano-docker/issues/351
* we can no longer test for the existance of notify.sock since version 10.1.0 introduces multiple sockets
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* switch startup tests to tcp tests for kapi endpoint
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* update to Debian Buster
* update webapp container
* update kdav image to buster
* add some debug commands
* use onbuild to specify building of core repository only in one place
* remove ca-certificates and git from kdav image
* git should not be needed since kdav has a builder stage
* ca-certificates is already installed in an earlier stage
* upgrade to Debian 10 for Z-Push
* switch remaining Debian 9 repos in webapp
* use a new major version for the base image
* since its now based on buster
* add new parameters to the onbuild step
* update repos in setup.sh
* switch default distribution in create repo script
* add small wrapper scripts to honor admin.cfg at /tmp/kopano
* add script to create stores (workaround to satisfy tests)
* add output of orphaned store list to startup test
* switch containers in compose file to read-only
related to https://github.com/zokradonh/kopano-docker/issues/310
* make scheduler container read-only
* make meet container read-only
* fix konnect for read-only
* make core mostly read-only
* add custom location for ldap.cfg to default config
* sort config option for readability
* update makefile pull workaround
* make kdav read-only
* remove locale generation code from core startup
* fix commander tests
* fix store language tests
* add test for a dutch mailbox
* make it possible to run webapp read-only
* add locale hint to the compose file
* finish read-only mode for z-push
* add some reviewdog checks
* give the workflow a better name
* debug goss check
* fix goss test for dagent
* disable reviewdog for now as it does not properly work
* use variables to check if the server is running
* use kopano_con to address the specified kopano socket in an unified way
* set default value for kopano_con
* Add variables to disable some checks that aren't needed if you inject the cfg files
* add tests for new functionality
* uncomment write protected test
fixes https://github.com/zokradonh/kopano-docker/pull/296
* split up installation for core and kapi+grapi
* add some debug output in case package installation fails
* let konnect run as nobody
* add code to check writing permissions for certificates and create certificates in container if possible
* add tests to check on failed and successful certificate creation
* add certificate creation logic from the konnect binfile
* add env for custom dockerize timeout (to fail earlier in tests)
* add mount for machine-id
* services should check the availability of the machine id before starting
* add a note to the readme
* add new mounts to the multiserver example
* add dockerize to kweb
* fix meet demo
* add option to change base path
* fix env name
* add kweb configuration for using konnect in a subpath
* make webapp display configurable
* more explicit startup messages
* add ability to use an external oidc provider
* install the grapi ldap backend in the image when building with a recent enough kopano version
* add the ability to run test in the konnect container
* the startup script gets more and more complicated, there should be a way to test it
* test some values and add test helper
* do not simply cat the registration, but call with yq
* update kweb and konnect
they need to be made available through reverse proxy and port forwarding anyways
changed in https://jira.kopano.io/browse/KC-1616
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* make it possible to configure grapi through its cfg
* add test for config setting in grapi
* add volume for persistent data
* chown and add tests for dir
* fixes for setup-tools.sh
fixes https://github.com/zokradonh/kopano-docker/issues/266
* add startup tests for meet demo
* add architecture to contributing file
* define ical_listen for kopano-ical
* precreate database if it does not yet exist
* fix spelling
* clean out unneeded locales
* add test to verify that language is picked up in admin.cfg
* add basic question for language and use variable in compose
* use scriptlet to generate locales before start of kopano-server
* add script to check folders of a given mailbox (for language checks)
* add tests for locale generation
relates to #248
* also add the ability to download the tar for supported releases
* use env variables for distribution, channel and branch
* add tests for new archive download for supported releases
* experiment with overriding exec to test bash script functions
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* refine tests
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* test installation of packages
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* make sure package list is not updated when there are not additional packages
* basic commander tests for webapp
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add webapp commander to makefile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* basic tests for webapp
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* check webapp config.php
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add tests for z-push
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add a more detailed example based on https://github.com/SimonBaeumer/commander/pull/82
include test for '!include /usr/share/kopano/ldap.openldap.cfg'?
* add readme on testing
* add goss wait files for dagent and spooler
* Add example compose file to run Meet without Kopano
* add readme
* add an example env file
* add setup.sh so user can easily create their own
* use kopano repo by default
this allows running the same dockerfile with both master and final branches of Kopano Groupware Core
Signed-off-by: Felix Bartels <felix@host-consultants.de>
(cherry picked from commit a40db475f92eb9908348871ccd4b40f24161de66)
* fix version syntax
* commander: verify output of version.sh
* commander: exit setup.sh with code 1 when .env exists
* add commander to travis
* minimal test for commander in core container