Skip to content

Commit 3eab8e2

Browse files
authored
Fix update-protobuf workflow, currently broken because of an (#315)
update in the repository_locations.bzl file for Envoy v1.29.0. Signed-off-by: rulex123 <[email protected]>
1 parent 0050fc4 commit 3eab8e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/update-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ curl -sL https://github.com/prometheus/client_model/archive/v${PROMETHEUS_SHA}.t
5454
mkdir -p "${protodir}/io/prometheus/client/"
5555
cp client_model-*/io/prometheus/client/metrics.proto "${protodir}/io/prometheus/client/"
5656

57-
curl -sL https://github.com/cncf/xds/archive/${UDPA_SHA}.tar.gz | tar xz --wildcards '*.proto'
57+
curl -sL https://github.com/cncf/xds/archive/${XDS_SHA}.tar.gz | tar xz --wildcards '*.proto'
5858
mkdir -p "${protodir}/udpa"
5959
mkdir -p "${protodir}/xds"
6060
cp -r xds-*/udpa/* "${protodir}/udpa"

tools/update-sha.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ PROMETHEUS_DATE=$(find_date "$CURL_OUTPUT" prometheus_metrics_model)
3939
OPENCENSUS_SHA=$(find_sha "$CURL_OUTPUT" opencensus_proto)
4040
OPENCENSUS_DATE=$(find_date "$CURL_OUTPUT" opencensus_proto)
4141

42-
UDPA_SHA=$(find_sha "$CURL_OUTPUT" com_github_cncf_udpa)
43-
UDPA_DATE=$(find_date "$CURL_OUTPUT" com_github_cncf_udpa)
42+
XDS_SHA=$(find_sha "$CURL_OUTPUT" com_github_cncf_xds)
43+
XDS_DATE=$(find_date "$CURL_OUTPUT" com_github_cncf_xds)
4444

4545
OPENTELEMETRY_SHA=$(find_sha "$CURL_OUTPUT" opentelemetry_proto)
4646
OPENTELEMETRY_DATE=$(find_date "$CURL_OUTPUT" opentelemetry_proto)
@@ -56,7 +56,7 @@ PGV_VERSION=\"$PGV_GIT_SHA\" # $PGV_GIT_DATE
5656
PROMETHEUS_SHA=\"$PROMETHEUS_SHA\" # $PROMETHEUS_DATE
5757
OPENCENSUS_VERSION=\"$OPENCENSUS_SHA\" # $OPENCENSUS_DATE
5858
OPENTELEMETRY_VERSION=\"$OPENTELEMETRY_SHA\" # $OPENTELEMETRY_DATE
59-
UDPA_SHA=\"$UDPA_SHA\" # $UDPA_DATE
59+
XDS_SHA=\"$XDS_SHA\" # $XDS_DATE
6060
"
6161

6262
# replace version in EnvoyContainer.java

0 commit comments

Comments
 (0)