-
Notifications
You must be signed in to change notification settings - Fork 6
/
step.yml
168 lines (151 loc) · 5.46 KB
/
step.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
title: HockeyApp iOS Deploy
summary: Deploy your iOS Application to HockeyApp. (Deprecated.)
description: |-
__Deprecated__, see [https://www.hockeyapp.net/blog/2019/11/16/hockeyApp-is-being-retired.html](https://www.hockeyapp.net/blog/2019/11/16/hockeyApp-is-being-retired.html).
Deploy an iOS application to [HockeyApp](http://hockeyapp.net),
add notes even in markdown format, notify testers, restrict download.
Register a HockeyApp account at [http://hockeyapp.net/](http://hockeyapp.net)
and create an app to utilize this step.
You also need to create a *HockeyApp Token* for your app.
If an `app_id` is provided, the IPA file will be uploaded to the specified app on HockeyApp.
Otherwise HockeyApp will decide whether it's a new app or an update to an existing app based on the bundle ID.
website: https://github.com/bitrise-io/steps-hockeyapp-deploy
source_code_url: https://github.com/bitrise-io/steps-hockeyapp-deploy
support_url: https://github.com/bitrise-io/steps-hockeyapp-deploy/issues
project_type_tags:
- ios
- xamarin
- cordova
- ionic
- react-native
type_tags:
- deploy
is_requires_admin_user: false
is_always_run: false
is_skippable: false
run_if: ".IsCI"
deps:
brew:
- name: go
apt_get:
- name: golang
bin_name: go
toolkit:
go:
package_name: github.com/bitrise-io/steps-hockeyapp-deploy
inputs:
- ipa_path: "$BITRISE_IPA_PATH"
opts:
title: "IPA file path"
- dsym_path: "$BITRISE_DSYM_PATH"
opts:
title: "dSYM zip file path (optional)"
description: |-
To turn on dSYM generation open your Xcode project,
select *Project Settings - Build Settings - Debug Information Format*
and make sure it's set to the *DWARF with dSYM File* option.
After dsym generated, zip it and provide the zipped path as input.
- api_token: ""
opts:
title: "API Token"
description: |-
Note: different access types exist when obtaining a api_token on your account page.
## Where to get the HockeyApp API Token?
Sign in to your [http://hockeyapp.net/](http://hockeyapp.net) account,
click on your username at the top right corner to get to the
*Manage Account* page. Select the *API Tokens* option on the left side
and if you don't have an appropriate API Token for your app or account
you can register one here.
You can see your registered API Tokens at the bottom of this page
at the *Active API Tokens* section. Copy and paste here the API Token
you want to use.
is_required: true
is_sensitive: true
- app_id: ""
opts:
title: "HockeyApp: App ID"
description: |-
**Important:**
*If no App ID is specified HockeyApp will attach the build
to an app on HockeyApp based on the bundle ID, or create a new app on HockeyApp
if it does not match any existing HockeyApp app's bundle ID.*
*If you set the App ID the build will be uploaded for the specified
HockeyApp app/project!*
## Where to get the HockeyApp App ID?
If you didn't register your app on [http://hockeyapp.net/](http://hockeyapp.net)
you first have to do so to get an App ID.
Once the app is registered select it from the Apps list on the
Dashboard page and on the left side you'll find the **App ID**
of the app. Copy and paste it here.
is_sensitive: true
- notes: "Deploy with Bitrise HockeyApp Deploy Step."
opts:
title: "Notes attached to the deploy"
description: |-
Additional notes to the deploy.
- notes_type: "0"
opts:
title: Notes type
description: |-
Possible values:
* 0: Textile
* 1: Markdown
value_options: ["0", "1"]
is_required: true
- notify: "2"
opts:
title: "Notify Testers?"
description: |-
Sets who should be notified on deployment.
**Requires full-access tokens.**
Possible values:
* 0 - Don't notify testers
* 1 - Notify all testers that can install this app
* 2 - Notify all testers
value_options: ["0", "1", "2"]
is_required: true
- status: "2"
opts:
title: "Allow Download?"
description: |
Download status.
**Requires full-access tokens.**
Possible values:
* 1 - do not allow users to download the version
* 2 - make the version available for download.
value_options: ["1", "2"]
is_required: true
- mandatory: "false"
opts:
title: "Mandatory?"
description: |
Set if version is mandatory to install.
value_options: ["true", "false"]
is_required: true
- tags: ""
opts:
title: "(optional) Restrict download: Tags"
description: |
Restrict download to comma-separated list of tags.
- commit_sha: "$BITRISE_GIT_COMMIT"
opts:
title: "(optional) Git commit sha for this build"
- build_server_url: "$BITRISE_BUILD_URL"
opts:
title: "(optional) Build job URL (on your build server)"
- repository_url: ""
opts:
title: "(optional) Source Code Repository URL"
outputs:
- HOCKEYAPP_DEPLOY_STATUS: ""
opts:
title: "Deployment result: 'success' or 'failed'"
- HOCKEYAPP_DEPLOY_PUBLIC_URL: ""
opts:
title: "Public URL of the newly deployed version"
- HOCKEYAPP_DEPLOY_BUILD_URL: ""
opts:
title: "URL of the HockeyApp build"
- HOCKEYAPP_DEPLOY_CONFIG_URL: ""
opts:
title: "URL of the HockeyApp config view"