forked from bitrise-steplib/steps-project-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep.yml
executable file
·91 lines (84 loc) · 3.27 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
title: "Project scanner"
summary: Scans repository for iOS, macOS, Android, Fastlane, Cordova, Ionic, React Native and Flutter projects
description: |-
For iOS and macOS projects, the step detects CocoaPods and scans Xcode project files
for valid Xcode command line configurations.
For Android projects, the step checks for build.gradle files and lists all the gradle tasks. It
also checks for gradlew file.
For Fastlane, the step detects Fastfile and lists the available lanes.
For Cordova projects, the step checks for the config.xml file.
For Ionic projects, the step checks for the ionic.config.json and ionic.project files.
For React Native projects, the step checks for package.json files and also runs the
iOS and Android native project scanners.
For Flutter projects, the step checks for the pubspec.yaml files.
website: https://github.com/bitrise-steplib/steps-project-scanner
source_code_url: https://github.com/bitrise-steplib/steps-project-scanner
support_url: https://github.com/bitrise-steplib/steps-project-scanner/issues
type_tags:
- utility
is_requires_admin_user: false
is_always_run: false
is_skippable: false
toolkit:
go:
package_name: github.com/bitrise-io/steps-project-scanner
inputs:
- scan_dir: $BITRISE_SOURCE_DIR
opts:
title: "Directory to scan."
description: "The step will look for the projects in this directory."
is_required: true
- scan_result_submit_url: "$BITRISE_SCAN_RESULT_POST_URL"
opts:
title: "POST url to send the scan results to"
description: |
If provided, the scan results will be sent to the given
URL, with a POST request.
is_dont_change_value: true
- scan_result_submit_api_token: "$BITRISE_APP_API_TOKEN"
opts:
title: "API Token for scan result submission"
description: |
If provided and `scan_result_submit_url` also provided,
this API Token will be used for sending the Scan Results.
is_dont_change_value: true
is_sensitive: true
- icon_candidates_url: "$BITRISE_AVATAR_CANDIDATES_POST_URL"
opts:
title: "URL to get app icon candidates upload URLs"
description: |
If provided, the app icons will be uploaded.
- verbose_log: "false"
opts:
title: "Verbose log option"
description: |
You can enable the verbose log for easier debugging.
value_options:
- "true"
- "false"
- enable_repo_clone: "no"
opts:
title: "Activate SSH key and clone git repo inside the step"
description: |
If set to yes then it will setup the ssh key and will clone the repo with the provided url and branch name.
value_options:
- "yes"
- "no"
- ssh_rsa_private_key: "$SSH_RSA_PRIVATE_KEY"
opts:
title: "SSH private key in RSA format"
description: "SSH key to be used for the git clone."
is_expand: true
is_dont_change_value: true
is_sensitive: true
- repository_url: "$GIT_REPOSITORY_URL"
opts:
title: "Git repository URL"
description: "Url to be used for the git clone."
is_dont_change_value: true
- branch: "$BITRISE_GIT_BRANCH"
opts:
category: Clone Config
title: "Git Branch to clone"
description: "Branch to be used for the git clone."
is_dont_change_value: true