-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
64 lines (61 loc) · 2.14 KB
/
Copy pathaction.yml
File metadata and controls
64 lines (61 loc) · 2.14 KB
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
name: Nativelink
description:
Bazel remote caching and remote execution — NativeLink Cloud, or on-prem with
NativeLink Enterprise (enterprise.nativelink.com)
author: Trace Machina <tom@tracemachina.com>
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: share-2
color: purple
# Define your inputs here.
inputs:
api_key:
description: API Key for Nativelink
required: true
account:
description: Nativelink Account Name
required: true
prefix:
description: Nativelink Cache Prefix
required: true
build_system:
description: 'Build system: bazel or buck2'
default: bazel
cache_url:
description: Nativelink Cache URL
bes_url:
description: Nativelink Build Event Service URL
bes_results_url:
description: Nativelink Build Results URL
scheduler_url:
description: >-
Remote execution scheduler address, e.g. grpcs://scheduler-.... Find it in
your NativeLink application under the quickstart settings for your
account. Leave unset for a cache-only build; there is no default, because
the address is not derivable from your account prefix.
remote_timeout:
description: Remote Execution Timeout in seconds
default: 600
environment:
description: Nativelink Environment
default: prod
attribution_url:
description: >-
Origin of the NativeLink GitHub App service, e.g.
https://github-app.nativelink.com. Set this to attribute each build to the
GitHub user who ran it, verified against GitHub's own OIDC token. Requires
`permissions: id-token: write` in the workflow. Bazel only.
attribution_audience:
description: >-
Audience the OIDC token is minted for. Must match the server's configured
audience; a token minted for another service is rejected.
default: nativelink.com
fail_on_attribution_error:
description: >-
Fail the job when attribution cannot be established. Defaults to false: a
NativeLink outage or a repository nobody enabled should cost a build its
verified identity, not its result.
default: 'false'
runs:
using: node24
main: dist/index.js