This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep.yml
129 lines (116 loc) · 4.76 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
#
# 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: |-
Onegini Application Thumbprint Android
summary: |
Calculates the application's thumbprint used by the Onegini Mobile SDK
description: |
The step is dedicated for Onegini Mobile Security Platform users, who use the Onegini Mobile SDK iOS in their Android apps.
The step calculates the application's thumbprint that is necessary to properly setup a mobile app project. The calculated
value is returned in the ONEGINI_APP_THUMBPRINT so that it can be used by the developers using separate steps.
The step requires you to have the access to the Onegini's Artifactory repository where Onegini SDKs and application
thumbprint calculators can be found. Because of that the step requires you to provide a proper Artifactory credentials
(username and password) as inputs.
For iOS apps please find a dedicated "Onegini Application Thumbprint iOS" step.
website: https://www.onegini.com
source_code_url: https://github.com/Onegini/bitrise-step-onegini-application-thumbprint-android
support_url: https://onegini.atlassian.net/servicedesk/customer/portals
host_os_tags:
- osx-10.10
- ubuntu-16.04
# 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
# Type tags are used for categorizing steps, for easier step discovery in Step Libraries.
# You can find more information about type tags in the Step Development Guideline:
# https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
type_tags:
- utility
is_requires_admin_user: true
is_always_run: false
is_skippable: false
run_if: ""
deps:
brew:
- name: git
- name: wget
apt_get:
- name: git
- name: wget
toolkit:
bash:
entry_file: step.sh
inputs:
- onegini_artifactory_username:
opts:
title: Onegini Artifactory Username
summary: The username used to fetch dependencies from Onegini's Artifactory repo
is_required: true
is_sensitive: true
- onegini_artifactory_password:
opts:
title: Onegini Artifactory Password
summary: The password used to fetch dependencies from Onegini's Artifactory repo
is_required: true
is_sensitive: true
- calculator_version: "2.1.0"
opts:
title: App Calculator version
summary: The version of the Onegini App Calculator to be used
description: |
* Please use the old "1.00.00" version of the calculator for Android SDK 8.3.0 and older.
* Please use the old "1.00.00" version also for Android SDK 9.0.0 - 9.1.0.
* Please use the latest "2.1.0" version of the calculator for Android SDK 8.3.0 and never, except the versions 9.0.0 - 9.1.0
is_required: true
value_options:
- "2.1.0"
- "1.00.00"
- application_path: $BITRISE_APK_PATH
opts:
title: APK path
summary: The path to the APK file
is_required: true
- temporary_path: $BITRISE_SOURCE_DIR
opts:
title: Temporary path
summary: The path where the calculator will be downloaded
is_required: true
- is_debug: "no"
opts:
category: Debug
title: "Debug print?"
description: |
If debug=yes the step will print debug infos about
the working dir, tmp file path, exit code, etc.
value_options:
- "no"
- "yes"
- package_name:
opts:
category: Debug
title: "Package name"
summary: Calculate the signature based on the provided package name.
description: |
In case you would like to calculate the signature based on the provided package name rather than
the binary itself please provide package name of your app.
**This option is less secure since it disables the tampering protection.**
To disable this option leave the field empty.
outputs:
- ONEGINI_APP_THUMBPRINT:
opts:
title: "Thumbprint"
summary: The calculated app's thumbprint