Commit Graph

11730 Commits

Author SHA1 Message Date
Eduard Heimbuch
4fb42de0ca Fix unit test 2021-01-26 14:32:03 +01:00
Konstantin Schaper
94304f96a3 migrate integration tests to bdd (#1497)
Migrates the existing e2e tests towards a cucumber bdd-style and utilizes the integration-test-runner package.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-26 12:58:48 +01:00
Eduard Heimbuch
d737c3aa9f Fix unit test 2021-01-26 12:55:01 +01:00
René Pfeuffer
0b43630f06 Add "rerun" flag for integration tests 2021-01-26 11:39:16 +01:00
Konstantin Schaper
c8b167b4ec refactor table component so that it can be styled by styled-components
Applying styles to table elements like tr or td is currently very cumbersome because they are encapsulated in the Table component itself. We need to apply a word break to table cells so that for example long branch names properly fit into the layout. This PR changes the Table component to allow it to be styled with styled-components.
2021-01-26 10:52:14 +01:00
René Pfeuffer
e7d79835c6 Remove test for old behaviour 2021-01-25 16:18:46 +01:00
René Pfeuffer
6b5781144e Fix storyshots for test ids 2021-01-25 15:43:48 +01:00
Eduard Heimbuch
a7228b6fa1 Update CHANGELOG.md 2021-01-25 14:21:04 +01:00
Eduard Heimbuch
8368ac8306 Merge branch 'develop' of github.com:scm-manager/scm-manager into develop 2021-01-25 14:20:07 +01:00
Eduard Heimbuch
171f155a0c bump google guava dependency to 30.1-jre 2021-01-25 14:13:34 +01:00
Konstantin Schaper
36b4a849e2 Apply test ids to production builds for usage in e2e tests (#1499)
Our e2e tests get executed against production builds and therefore need access to the test-ids. Prior to this change, test-ids were removed in prod builds.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-01-25 12:49:19 +01:00
René Pfeuffer
01fd83fd6b Order proxy settings in frontend (#1502)
Group the single settings for proxies more meaningful.
2021-01-22 14:50:15 +01:00
Konstantin Schaper
ed6d9a0df0 add explicit provider setup for bouncy castle (#1500)
When upgrading JGit, the automatic provider declaration was removed. This led to a runtime error where the provider for gpg signatures could not be found. This PR reintegrates the provider setup for the Bouncy Castle GPG Provider.
2021-01-21 14:34:13 +01:00
Eduard Heimbuch
4b6c4d4eb7 Merge branch 'develop' of github.com:scm-manager/scm-manager into develop 2021-01-21 13:04:34 +01:00
Eduard Heimbuch
cd73ce00a3 Set xerces documentBuilderFactory because xerces is in classpath 2021-01-21 11:57:53 +01:00
Florian Scholdei
06161c616d Remove breadcrumb ending slash 2021-01-19 11:31:54 +01:00
René Pfeuffer
2650472adb Add deployment of presentation environment 2021-01-18 12:05:47 +01:00
René Pfeuffer
a0c74f89a3 Use docker tag for helm version 2021-01-18 11:44:03 +01:00
René Pfeuffer
32e09f5874 Revert "Try to prevent flappy integration test failures"
This reverts commit ccbd56e625.
2021-01-18 10:52:08 +01:00
Sebastian Sdorra
d695925d38 Update jgit to 5.10.0.202012080955-r-scm1 2021-01-18 09:15:51 +01:00
René Pfeuffer
664d9f5156 Suppress irrelevant warning 2021-01-15 17:40:59 +01:00
René Pfeuffer
4bd162ebcf Write current docker tag to file 2021-01-15 17:09:56 +01:00
René Pfeuffer
ccbd56e625 Try to prevent flappy integration test failures
Some integration tests tend to fail from time to time with
a server side error reading packed objects. This is kind
of a desperate try to fix these.
2021-01-15 15:32:18 +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
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
c21f09ccd8 Upload only if skip is not set 2021-01-15 07:32:36 +01:00
Sebastian Sdorra
35c342dc35 Fix helm build 2021-01-14 21:37:12 +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
René Pfeuffer
cbb95ad107 Validate type parameter 2021-01-14 14:22:24 +01:00
Sebastian Sdorra
d91f08aa1c Use develop as target branch for sonarqube 2021-01-14 13:39:26 +01:00
René Pfeuffer
f9aa2b529e Validate type parameter 2021-01-14 13:09:02 +01:00
Sebastian Sdorra
debd41c431 Update java build agent 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
8964b6ff23 Set java user home to scm home 2021-01-14 12:01:34 +01:00
René Pfeuffer
e9410c6c3f Clean up before running old it cases from webapp 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
0ccbc34ccb Use jest-preset version 2.12.4 to fix ui coverage 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
0c66e26c0d Remove unecessary extra sonarqube task from scm-ui 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
2747797556 Increase memory of build process 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
18e841b0e8 Start sonarqube integration 2021-01-14 12:01:34 +01:00
René Pfeuffer
76ea458981 Stop server after Java ITs finish
Otherwise, the server would not be stoppen when an
integration test fails
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
64cb20a951 Use Input instead of InputDirectory for directory property 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
René Pfeuffer
75ba7459c0 Fix server shutdown after integration tests 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
22375c8096 Do not abort on failing test, if we run on ci server 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
9e597bb9e0 Start Jenkinsfile migration 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
964b6c3df5 Update grade-smp-plugin to version 0.7.0 and remove build of it 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
d2220af840 Add tasks to modify project version 2021-01-14 12:01:34 +01:00