Commit Graph

151 Commits

Author SHA1 Message Date
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
Eduard Heimbuch
9ec38a858d Handle ui test errors in Jenkins Pipeline (#1975)
Fix jenkins testing stage to not ignore test result. This led to different results between local builds and Jenkins builds which confused the developer and could hide implementation errors.
2022-03-17 09:13:51 +01:00
René Pfeuffer
d6b1ac38ed Fix Jenkinsfile for release build 2022-01-26 10:18:04 +01:00
René Pfeuffer
46b13800a6 Merge tag '2.20.1'
Release version 2.20.1
2022-01-18 10:39:01 +01:00
René Pfeuffer
913d3dbf59 Adjust for hotfix releases 2022-01-18 09:41:07 +01:00
Sebastian Sdorra
9dea4631ca Fix broken develop build (#1824)
Trigger build job which updates the homebrew tap only on release build and not on develop builds. This should fix the broken develop build.
2021-10-08 11:15:01 +02:00
Sebastian Sdorra
47249bffba Add osx package to release flow (#1822)
Triggers the build job which updates the scm-server formula of the scm-manager homebrew-tap as part of the scm-manager release build job.
2021-10-07 14:41:34 +02:00
Sebastian Sdorra
49dfd66a4f Disable chromatic (#1801) 2021-09-08 09:59:51 +02:00
Sebastian Sdorra
a75cfaa6d9 Chromatic (#1655)
Integrate Chromatic into the build process of SCM-Manager.
2021-05-11 14:09:09 +02:00
Sebastian Sdorra
ad5c8102c0 Reenable SonarQube analysis for pull requests (#1556) 2021-02-23 10:22:37 +01:00
Sebastian Sdorra
fbf75ba580 Fix conflict between property and task name 2021-02-08 13:21:28 +01:00
Sebastian Sdorra
b3caa607cf Reduce time spend in configuration phase (#1528)
Do not add scm-packaging modules to every build.
These modules drastically increase the time Gradle spends in the configuration phase.
To build a distribution of SCM-Manager pass -Pdistribution.
Upgrade Gradle to 6.8.2.
2021-02-08 10:48:21 +01:00
René Pfeuffer
4fba5cc17b Fix Jenkinsfile 2021-02-02 13:58:51 +01:00
René Pfeuffer
0b43630f06 Add "rerun" flag for integration tests 2021-01-26 11:39:16 +01:00
René Pfeuffer
2650472adb Add deployment of presentation environment 2021-01-18 12:05:47 +01:00
Sebastian Sdorra
f0d8ff178c Fix passing of singing props from jenkins 2021-01-15 09:16:22 +01:00
Sebastian Sdorra
bef74366ff Add github credentials for release.yml upload 2021-01-15 07:38:06 +01:00
Sebastian Sdorra
f9b0a5d0e2 Fix docker build and deployment 2021-01-14 20:17:18 +01:00
Sebastian Sdorra
b53a7673e3 Deploy develop branch and use environment variables to pass gradle properties 2021-01-14 15:08:10 +01:00
Sebastian Sdorra
d91f08aa1c Use develop as target branch for sonarqube 2021-01-14 13:39:26 +01:00
Sebastian Sdorra
debd41c431 Update java build agent 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
c8d9ff9c4d FIx ci build warnings about java prefs 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
18e841b0e8 Start sonarqube integration 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
d1575b8b8d Remove execution of integrationTests in the sonarqube stage 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
4e1bf1d13b Update timestamps of test report if running on ci
We have to update the timestamps of our test reports on the ci server,
because Jenkins fails it the reports are older than x minutes.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
9e597bb9e0 Start Jenkinsfile migration 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
dda761ffc2 Fix unit tests on Java 11 (#1483)
The unit test I18nServlet and MultiParentClassLoaderTest are failing on Java 11.
This is because they mock ClassLoaders which cause a jvm error.

The following tickets describe the problem in more detail:

- https://bugs.openjdk.java.net/browse/JDK-8254969
- https://github.com/mockito/mockito/issues/2043
- https://github.com/mockito/mockito/issues/1696
2020-12-18 14:23:36 +01:00
Eduard Heimbuch
a4f559f9c1 Downgrade Jenkins JDK version to Java 8 (#1473)
* Downgrade Jenkins JDK version to Java 8

The unit tests cannot run properly with Java 11.
We have to downgrade our image to use Java 8
instead until we have fixed this issue.

* Fix unit tests that have not been adapted during
   the failed builds

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-12-14 11:40:50 +01:00
Eduard Heimbuch
fd898240af Update java 2020-11-03 10:31:12 +01:00
Sebastian Sdorra
ef983b4483 Merge with support/2.6.x branch 2020-10-20 07:55:29 +02:00
Sebastian Sdorra
46bcaa4eff Set support/2.6.x as development and main branch in order to release 2.6.3 2020-10-16 11:46:25 +02:00
Sebastian Sdorra
7ecbd632ba Make development and main branch configurable 2020-10-16 11:43:55 +02:00
Sebastian Sdorra
d6a5c54aba Create junit reports for cypress test and do not fail the build 2020-08-25 11:17:05 +02:00
Sebastian Sdorra
bd08fdbe86 Archive cypress videos and screenshots 2020-08-25 10:31:40 +02:00
Sebastian Sdorra
3d6173c0df Install build packages which are required for cypress e2e tests 2020-08-25 09:45:52 +02:00
Sebastian Sdorra
f0a6a4240b remove wait for sonarqube qualitygate
We do not longer wait for the sonarqube webhook, because nearly every build fails with a timeout.
Incresing the timeout is also no option, because it is already relative high.
2020-06-17 15:31:46 +02:00
Sebastian Sdorra
f085cb7dae write release descriptor to website repository during deploy 2020-06-03 14:41:03 +02:00
Sebastian Sdorra
c26a89680f remove outdated comment 2020-05-27 12:27:03 +02:00
Sebastian Sdorra
10353e015f exclude scm-it from unit test stage 2020-05-27 12:26:11 +02:00
Sebastian Sdorra
a8a7bfb33c added missing profile name in deploy stage 2020-05-26 13:18:59 +02:00
Sebastian Sdorra
de13c90d7d do not activate packaging with performRelease, it must be now activated manually 2020-05-26 13:11:33 +02:00
Sebastian Sdorra
c016cf4dff exclude childs of scm-packaging not only the parent 2020-05-26 11:01:24 +02:00
Sebastian Sdorra
5d8c669b3a fix wrong quotes on excludes 2020-05-26 10:11:19 +02:00
Sebastian Sdorra
0afbd51272 added gpg signing 2020-05-26 09:47:38 +02:00
Sebastian Sdorra
df1c8f5084 quote list of module exclusions 2020-05-26 07:19:46 +02:00
Sebastian Sdorra
a167ed333c build scm-packaging only during deployment 2020-05-25 15:11:21 +02:00
Sebastian Sdorra
2a2fcc318f create reproducible snapshot versions for docker and re enable presentation environment stage 2020-05-25 13:53:44 +02:00
Sebastian Sdorra
92bd41d99f Merge branch 'develop' into feature/packaging 2020-05-25 06:57:22 +02:00
René Pfeuffer
4b8dc4a036 Merge pull request #1163 from scm-manager/bugfix/increase_sq_timeout
increase sonarqube timeout to 10 minutes
2020-05-24 17:07:44 +02:00
Sebastian Sdorra
addf59c965 increase sonarqube timeout to 10 minutes 2020-05-24 15:20:28 +02:00