Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI and ttrpc built proto files #411

Merged
merged 3 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/aa_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
- 'attestation-agent/**'
- '.github/workflows/aa_basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'attestation-agent/**'
- '.github/workflows/aa_basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
create:
workflow_dispatch:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/api-server-rest-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
- 'api-server-rest/**'
- '.github/workflows/api-server-rest-basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'api-server-rest/**'
- '.github/workflows/api-server-rest-basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
create:
workflow_dispatch:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cdh_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
- 'confidential-data-hub/**'
- '.github/workflows/cdh_basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'confidential-data-hub/**'
- '.github/workflows/cdh_basic.yml'
- 'Cargo.toml'
- 'Cargo.lock'
create:
workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/image_rs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
paths:
- 'image-rs/**'
- '.github/workflows/image_rs_build.yml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'image-rs/**'
- '.github/workflows/image_rs_build.yml'
- 'Cargo.toml'
- 'Cargo.lock'
create:
workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ocicrypt_rs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
paths:
- 'ocicrypt-rs/**'
- '.github/workflows/ocicrypt_rs_build.yml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- 'ocicrypt-rs/**'
- '.github/workflows/ocicrypt_rs_build.yml'
- 'Cargo.toml'
- 'Cargo.lock'
create:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions api-server-rest/src/ttrpc_proto/attestation_agent.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceRequest.RuntimeData)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceResponse.Evidence)
Expand Down Expand Up @@ -269,8 +269,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.TokenType)
Expand Down Expand Up @@ -391,8 +391,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenResponse.Token)
Expand Down
8 changes: 3 additions & 5 deletions api-server-rest/src/ttrpc_proto/attestation_agent_ttrpc.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down
8 changes: 4 additions & 4 deletions api-server-rest/src/ttrpc_proto/confidential_data_hub.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceRequest {
// message fields
// @@protoc_insertion_point(field:api.GetResourceRequest.ResourcePath)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetResourceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:api.GetResourceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetResourceResponse {
// message fields
// @@protoc_insertion_point(field:api.GetResourceResponse.Resource)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 3.2.0. Do not edit
// This file is generated by rust-protobuf 3.3.0. Do not edit
// .proto file is parsed by pure
// @generated

Expand All @@ -23,10 +23,10 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_3_0;

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceRequest.RuntimeData)
Expand Down Expand Up @@ -147,8 +147,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetEvidenceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetEvidenceResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetEvidenceResponse.Evidence)
Expand Down Expand Up @@ -269,8 +269,8 @@ impl ::protobuf::reflect::ProtobufValue for GetEvidenceResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenRequest.TokenType)
Expand Down Expand Up @@ -391,8 +391,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.GetTokenResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GetTokenResponse {
// message fields
// @@protoc_insertion_point(field:attestation_agent.GetTokenResponse.Token)
Expand Down Expand Up @@ -513,8 +513,8 @@ impl ::protobuf::reflect::ProtobufValue for GetTokenResponse {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.ExtendRuntimeMeasurementRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtendRuntimeMeasurementRequest {
// message fields
// @@protoc_insertion_point(field:attestation_agent.ExtendRuntimeMeasurementRequest.Events)
Expand Down Expand Up @@ -653,8 +653,8 @@ impl ::protobuf::reflect::ProtobufValue for ExtendRuntimeMeasurementRequest {
type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:attestation_agent.ExtendRuntimeMeasurementResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtendRuntimeMeasurementResponse {
// special fields
// @@protoc_insertion_point(special_field:attestation_agent.ExtendRuntimeMeasurementResponse.special_fields)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// This file is generated by ttrpc-compiler 0.6.1. Do not edit
// This file is generated by ttrpc-compiler 0.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unknown_lints)]
#![allow(clipto_camel_casepy)]

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
Expand All @@ -17,6 +14,7 @@
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]
#![allow(clippy::all)]
use protobuf::{CodedInputStream, CodedOutputStream, Message};
use std::collections::HashMap;
use std::sync::Arc;
Expand Down
Loading