Commit Graph

81 Commits

Author SHA1 Message Date
Marino Meneghel e57930ff1b Update CI runner docker image to v1.1.0
This is needed to ensure CI runner has the updated ssh host key
for github. Also brings some other image improvements (changed base image)

NO-JIRA
2023-03-31 14:05:30 +02:00
Neil Marietta 5c33730239 Replaced Git Submodules by Include Core Build Gradle Plugin. 2022-11-30 14:06:09 +00:00
Marino Meneghel 537773a777 Disable ui tests stage on CI to avoid flakiness failures 2022-10-31 18:04:29 +01:00
Mateusz Armatys 1f6152a9d7 Update Core libs to 9.2.0.
Third-party library updates & emulator version update for instrumentation tests.

- Change device for instrumentation tests (due to SIGSEGV crash on API 28, x86)
- Update compileSdk to 32 (required by Compose)
- AGP 7.3.1 (needed to fix jacoco issue for instrumented tests)
- Kotlin 1.6.21 (1.6.20 is required by AGP and 1.6.21 required by Compose)
- Remove `buildToolsVersion` - it's determined by Android Gradle Plugin
- Hilt 2.44
- Android Test 1.4.0
- Android Test Orchestrator 1.4.1
- Dagger 2.44
- Fragment 1.5.4
2022-10-26 13:58:28 +00:00
Zorica Stojchevska f9504ed7b4 Use core appetize 2022-09-01 12:22:05 +02:00
Mateusz Armatys 4fbabeb580 Do not run `i18n-sync-crowdin` job, if the pipeline was triggered externally (e.g. by Core project). 2022-07-19 10:58:54 +00:00
Aurelien 37e5eeba6d Run sync crowdin earlier and not when we commit locales. 2022-06-02 14:09:17 +00:00
Zorica Stojchevska a2c327189d Revert "Add alpha build on rebranding branch [NEEDS TO BE REVERTED]"
This reverts commit 1a13a0c5
2022-05-25 15:18:45 +02:00
Stefanija Boshkovska b7e44c9802 Enable git submodules in CI
MAILAND-2889
2022-05-23 21:01:57 +00:00
Zorica Stojchevska 1a13a0c56e Add alpha build on rebranding branch [NEEDS TO BE REVERTED] 2022-05-23 21:01:57 +00:00
Mateusz Armatys 0662240030 Core CI integration (building Mail as part of Core CI pipeline) 2022-04-22 13:18:00 +00:00
Maciej Surmacz 92d4877f94 Updates the docker image 2022-03-21 10:00:29 +00:00
Neil Marietta e6ef7eb1b9 Updated Gitlab Runners. 2022-03-03 10:33:06 +01:00
Maciej Surmacz 04de46152b Moves the fixups check to the end of the pipeline 2022-02-17 17:38:44 +00:00
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