forked from ProtonVPN/ios-mac-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
62 lines (53 loc) · 1.56 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
stages:
- i18n
- github
- lint
- deploy
- build
- distribute
- test
- test_ui
- cleanup
variables:
GIT_SUBMODULE_STRATEGY: normal
GIT_SUBMODULE_FORCE_HTTPS: "true"
LC_ALL: "en_US.UTF-8"
LANG: "en_US.UTF-8"
CI_KEYCHAIN_NAME: $CI_JOB_ID
# We use this variable when we run publish-github jobs
RELEASE_GITHUB_REPOSITORY: [email protected]:ProtonVPN/ios-mac-app.git
# Folder where jobs put their output like build binaries, test results, etc.
JOBS_OUTPUT_PATH: "artifacts/"
# Default tart settings
TART_EXECUTOR_ALWAYS_PULL: "false"
TART_EXECUTOR_HEADLESS: "false"
# Nexus
NEXUS_GROUP: "/Vpn/IOS/Sli/Latest/Stable/"
NEXUS_REPO: "test-productivity-builds-distribution"
default:
image: "team-vpn-macos14.4.1-xcode15.0.1"
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" ||
$CI_PIPELINE_SOURCE == "schedule" ||
$CI_COMMIT_BRANCH == "develop"
variables:
# also deploy on MRs and schedules
ATLAS_DEPLOY_ENV: "true"
# run tests without env deployment
- if: $CI_COMMIT_TAG
include:
- project: 'proton/devops/atlas-deploy'
ref: main
file: '/scenarios/pipeline-env.yml'
- project: 'translations/generator'
ref: master
file: '/jobs/sync-crowdin.gitlab-ci.yml'
- project: 'translations/generator'
ref: master
file: '/jobs/commit-locales.gitlab-ci.yml'
- project: 'agarroux/publish-github'
ref: feat/github-app
file: '/jobs/release.gitlab-ci.yml'
# Include all jobs from all the files on `.gitlab/jobs/` folder
- local: '.gitlab/jobs/*.yml'