Commit Graph

105 Commits

Author SHA1 Message Date
André Bauer
73def89f3b
fixed indentation (#144) 2020-03-07 03:55:36 +01:00
André Bauer
581434287c
github action test (#143)
* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>

* github action test

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-06 18:50:38 +01:00
André Bauer
f93db7f2e8
added image build to ci & change db checks / migration (#142)
* updated image to 3.3.0-11

Signed-off-by: André Bauer <monotek23@gmail.com>

* add image build to ci / changed db cehcks

Signed-off-by: André Bauer <monotek23@gmail.com>

* added repo user var

Signed-off-by: André Bauer <monotek23@gmail.com>

* added needs

Signed-off-by: André Bauer <monotek23@gmail.com>

* added executable bit

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>

* test

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-03-06 14:41:59 +01:00
Thorsten Eckel
1d1daab582 Required changes for 3.3 release. 2020-03-05 15:15:02 +01:00
Thorsten Eckel
589efbc3a6 Building of Elasticsearch broken: Installation of ingest-attachment fails with error code 141.
```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
* java.security.SecurityPermission insertProvider
* java.security.SecurityPermission putProviderProperty.BC
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

-> Installed ingest-attachment
The command '/bin/bash -e -o pipefail -c yes | /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment' returned a non-zero code: 141
```
2020-03-05 14:36:07 +01:00
André Bauer
33beea77df
test github action (#136)
* changed github action
2020-02-27 00:33:46 +01:00
André Bauer
607fa4a02a
fixes for postgres / use official memcached container (#130)
* use fixed postgres & memcached versions & fix missing postgres env var

* remove memcached contaienr build

* fixed another version label

* added postgres password to backup command

* set postgres user & pass in .env file

* fixed postgres in backup container

* use zammad repo
2020-02-24 17:50:19 +01:00
André Bauer
b8c641997e
Update docker-entrypoint.sh 2020-02-20 16:18:45 +01:00
André Bauer
3d2a73474f
added possibility to purge es index 2020-02-19 23:08:11 +01:00
André Bauer
b25456ff7d
Update Dockerfile 2020-02-18 21:52:09 +01:00
André Bauer
a35b4fa29d
update es (#126)
* remove lib

* Update Dockerfile
2020-02-18 21:01:11 +01:00
Don Bowman
789eb2cc4b fix: missing POSTGRESQL_PORT in construct of database.yaml (#114) 2019-08-30 01:11:14 +02:00
Ryan Lue
5ae3920902 Fix nulldb errors arising in Rails 5.2 (#108) 2019-07-16 12:24:49 +02:00
Marcel
6c82bf25bb Raise Docker to ruby2.5.5 (#107)
This will address issue ä106
2019-07-10 15:42:54 +02:00
Daniel Lohse
cb8b631d5e Allow setting Elasticsearch connection URL protocol (#105)
* Honor ELASTICSEARCH_SCHEMA when accessing Elasticsearch in the Zammad entrypoint

It defaults to http so it's completely backwards-compatible. In case it's https I disabled
verification in the curl command via -k.

* Add ELASTICSEARCH_SSL_VERIFY environment variable in Zammad entrypoint

Setting it to "false" will skip TLS verification when interacting with Elasticsearch.

* Add default value for ELASTICSEARCH_SSL_VERIFY env variable
2019-07-04 12:18:14 +02:00
André Bauer
ed29aaa96c changed tag handling 2019-02-15 16:52:40 +01:00
André Bauer
5aa5151c88 use multistage docker image 2019-02-15 16:11:49 +01:00
André Bauer
e3a5ec3b74 fix searchindex rebuild 2019-02-09 19:05:32 +01:00
André Bauer
f64bdf16aa fixed nginx 2019-02-09 18:56:25 +01:00
André Bauer
65127b46e3
Fixed quotes 2019-02-05 20:58:48 +01:00
André Bauer
544f84853d more shellcheck fixes 2019-02-04 21:47:54 +01:00
André Bauer
c8666402c4 fixed shellcheck errors 2019-02-04 21:45:33 +01:00
André Bauer
cae9c74ff8 changed autowizard position 2019-02-04 21:29:24 +01:00
André Bauer
5b495e81ca added autowizard.json creation 2019-02-01 19:52:04 +01:00
André Bauer
ede858202c
updated elasticsearch to 5.6.14 2019-01-05 01:52:25 +01:00
André Bauer
c1cb4ab7d7 remove existing railsserver pid file on start 2018-12-27 21:48:14 +01:00
Maarten de Boer
46e55773fa Fix database initialisation (#90) 2018-12-11 18:57:18 +01:00
André Bauer
51377abf25 added missing && 2018-12-06 23:45:25 +01:00
André Bauer
94b820d08d removed commented out gpg stuff 2018-12-06 23:44:21 +01:00
André Bauer
87da0ed9f0 removed gosu gpg check for now as it constantly fails 2018-12-06 23:35:11 +01:00
André Bauer
b10e627026 added no-tty to gpg 2018-12-06 23:23:20 +01:00
André Bauer
a52dab26da update gosu to 1.11 2018-12-06 23:00:49 +01:00
André Bauer
20656cbd43
update es to 5.6.12 2018-11-04 23:00:36 +01:00
André Bauer
b78ff40329
fixed database 2018-06-12 13:02:20 +02:00
André Bauer
4799668e49
fixed database config 2018-06-12 12:17:45 +02:00
André Bauer
532c881e34
added dirmngr 2018-06-12 10:44:53 +02:00
André Bauer
034b87ffbc
added gnupg2 2018-06-12 10:40:32 +02:00
André Bauer
4a07dba4fa
removed --allow 2018-06-12 10:06:01 +02:00
André Bauer
c11a884f92
replaced --force-yes with --allow 2018-06-11 16:13:33 +02:00
André Bauer
e0a66e6933
switch to ruby 2.4.4 2018-06-11 16:09:46 +02:00
André Bauer
d16a6ba3e0
updated elasticsearch to 5.6.9 2018-05-19 14:40:42 +02:00
JZinkl
76a67a29fa changed from postgres to postgresql to be consitent with zammad container (#76) 2018-05-10 20:23:58 +02:00
André Bauer
a29eb5bd89 added postgres vars to backup 2018-05-07 18:28:17 +02:00
André Bauer
26eacae0d3
Update backup.sh 2018-05-07 18:23:05 +02:00
André Bauer
d452489066
Update backup.sh 2018-05-03 18:33:42 +02:00
André Bauer
1915742379
Update backup.sh 2018-05-03 18:33:20 +02:00
André Bauer
d2cb86bd4b
log to stdout (#73)
* log to stdout

* fix typo

* fixed rsync

* let scheduler wait for memcached server

* made zammad ports configurable

* removed memcached check again

* added sleep 10 to scheduler start

* debug es reindex

* removed sleep 10

* fix repo link
2018-04-14 20:40:27 +02:00
André Bauer
42a76b8752
update elasticsearch to 5.6.8 2018-04-14 16:28:30 +02:00
André Bauer
efe03468f3
fix reindex if 2018-04-14 15:48:17 +02:00
André Bauer
8c4de19d45 if es index exists no index rebuild 2018-04-14 15:17:42 +02:00