-
Notifications
You must be signed in to change notification settings - Fork 6
/
bitrise.yml
117 lines (116 loc) · 3.37 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
---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- push_branch: master
workflow: primary
- pull_request_source_branch: "*"
workflow: pullrequest
workflows:
deploy:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
title: Do anything with Script step
- [email protected]: {}
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- [email protected]: {}
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- scheme: "$BITRISE_SCHEME"
- export_method: "$BITRISE_EXPORT_METHOD"
- [email protected]: {}
- [email protected]: {}
primary:
steps:
- gitlab-status:
inputs:
- private_token: "$BITRISE_GITLAB_PRIVATE_ACCESS_TOKEN"
- preset_status: running
- api_base_url: https://gitlab.chaosspace.de/api/v4
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- cache-pull: {}
- certificate-and-profile-installer: {}
- cocoapods-install: {}
- recreate-user-schemes:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- xcode-test:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- simulator_device: iPhone XR
- scheme: "$BITRISE_SCHEME"
- deploy-to-bitrise-io: {}
- cache-push: {}
- gitlab-status:
inputs:
- private_token: "$BITRISE_GITLAB_PRIVATE_ACCESS_TOKEN"
- api_base_url: https://gitlab.chaosspace.de/api/v4
pullrequest:
steps:
- gitlab-status:
inputs:
- private_token: "$BITRISE_GITLAB_PRIVATE_ACCESS_TOKEN"
- preset_status: running
- api_base_url: https://gitlab.chaosspace.de/api/v4
- activate-ssh-key:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- cache-pull: {}
- certificate-and-profile-installer: {}
- cocoapods-install: {}
- recreate-user-schemes:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- script:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
bundle install
bundle exec danger
title: Danger
- xcode-test:
inputs:
- project_path: "$BITRISE_PROJECT_PATH"
- simulator_device: iPhone XR
- scheme: "$BITRISE_SCHEME"
- deploy-to-bitrise-io: {}
- cache-push: {}
- gitlab-status:
inputs:
- private_token: "$BITRISE_GITLAB_PRIVATE_ACCESS_TOKEN"
- api_base_url: https://gitlab.chaosspace.de/api/v4
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: LetsMeet.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: LetsMeet
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: development
- opts:
is_expand: false
DANGER_GITLAB_API_BASE_URL: https://gitlab.chaosspace.de/api/v4
- opts:
is_expand: false
DANGER_GITLAB_HOST: gitlab.chaosspace.de