-
Notifications
You must be signed in to change notification settings - Fork 3
/
step.yml
66 lines (57 loc) · 2.1 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
title: Activate Bitrise Build Cache Add-On for Gradle
summary: Activates Bitrise Remote Build Cache add-on for subsequent Gradle builds in the workflow
description: |
This Step activates Bitrise's remote build cache add-on for subsequent Gradle executions in the workflow.
After this Step executes, Gradle builds will automatically read from the remote cache and push new entries if it's enabled.
website: https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
source_code_url: https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
support_url: https://github.com/bitrise-steplib/bitrise-step-activate-gradle-remote-cache
type_tags:
- utility
run_if: .IsCI
is_skippable: true
toolkit:
bash:
entry_file: step.sh
inputs:
- push: "true"
opts:
title: Push new cache entries
summary: Whether the build can not only read, but write new entries to the remote cache
is_required: true
value_options:
- "true"
- "false"
- validation_level: warning
opts:
title: Validation level
is_required: true
value_options:
- none
- warning
- error
summary: Level of cache entry validation for both uploads and downloads.
description: |-
Level of cache entry validation for both uploads and downloads.
Levels:
- `none`: no validation.
- `warning`: print a warning about invalid cache entries, but don't interrupt the build
- `error`: print an error about invalid cache entries and interrupt the build
- collect_metrics: "true"
opts:
title: Collect Gradle build metrics
is_required: true
value_options:
- "true"
- "false"
summary: Collect build metrics in subsequent Gradle executions
description: |-
When enabled, this sets up Gradle build metrics collection for the subsequent Gradle invocations in the workflow. Metrics are sent to [Bitrise Insights](https://app.bitrise.io/insights).
- verbose: "false"
opts:
title: Verbose logging
summary: Enable logging additional information for troubleshooting
is_required: true
value_options:
- "true"
- "false"