This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
/
step.yml
102 lines (89 loc) · 2.95 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
#
# A couple of useful guides & docs:
#
# - Main Bitrise CLI docs: https://github.com/bitrise-io/bitrise/tree/master/_docs
# - Step Development Guideline: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
# - Bitrise.yml format spec: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md
# - Bitrise docs: http://devcenter.bitrise.io/
# - Bitrise CLI guides: http://devcenter.bitrise.io/bitrise-cli/
title: |-
Autograph APK sign service
summary: |
This step upload the apk to autograph server endpoint with HTTP POST method, and download the signed APK.
description: |
This step requires an access token to upload APK to autograph sign server endpoint
website: https://github.com/mozilla-tw/bitrise-step-autograph-apk-sign-service
source_code_url: https://github.com/mozilla-tw/bitrise-step-autograph-apk-sign-service
support_url: https://github.com/mozilla-tw/bitrise-step-autograph-apk-sign-service/issues
host_os_tags:
- osx-10.10
- ubuntu
# If this step should be available only for certain project types
# just uncomment this `project_type_tags` section and include all the
# project types supported by the step. If the step can be used for all
# project types then you can just remove this section.
# If no `project_type_tags` specified (or specified as an empty array)
# that means the step can be used for any project type.
# You can find more information about project type tags in the Step Development Guideline:
# https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
#
project_type_tags:
- android
- xamarin
- react-native
- cordova
- ionic
type_tags:
- code-sign
is_requires_admin_user: true
is_always_run: false
is_skippable: false
run_if: ""
deps:
brew:
- name: curl
apt_get:
- name: curl
toolkit:
bash:
entry_file: step.sh
inputs:
- token:
opts:
title: Access Token
is_required: true
- apk_path: "$BITRISE_APK_PATH"
opts:
title: "apk path"
summary: ""
description: |-
Path(s) to the APK file to sign.
You can provide multiple APK file paths separated by `|` character.
Format examples:
- `/path/to/my/app.apk`
- `/path/to/my/app1.apk|/path/to/my/app2.apk|/path/to/my/app3.apk`
is_required: true
is_sensitive: true
- endpoint: "$AUTOGRAPH_ENDPOINT"
opts:
title: Autograph Sign Server URL
is_required: true
is_sensitive: true
# - example_step_input: Default Value - you can leave this empty if you want to
# opts:
# title: "Example Step Input"
# summary: Summary. No more than 2-3 sentences.
# description: |
# Description of this input.
#
# Can be Markdown formatted text.
# is_expand: true
# is_required: true
# value_options: []
outputs:
- BITRISE_SIGNED_APK_PATH:
opts:
title: "Bitrise signed apk path"
- BITRISE_APK_PATH:
opts:
title: "Bitrise original apk path"