Commit Graph

67 Commits

Author SHA1 Message Date
Vincent Brison 1669baa6c2 Setup core snapshot support. 2022-02-16 16:01:33 +00:00
Maciej Surmacz 959a9adf26 Uses a gradle param to control the ui automation test environment
MAILAND-2711
2022-01-19 14:31:35 +00:00
msurmacz 3137180de9 Set the clearPackageData=true for UI tests 2022-01-14 08:29:45 +00:00
msurmacz 7cd704679e Adds a uiAutomation flavour in order to use a different instrumentation
test runner
2022-01-14 08:29:45 +00:00
Denys Zelenchuk 5c24e846db Added UI tests to v4. 2022-01-14 08:29:45 +00:00
Zorica Stojchevska 72a6bee0a6 Revert "Setup core snapshot support"
This reverts commit 94f2101b
2021-12-24 11:45:53 +01:00
Vincent Brison 94f2101b1d Setup core snapshot support 2021-12-20 07:52:46 +00:00
Marino Meneghel 34f3b441fb Update core detekt plugin
The plugin now contains a fix for the codequality issue on gitlab,
so the workaround to inject "severity" into the report can be dropped.
2021-12-16 18:08:43 +01:00
Marino Meneghel 98a469fb7d Prevent some CI stages from running on scheduled builds
The goal of this is to ensure the automated PRs that update the
translations from corwdin are working. They are running on a schedule
and the last couple have been failing on steps that aren't needed at
that time (schedule only cares about opening the MR with translations,
all checks will then run on the MR itself)
2021-12-16 15:58:47 +00:00
Marino Meneghel 74caff9395 Restore check for fixups pipeline stage
Changing it to run without the need to being in a merge request pipeline
2021-11-26 15:24:10 +00:00
Marino Meneghel c061377ecc Simplify Gitlab pipeline definition
- Remove 'merge request only' rules to avoid having detatched pipelines
2021-11-26 15:24:10 +00:00
Marino Meneghel 1a63e5e310 Add CI stage to run instrumented android tests on CI 2021-11-26 15:24:10 +00:00
Marino Meneghel 7633c319d2 Fix codequality reports for GitLab
Add severity to detekt report instead of "level" so that gitlab reads it
correctly
2021-11-26 15:24:10 +00:00
Neil Marietta 065944db66 Updated CI Docker image (Java 11 support). 2021-10-21 15:22:40 +02:00
Algirdas Pundzius 9ddee610b2 Add appetize CD integration 2021-10-15 11:48:16 +03:00
Marino Meneghel 43e8242f50 Make step that pusblishes tags on github manual 2021-09-02 10:46:25 +02:00
Tomasz Giszczak 9834972759 Make detekt reports beig uploaded on failure instead of on success 2021-07-26 18:24:23 +02:00
Marino Meneghel 53053dfb4b Use large CI runner for detekt analyse step
This is to solve some OOM failures we're having on the CI
2021-07-26 18:24:23 +02:00
Tomasz Giszczak 06ec143e3e Export detekt reports as artifacts 2021-07-16 10:33:40 +02:00
Tomasz Giszczak aef9c92074 Update detekt command run on CI and the current error count. 2021-07-15 20:22:53 +02:00
Tomasz Giszczak 0fc7310b4d Updated gitlab build script to use standard detekt plugin for analysis.
MAILAND-1792
2021-07-01 08:26:30 +00:00
Zorica Stojchevska e5f2a2ed7f Add alpha flavour and different strings so testers can differentiate builds 2021-05-17 19:11:36 +02:00
Zorica Stojchevska a13fda583a Add manual CI job to be able to build alpha builds
Temporarily change firebase to a manual job until we add back the tests
2021-05-12 14:41:44 +02:00
dhoko 43481d2eac
Prevent x2 jobs branches + MR 2021-03-30 15:14:10 +02:00
Denys Zelenchuk aa75824d8e Increase Drafts functionality test coverage.
Affected: UI tests.

MAILAND-1457
2021-03-12 11:08:21 +01:00
dhoko 63ed4fb977 Add spellcheck job 2021-03-09 17:49:29 +00:00
stefanija 665acefc6c Add a v4 flavor to the project and clean up build types and flavors
The new v4 flavor with the theme provided by core should be the base of the upcoming app redesign.
Build types and flavors were revisited and improved.

MAILAND-1432

#comment Affected: Build variants
2021-02-12 11:48:14 +01:00
Denys Zelenchuk a52e0644ac Change OkHttp logging level to HEADERS for debug builds.
Affected: OkHttp logging.

MAILAND-1427
2021-02-04 09:19:36 +00:00
Denys Zelenchuk 43c9728a8c Added additional paramaters to UI test jobs.
Affected: UI test jobs on CI.

MAILAND-1385
2021-01-28 21:22:04 +00:00
Denys Zelenchuk 09a869e58b Adds labels and folders ui tests.
Affected: UI tests

MAILAND-1057
2021-01-19 08:24:51 +00:00
Denys Zelenchuk f31eba4211 Use proper job for feature UI tests in gilab config.
Affected: gitlab config file.

MAILAND-1330
2021-01-07 08:32:30 +00:00
Denys Zelenchuk 21a0dabd8f Fix scheduled jobs logic in gitlab config file.
Affected: gitlab config.

MAILAND-1330
2021-01-01 09:14:53 +00:00
Denys Zelenchuk 27605e0c52 Adds attachments UI tests.
Affected: UI tests

MAILAND-815
2020-12-23 13:48:24 +00:00
stefanija ed1e1deb01 Add unit and firebase test jobs in CI file for develop branch only 2020-12-23 13:16:19 +01:00
stefanija 1dbf7921ea Remove duplicated code in CI file 2020-12-23 12:15:34 +01:00
stefanija 01ff8eabf3 Add ./clean in CI file before building the project 2020-12-23 12:08:38 +01:00
Davide Farella 8b9b78e350 Changed build version
Affected: nothing

# Conflicts:
#	.gitlab-ci.yml
#	buildSrc/src/main/kotlin/ProtonMail.kt
2020-12-22 13:46:49 +00:00
Davide Farella 2ef9696032 Reduce jobs weight on CI
MAILAND-1218
2020-12-14 16:46:24 +00:00
Davide Farella c1eff90842 Include all the modules in caches on CI
MAILAND-1218
2020-12-14 16:46:24 +00:00
Davide Farella 1508a7ed13 Remove variables from .gitlab-ci.yml
MAILAND-1218
2020-12-14 16:46:24 +00:00
Davide Farella 78429d0ceb Use latest Docker image
MAILAND-1218
2020-12-14 16:46:24 +00:00
Zorica Stojchevska d8619aecab Fixes an dependence issue with testing stage inside ci file
#comment Affected: Running of CI jobs..
2020-12-11 12:08:36 +01:00
Zorica Stojchevska b104c2f443 Fixes a dependence issue inside ci file
#comment Affected: Running of CI jobs..
2020-12-11 08:17:19 +00:00
Zorica Stojchevska 60bf0f00cb Cleaned up ci file from unnecessary fetch
#comment Affected: Running of CI jobs..
2020-12-04 10:56:42 +00:00
Zorica Stojchevska 5486350c77 Added tags on CI job by heaviness, to correspond with changes on the runners 2020-11-26 09:57:00 +00:00
Zorica Stojchevska 55d2858698 Added a new CI job
Affected: nothing
2020-11-26 09:57:00 +00:00
denys zelenchuk c4a0f26283 Regression test suite.
Affected: UI tests, Reply, ReplyAll and Forward message functionality (buttons are enabled after message is decrypted).

MAILAND-1041
2020-11-17 11:58:48 +01:00
Zorica Stojchevska 82cd0cc296 Make manual release the first stage 2020-10-14 17:41:56 +02:00
Zorica Stojchevska 2f47270150 Make the detekt analysis job not mandatory for tags 2020-10-14 17:41:54 +02:00
Zorica Stojchevska 178e646443 Make the detekt analysis job not mandatory for release branches
If detekt fails we will still push to github as we can build.
2020-10-14 17:41:51 +02:00