-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitrise.yml
151 lines (148 loc) · 3.88 KB
/
bitrise.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
format_version: '4'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
workflows:
Pre:
steps:
- activate-ssh-key: {}
- git-clone: {}
- script:
title: Pod Repo Update
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
pod repo update
- certificate-and-profile-installer: {}
Post:
steps:
- deploy-to-bitrise-io: {}
- slack:
inputs:
- channel: eisenhower-notifs
- text: ''
- text_on_error: ''
- channel_on_error: ''
- webhook_url: https://hooks.slack.com/services/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
Beta:
before_run:
- Pre
after_run:
- Post
envs:
- opts:
is_expand: false
BITRISE_SCHEME: EisenhowerTaskManager-adhoc
- opts:
is_expand: false
PLIST_PATH: EisenhowerTaskManager/EisenhowerTaskManager/EisenhowerTaskManager-adhoc.plist
- opts:
is_expand: false
FABRIC_API_KEY: 00536d96ece7d34be4956bf5d2996ff9c2baafeb
- opts:
is_expand: false
FABRIC_BUILD_SECRET: 9ad7fc258954eb07425424905647c992ae1e75c69312a6be87038ca6488298b9
steps:
- build-number-adjust: {}
- set-xcode-build-number:
inputs:
- plist_path: "$PLIST_PATH"
- cocoapods-install: {}
- xcode-archive: {}
- fabric-crashlytics-beta-deploy:
inputs:
- build_secret: "$FABRIC_BUILD_SECRET"
- api_key: "$FABRIC_API_KEY"
Testflight:
before_run:
- Pre
after_run:
- Post
envs:
- opts:
is_expand: false
BITRISE_SCHEME: EisenhowerTaskManager-appstore
- opts:
is_expand: false
PLIST_PATH: EisenhowerTaskManager/EisenhowerTaskManager/EisenhowerTaskManager-appstore.plist
- opts:
is_expand: false
FABRIC_API_KEY: 00536d96ece7d34be4956bf5d2996ff9c2baafeb
- opts:
is_expand: false
FABRIC_BUILD_SECRET: 9ad7fc258954eb07425424905647c992ae1e75c69312a6be87038ca6488298b9
steps:
- build-number-adjust: {}
- set-xcode-build-number:
inputs:
- plist_path: "$PLIST_PATH"
- cocoapods-install: {}
- xcode-archive: {}
- deploy-to-itunesconnect-deliver:
inputs:
- itunescon_user: "$ITUNES_CONNECT_EMAIL"
- bundle_id: "$BUNDLE_ID"
- team_id: "$TEAM_ID"
- password: "$ITUNES_CONNECT_PASSWORD"
Develop:
before_run:
- Pre
after_run:
- Post
envs:
- opts:
is_expand: false
BITRISE_SCHEME: EisenhowerTaskManager-development
- opts:
is_expand: false
PLIST_PATH: EisenhowerTaskManager/EisenhowerTaskManager/EisenhowerTaskManager-development.plist
steps:
- script:
title: Fetch Lokalise.co
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
brew tap lokalise/brew
brew install lokalise
- script:
title: Danger
inputs:
- content: |-
#!/bin/bash
# fail if any commands fails
set -e
# debug log
set -x
bundle install
bundle exec danger
- cocoapods-install: {}
- xcode-test: {}
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: EisenhowerTaskManager/EisenhowerTaskManager.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: EisenhowerTaskManager-development
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: development
- opts:
is_expand: false
BUNDLE_ID: com.oleggorbatchev.EisenhowerTaskManager
trigger_map:
- push_branch: master
workflow: Testflight
- push_branch: develop
workflow: Beta
- pull_request_source_branch: "*"
workflow: Develop