blob: 4989bef59112f2ef521514f399f9dbc3f8557713 [file] [log] [blame]
syntax = 'proto3';
package chromite.api;
import "build_api.proto";
import "common.proto";
// Autotest archive messages and service.
// Message for creating Hardware Test archives.
// Example Json:
// {"build_target":{"name":"board"},"output_directory":"/tmp/archives"}
message CreateHwTestArchivesRequest {
// The board whose tarballs are being created.
BuildTarget build_target = 1;
// The directory where the completed archive(s) should be saved.
string output_directory = 2;
}
// Information about an archive file.
message ArchiveFile {
// File path.
string path = 1;
}
// Response from creating Hardware Test archives.
message CreateHwTestArchivesResponse {
// The created archive files.
repeated ArchiveFile files = 1;
}
// Service to create a variety of autotest archives.
service ArchiveService {
// The module implementing the service.
option (service_options) = {
module: "autotest_archive",
};
// Create the HW Test archive.
rpc CreateHwTestArchives(CreateHwTestArchivesRequest)
returns (CreateHwTestArchivesResponse);
}