-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
49 lines (43 loc) · 984 Bytes
/
.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
---
before_script:
- set +o pipefail
- bundle config set deployment 'true'
- bundle config set path 'vendor/bundle'
stages:
- build
.build_fastlane:
allow_failure: false
stage: build
when: manual
environment:
name: accept
script:
- "bundle install --jobs 3 --retry 3"
- "bundle exec fastlane ios $FASTLANE_COMMAND environment:$ENVIRONMENT target:$TARGET_NAME --verbose"
tags:
- ios
artifacts:
expire_in: 2 weeks
paths:
- build/*.ipa
- build/*.dSYM.zip
build-accept:
extends: .build_fastlane
variables:
ENVIRONMENT: "Accept"
FASTLANE_COMMAND: "build_adhoc"
build-test:
extends: .build_fastlane
variables:
ENVIRONMENT: "Test"
FASTLANE_COMMAND: "build_adhoc"
build-production:
extends: .build_fastlane
variables:
ENVIRONMENT: "Production"
FASTLANE_COMMAND: "build_adhoc"
build-release:
extends: .build_fastlane
variables:
ENVIRONMENT: "Production"
FASTLANE_COMMAND: "release"