Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update release workflow with protoc and accurate versioning (#162)
* remove score, algo and rules from crate * remove useless struct * 149 design a protobuf file for grpc (#152) * Add gRPC dependencies * Add a first version of the protobuf file and rust build script * grpc: Add docs to the proto * grpc: Fix hub connection response type * grpc: Remove hub connection as it is done via http * grpc: Add stream for update requests * change protofile name in build script * add prost-types and tokio-stream to deps * gRPC: Send filelister output over the wire * put prost_types back to the build deps * grpc: Add FileInfoCreate procedure to proto * Config: Add gRPC endpoint in default config * grpc: Add first implementation of the gRPC client * build: Update dependencies in Cargo.toml Remove crossbeam-channel from Cargo.lock * grpc(proto): Update file event message and response naming convention. * grpc: switch to tokio::sync::mpsc Allow conversion of channel to stream automatically * grpc: pass by ref and remove crossbeam dep * grpc: stage cargo.toml * Remove comments and unecessary code * error: rename `MyError` to `AgentError` * fix: trim quotes from agent UUID * hub: Add error management to Hub client code --------- Co-authored-by: majent4 <[email protected]> * Remove myfiles from repo (#156) * myfiles: remove mod from repo * remove unused dependencies * Update Dockerfile * Update Dockerfile * Add moved event support support (#161) * Add gRPC dependencies * Add a first version of the protobuf file and rust build script * grpc: Add docs to the proto * grpc: Fix hub connection response type * grpc: Remove hub connection as it is done via http * grpc: Add stream for update requests * change protofile name in build script * add prost-types and tokio-stream to deps * gRPC: Send filelister output over the wire * put prost_types back to the build deps * grpc: Add FileInfoCreate procedure to proto * Config: Add gRPC endpoint in default config * grpc: Add first implementation of the gRPC client * build: Update dependencies in Cargo.toml Remove crossbeam-channel from Cargo.lock * grpc(proto): Update file event message and response naming convention. * grpc: switch to tokio::sync::mpsc Allow conversion of channel to stream automatically * grpc: pass by ref and remove crossbeam dep * grpc: stage cargo.toml * Remove comments and unecessary code * error: rename `MyError` to `AgentError` * fix: trim quotes from agent UUID * hub: Add error management to Hub client code * Install protoc in Dockerfile * hub(grpc): fix config * hub(grpc): fix config and configuration file * Merge origin/dev into 149-design-a-protobuf-file-for-grpc * Fix imports due to bad merge * grpc(proto): Add repeated field to path for moved event * hub(grpc): Add support for moved events and majority of update events * docker.json: use grpc port 8080 --------- Co-authored-by: majent4 <[email protected]> * gh: download protoc in CI for tests * gh: unzip protoc in authorized dest and add dest to path * gha: add protoc to path for linux and macos * gha: add protoc to path for linux and macos * gha: add protoc to path for linux and macos * gha: add protoc to path for linux and macos * gha: add perms to path for linux and macos * gha: debug * gha: debug * gha: debug * gha: debug * gha: debug * gha: debug * file_info: update tests * tests: fix tests * Implement tests error enum (#160) * myfiles: remove mod from repo * remove unused dependencies * crate: cleaning crate * Merge dev into branch * final error handling * rename uuid mod to agent_uuid * cargo: restore bin for release pipeline * cargo: bump h2 deps * gh: install protoc for release * gh: fix conditions in workflow jobs * gh: download protoc before building * gh: fix protoc release name download * gh: upload file to release * gh: release remove exess argument * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name * gh: fix bin release name --------- Co-authored-by: majent4 <[email protected]>
- Loading branch information