envoyproxy / java-control-plane

Java implementation of an Envoy gRPC control plane
Apache License 2.0
293 stars 136 forks source link

Script to update protos to specific envoy version #186

Closed slonka closed 2 years ago

slonka commented 2 years ago

This script automates the updating of SHAs to update protobuf files. This is the first step of automating protobuf updates. The next step will be to set up a webhook / trigger system to trigger this update scripts on Envoy release.

Here you can see passing build of an update triggered by this script: https://app.circleci.com/pipelines/github/envoyproxy/java-control-plane/179/workflows/994f4a7e-0300-408c-85ed-8436e6c2e0e4/jobs/713.

Usage (manual):

cd tools
./update-sha.sh v1.19.1 | tee /dev/tty > API_SHAS
./update-api.sh

When merged:

codecov-commenter commented 2 years ago

Codecov Report

Merging #186 (39d23d9) into main (06f2735) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #186   +/-   ##
=========================================
  Coverage     88.26%   88.26%           
  Complexity      298      298           
=========================================
  Files            31       31           
  Lines           980      980           
  Branches         78       78           
=========================================
  Hits            865      865           
  Misses           85       85           
  Partials         30       30           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2d0d9ec...39d23d9. Read the comment docs.