Commit Graph

173 Commits

Author SHA1 Message Date
Eduard Heimbuch
8ea8d561d3 Revert "Update dependency org.redline-rpm:redline to v1.2.10"
This reverts commit 88189118a7.
2023-07-25 09:20:31 +02:00
Eduard Heimbuch
88189118a7 Update dependency org.redline-rpm:redline to v1.2.10
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [org.redline-rpm:redline](http://redline-rpm.org/) ([source](https://github.com/craigwblake/redline)) | dependencies | patch | `1.2.9-rsa4096` -> `1.2.10` |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIwLjAuMC1zZW1hbnRpYy1yZWxlYXNlIiwidXBkYXRlZEluVmVyIjoiMC4wLjAtc2VtYW50aWMtcmVsZWFzZSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AifQ==-->


Co-authored-by: Renovate Bot <renovate@scm-manager.org>
2023-07-20 12:31:12 +02:00
René Pfeuffer
618275ecbf Remove ARMv7 build due to errors 2023-07-18 15:06:49 +02:00
René Pfeuffer
f413ee1343 Revert "Use Java 11 for ARM v7 images"
This reverts commit 916cfcd3aa.
2023-07-18 07:07:21 +02:00
René Pfeuffer
916cfcd3aa Use Java 11 for ARM v7 images 2023-07-14 14:24:03 +02:00
Rene Pfeuffer
b9013e52ba Use Java 17 for Docker containers
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-07-10 14:23:13 +02:00
Rene Pfeuffer
bf8be002e9 Update debian version for docker base image
Squash commits of branch feature/update_debian_base_image:

- Update debian version for docker base image



Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-06-22 08:40:32 +02:00
Eduard Heimbuch
d74ed28542 Enhance helm chart template
Add variables for liveness probe and readiness probe
initial delay for helm chart

Committed-by: Rene Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-06-15 08:27:13 +02:00
Rene Pfeuffer
32a0a6868f Fix security findings
- Add security headers:
  - X-Frame-Options
  - X-Content-Type-Options
  - Content-Security-Policy
  - Permissions-Policy
- Do not send server information header

Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2023-06-14 15:57:01 +02:00
René Pfeuffer
85761d2399 Migrate SCM-Manager from GitHub to Cloudogu EcoSystem
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-12-02 11:32:39 +01:00
Eduard Heimbuch
eb4440c589 Remove --load to fix build 2022-09-15 11:36:32 +02:00
Eduard Heimbuch
4d479497aa Fix docker buildx bake command 2022-09-15 10:42:54 +02:00
Eduard Heimbuch
1d2e0cefb6 Resolve ingress port properly 2022-09-06 08:31:47 +02:00
Eduard Heimbuch
d7bf14518a Update helm template for ingress to use newer k8s networking api 2022-08-30 15:16:02 +02:00
Eduard Heimbuch
f672e175b5 Improve docker healthcheck (#2110)
The new docker health check respects the jetty configuration and uses the configured port and context path.
It supports ssl listeners and follows redirects.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-08-30 11:02:21 +02:00
Jan
f78524009e Fixed wrong indentation of extraVolumes and extraVolumeMounts (#2103) 2022-08-16 13:50:35 +02:00
René Pfeuffer
af30859077 Fix zip CRC error on startup in Alpine image (#2071)
Update docker base image to Alpine 3.16.0.
This fixes https://github.com/scm-manager/scm-manager/issues/2053.
In Alpine 3.16.0 zlib is updated to 1.2.12-r1 with this fix:
https://git.alpinelinux.org/aports/commit/main/zlib?id=6754a9005594de4243aad9b2744546971078c6c7
This is related to the following bug report in Alpine:
https://bugs.archlinux.org/task/74371
2022-06-21 16:06:58 +02:00
René Pfeuffer
19218c7237 Add wget to fix docker health check (#2066)
Installs the command wget in the debian docker container, so that the health check can run.
2022-06-09 22:38:38 +02:00
Sebastian Sdorra
af2cdfb739 Docker multi-arch builds (#2021)
Replaces the current docker build with a multi arch build powered by buildx.
The new build creates two scm-manager docker image variants.
One based on alpine which uses the openjdk distribution and the other based on debian and eclipse temurin:

scmmanager/scm-manager:<version>-alpine
- linux/amd64
- linux/arm64
scmmanager/scm-manager:<version>-debian
- linux/amd64
- linux/arm64
- linux/arm/v7
scmmanager/scm-manager:<version>
- linux/amd64 alpine based
- linux/arm64 alpine based
- linux/arm/v7 debian based
scmmanager/scm-manager:latest
- linux/amd64 alpine based
- linux/arm64 alpine based
- linux/arm/v7 debian based

The development build produces only a single amd64 image at cloudogu/scm-manager with a snapshot version.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-05-04 14:38:31 +02:00
René Pfeuffer
211749a5e3 Update docker base image (#1948)
Updates to latest version of adoptopenjdk:
adoptopenjdk/openjdk11:jdk-11.0.14_9-alpine-slim
2022-02-08 09:23:53 +01:00
Matthias Thieroff
8136aa1cbd Set the line ending used for license files to LF (#1904)
Set line ending explicitly to LF because on Windows using the system line ending does not get along well with our git settings.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-12-23 09:43:32 +01:00
pmarkiewka
e70e860e07 Adds compatibility for OCP and ICP (#1870)
Adds compatibility for OCP (openshift container platform) and ICP (IBM cloud private)

- Sets folder permissions to group 0, because the arbitrary assigned user ids in openshift are all part of group 0
- Removes usage of root user 0, because it is prohibited in some environments
- Use numerical user id, because some environments do not accept non-numerical user ids
- Removes initContainer for setting volume permissions, because it is not needed anymore
- Removes chown in plugin script, because it is not needed anymore
- Adds extraArgs option in Helm chart to add arguments on server startup, i.e. initial admin username and password

Signed-off-by: pmarkiewka <philipp.markiewka@cloudogu.com>
2021-12-16 13:59:56 +01:00
Sebastian Sdorra
9dee08f68d Update Gradle to 7.3 (#1873)
Update Gradle to 7.3. in order to profit from the performance improvement and to prepare for dependency lockfiles. Due to the upgrade to 7.x we had to use a license plugin which supports Gradle 7.
2021-11-29 09:05:24 +01:00
René Pfeuffer
271576fcf2 Update javahg to v1.0.0 (#1865)
Updates javahg (https://foss.heptapod.net/mercurial/javahg) to release 1.0.0. Therefore, all packages have to be changed from com.aragost.javahg to org.javahg.
2021-11-23 13:10:16 +01:00
Sebastian Sdorra
87aea1936b Remove www from scm-manager.org url (#1837) 2021-10-28 11:00:24 +02:00
Sebastian Sdorra
928439b4d5 Fix helm documentation generation 2021-08-11 11:17:38 +02:00
pmarkiewka
5aae743053 Adds pullSecret option and simplifies image usage (#1765)
Adds a value field to set a Secret to pull the image from an image registry with authentication, in case you need to host the image yourself and your registry has authentication.

To simplify the configuration we set the initContainers to use the same image as the application itself.
This has the following advantages:
- No additional configuration for image and pull Secret in values needed
- The used image is always up-to-date now. No need to maintain an extra alpine image.
- Faster startup times. No extra images have to be pulled.

Signed-off-by: pmarkiewka <philipp.markiewka@cloudogu.com>
2021-08-11 08:45:20 +02:00
Sebastian Sdorra
893cf4af4c Add graphviz to docker image (#1623)
This fixes the usage of the plantuml plugin inside of a docker
container.
2021-04-20 14:05:01 +02:00
Sebastian Sdorra
aa15227f0a Mark configuration files in debian package (#1574)
Mark server-config.xml, logging.xml and defaults explicit as
configuration files.
Due too a bug in gradle-ospackage-plugin it is not enough to mark them via fileType.

https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/118
2021-03-08 09:33:30 +01:00
Sebastian Sdorra
eb914b1f93 Remove -app suffix from unix and windows package 2021-01-29 13:51:14 +01:00
René Pfeuffer
a0c74f89a3 Use docker tag for helm version 2021-01-18 11:44:03 +01:00
René Pfeuffer
4bd162ebcf Write current docker tag to file 2021-01-15 17:09:56 +01:00
Sebastian Sdorra
f1cc5a4bbd Add font ttf-dejavu to oci image
Some plugins may require a font to render graphics, such as the markdown-plantuml plugin.
2021-01-15 12:43:08 +01:00
Sebastian Sdorra
35c342dc35 Fix helm build 2021-01-14 21:37:12 +01:00
Sebastian Sdorra
7fd6b62b73 Revert "Add tasks to modify version", because it breaks run command
This reverts commit b07f00ea2f74b60663d7d2c4377fe338416d189e.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
ecc216276d Add tasks to modify version 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
fddacca7db Remove outdated comments 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
efce411a41 Implement publish for release-yaml 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
a2fd8ff2f1 Implement docker publishing 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
2d8844fde1 Implement helm deployment 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
ef059b8efe Publish unix and windows packages 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
33c3cba69b Replace depreacted archiveName prop with archiveFileName 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
495326e990 Publishing tasks for rpm and deb packages 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
55507b3f35 Add license check 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
bd62027c15 Support for signing windows and unix packages 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
a16086bc6c Align signing properties with gradle defaults 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
a0405271fb Support for signing rpm packages 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
41decf270b Support fro signing deb packages 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
8c27af2661 Remove maven build related files 2021-01-14 12:01:30 +01:00
Sebastian Sdorra
c9ea026c52 Create release.yml 2021-01-14 11:56:05 +01:00