go.fuchsia.dev/infra@v0.0.0-20240507153436-9b593402251b/cmd/ftxtest/proto/input.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "go.fuchsia.dev/infra/cmd/ftxtest/proto"; 4 5 message InputProperties { 6 // Name of the test being run. 7 string name = 6; 8 // Whether this test should run in the Google internal or external infrastructure. 9 bool external = 7; 10 // CAS digest containing all of the inputs needed to both prepare targets 11 // and run tests. 12 string input_artifacts_digest = 1; 13 // Any CIPD packages needed to run the test task. 14 repeated CipdPackage cipd_packages = 2; 15 // Dimensions to select which swarming bots to target. 16 map<string, string> target_dimensions = 5; 17 // Test execution details. 18 GenericTest test = 8; 19 // Generic metadata about the build. 20 map<string, string> metadata = 9; 21 // Path to the the output summary json file in the CAS outputs. 22 string summary_path = 10; 23 } 24 25 message HostTest { 26 // Command. 27 repeated string command = 1; 28 // System environment variables. 29 map<string, string> env = 2; 30 } 31 32 message GenericTest { 33 oneof kind { 34 // Runs arbitrary binaries directly on the host environment. 35 HostTest host = 1; 36 } 37 } 38 39 message CipdPackage { 40 // Name of the cipd package, i.e. fuchsia/sdk/core/${platform} 41 string name = 3; 42 // Version of the cipd package to install, i.e. latest 43 string version = 2; 44 // Path to install cipd package to, i.e. sdk 45 string path = 1; 46 }