133 Commits

Author SHA1 Message Date
Alexander A. Klimov
71498232e3 entrypoint: give /dev/stdout and /dev/stderr to the www-data user as root
to allow apache2 to open them after dropping privileges.
2023-02-17 16:59:40 +01:00
Alexander A. Klimov
37fc5ea78f entrypoint: don't consider chown failure critical
as volumes may be mounted read-only.
2023-02-17 16:21:08 +01:00
Alexander A. Klimov
43b34b05d0 entrypoint: chown /data recursively
to handle subdirs pre-created as root to mount volumes.
2023-02-17 16:17:53 +01:00
Alexander A. Klimov
9ebbb83dcb Run as root 2023-02-15 14:52:18 +01:00
Alexander A. Klimov
a700df6340 entrypoint: chown www-data: /data and drop privileges if started as root 2023-02-15 14:51:26 +01:00
Alexander A. Klimov
39971df6fa entrypoint: make /data a const for re-using 2023-02-15 14:48:51 +01:00
Alexander Aleksandrovič Klimov
a5db4d9f7c
Merge pull request #108 from Icinga/schema-path
Fix schema path
2023-01-30 10:37:24 +01:00
Eric Lippmann
9cf18b486c
Fix schema path 2023-01-29 14:35:39 +01:00
Julian Brost
21dc08dc6e
Merge pull request #107 from Icinga/fix-upstream
Remove broken and redundant patch
2023-01-26 16:37:08 +01:00
Alexander Aleksandrovič Klimov
d169130ecc
Merge pull request #105 from Icinga/repair-upstream
Restore file removed from upstream we need
2023-01-26 12:13:39 +01:00
Alexander A. Klimov
73e5c1aa57 Remove broken and redundant patch 2023-01-24 11:26:29 +01:00
Alexander A. Klimov
cffcdb00ad Tell Icinga Web 2 it's running in our official image 2023-01-24 11:26:29 +01:00
Eric Lippmann
ce71661ede
Merge pull request #89 from Icinga/db-conn-refused
Entrypoint: re-try database connection on error for <=5m
2023-01-20 16:27:12 +01:00
Alexander A. Klimov
73fc14dec0 Entrypoint: re-try database connection on error for <=5m 2023-01-20 15:34:45 +01:00
Alexander A. Klimov
1dd070d54d Restore file removed from upstream we need 2023-01-18 14:42:21 +01:00
Julian Brost
b8ee7008d1
Merge pull request #102 from Icinga/Al2Klimov-patch-1
Fix error -11: Can't contact LDAP server
2022-12-08 16:35:33 +01:00
Julian Brost
4ca6297d5c
Merge pull request #95 from Icinga/93
Ship translations
2022-12-08 15:09:34 +01:00
Alexander A. Klimov
ddbb011812 Ship translations 2022-12-08 14:37:22 +01:00
Alexander Aleksandrovič Klimov
9e73a8e474
Fix error -11: Can't contact LDAP server
with LDAPS by installing libldap-common.
2022-12-06 12:45:46 +01:00
Alexander Aleksandrovič Klimov
af21fa9793
Merge pull request #99 from Icinga/98
Add Icinga-stuff to PHP include path
2022-10-07 15:21:42 +02:00
Alexander A. Klimov
c76c67aa83 Add Icinga-stuff to PHP include path
so that non-Icinga-stuff, e.g. PHPUnit, can reach Icinga-stuff.
2022-09-29 11:31:22 +02:00
Alexander Aleksandrovič Klimov
53237cd358
Merge pull request #94 from nE0sIghT/wip/unlower
entrypoint: do not lower ini keys
2022-09-05 10:59:35 +02:00
Eric Lippmann
d334889d91
Merge pull request #87 from Icinga/bugfix/ipl-module
Remove ipl from enabledModules in README
2022-09-01 10:03:11 +02:00
Yuri Konotopov
e7632f02e5
entrypoint: do not lower ini keys 2022-08-18 21:46:53 +04:00
Alexander Aleksandrovič Klimov
de1b0c8438
Merge pull request #91 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.67.0
build(deps): bump github.com/go-ini/ini from 1.66.6 to 1.67.0 in /entrypoint
2022-08-09 14:54:35 +02:00
dependabot[bot]
422e2df8f6
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.6 to 1.67.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.6...v1.67.0)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 10:10:13 +00:00
Julian Brost
06e066e563
Merge pull request #90 from Icinga/sync-readme
GHA: sync README.md to Docker Hub
2022-07-21 14:32:03 +02:00
Alexander A. Klimov
8ce4daf294 GHA: sync README.md to Docker Hub 2022-07-20 15:55:31 +02:00
Eric Lippmann
5e8ffeecc4
Merge pull request #64 from dwt/patch-2
Correct utf8 to utf8mb4
2022-07-12 11:45:05 +02:00
Julian Brost
38e49bcbc3
Merge pull request #85 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.6
build(deps): bump github.com/go-ini/ini from 1.66.4 to 1.66.6 in /entrypoint
2022-07-06 14:56:38 +02:00
Julian Brost
e3d3265e3e
Remove ipl from enabledModules in README
ipl is no longer an optional module but rather a required library.
2022-06-13 09:33:18 +02:00
dependabot[bot]
c27fd09583
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.4 to 1.66.6.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.4...v1.66.6)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 10:11:40 +00:00
Eric Lippmann
1022a5df6f
Merge pull request #79 from Icinga/bugfix/build-mode
Introduce explicit build mode and clean up code
2022-04-27 10:14:06 +02:00
Julian Brost
af683bee76 Introduce explicit build mode and clean up code
This commit introduces an explicit build mode in get-mods.sh that determines
how the versions of external modules are selected.

Possible modes are:
 - release: chooses latest release for each module
 - snapshot: uses a snapshot/development version for each module (if available)

In action.bash, the mode is automatically set based on the GITHUB_REF variable.
For tags starting with "v" (i.e. version tags like v2.9.0) it is release, other
tag names are not supported. For branches it is snapshot.
2022-04-01 14:22:59 +02:00
Alexander Aleksandrovič Klimov
1e730db8a8
Merge pull request #77 from dwt/master
Update documentation according to #65
2022-02-17 16:03:04 +01:00
Martin Häcker
c733703639 Update documentation according to #65 2022-02-17 10:55:44 +01:00
Alexander Aleksandrovič Klimov
8d4049b447
Merge pull request #75 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.4
build(deps): bump github.com/go-ini/ini from 1.66.3 to 1.66.4 in /entrypoint
2022-02-10 12:03:15 +01:00
dependabot[bot]
2b367052f1
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.3 to 1.66.4.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.3...v1.66.4)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 10:49:50 +00:00
Alexander Aleksandrovič Klimov
09b417b142
Merge pull request #74 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.3
build(deps): bump github.com/go-ini/ini from 1.66.2 to 1.66.3 in /entrypoint
2022-01-20 14:49:34 +01:00
dependabot[bot]
ee6e36eff3
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.2 to 1.66.3.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.2...v1.66.3)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-20 10:10:13 +00:00
Johannes Meyer
274b9393b1 action.bash: Make doc for $re_docker_tag perfect 2022-01-14 17:37:07 +01:00
Johannes Meyer
619d769563 action.bash: Document $re_docker_tag 2022-01-14 17:37:07 +01:00
Alexander Aleksandrovič Klimov
7184b6a0ef
Merge pull request #69 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.2
build(deps): bump github.com/go-ini/ini from 1.66.1 to 1.66.2 in /entrypoint
2021-12-03 11:23:09 +01:00
dependabot[bot]
82f8612818
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.1 to 1.66.2.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.1...v1.66.2)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-03 10:11:23 +00:00
Alexander Aleksandrovič Klimov
0a43a6ee79
Merge pull request #68 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.1
build(deps): bump github.com/go-ini/ini from 1.66.0 to 1.66.1 in /entrypoint
2021-12-02 11:20:44 +01:00
dependabot[bot]
6549754524
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.0 to 1.66.1.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.0...v1.66.1)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 10:13:31 +00:00
Alexander Aleksandrovič Klimov
1d75f2bcbd
Merge pull request #67 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.66.0
build(deps): bump github.com/go-ini/ini from 1.65.0 to 1.66.0 in /entrypoint
2021-11-30 11:25:20 +01:00
dependabot[bot]
c4d741beb5
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.65.0...v1.66.0)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:09:58 +00:00
Alexander Aleksandrovič Klimov
b6ca870cbb
Merge pull request #66 from Icinga/dependabot/go_modules/entrypoint/github.com/go-ini/ini-1.65.0
build(deps): bump github.com/go-ini/ini from 1.64.0 to 1.65.0 in /entrypoint
2021-11-29 11:39:22 +01:00
dependabot[bot]
a88a790ad9
build(deps): bump github.com/go-ini/ini in /entrypoint
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 10:10:39 +00:00