-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.proto
More file actions
84 lines (61 loc) · 2.92 KB
/
action.proto
File metadata and controls
84 lines (61 loc) · 2.92 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
syntax = "proto3";
package build.stack.bazel.aquery.differ;
option go_package = "github.com/stackb/bazel_difftools/build/stack/bazel/aquery/differ";
import "src/main/protobuf/analysis_v2.proto";
// Action is a version of analysis.Action where inputs/outputs and similar
// structures are expanded into their full paths.
message Action {
string id = 1;
// The target that was responsible for the creation of the action.
string target = 2;
// The aspects that were responsible for the creation of the action (if
// any). In the case of aspect-on-aspect, AspectDescriptors are listed in
// topological order of the dependency graph. e.g. [A, B] would imply that
// aspect A is applied on top of aspect B.
//
// repeated uint32 aspect_descriptor_ids = 3;
// Encodes all significant behavior that might affect the output. The key
// must change if the work performed by the execution of this action
// changes. Note that the key doesn't include checksums of the input files.
string action_key = 4;
// The mnemonic for this kind of action.
string mnemonic = 5;
// The configuration under which this action is executed.
//uint32 configuration_id = 6;
// The command line arguments of the action. This will be only set if
// explicitly requested.
repeated string arguments = 7;
// The list of environment variables to be set before executing the command.
repeated analysis.KeyValuePair environment_variables = 8;
// The set of input dep sets that the action depends upon. If the action
// does input discovery, the contents of this set might change during
// execution.
repeated string inputs = 9;
// The list of Artifact IDs that represent the output files that this action
// will generate.
repeated string outputs = 10;
// a space-concatenated string of the .Outputs
string output_files = 11;
// True iff the action does input discovery during execution.
bool discovers_inputs = 12;
// Execution info for the action. Remote execution services may use this
// information to modify the execution environment, but actions will
// generally not be aware of it.
repeated analysis.KeyValuePair execution_info = 13;
// The list of param files. This will be only set if explicitly requested.
repeated analysis.ParamFile param_files = 14;
// The id to an Artifact that is the primary output of this action.
string primary_output = 15;
// The execution platform for this action. Empty if the action has no
// execution platform.
string execution_platform = 16;
// The template content of the action, if it is TemplateExpand action.
string template_content = 17;
// The list of substitution should be performed on the template. The key is
// the string to be substituted and the value is the string to be substituted
// to.
repeated analysis.KeyValuePair substitutions = 18;
// The contents of the file for the actions.write() action
// (guarded by the --include_file_write_contents flag).
string file_contents = 19;
}