You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,13 @@ Major and minor version follow the envoy version against which they are built. T
9
9
10
10
The `tools` directory follows https://github.com/envoyproxy/java-control-plane/commits/main/tools as closely as possible.
11
11
12
-
1. Update the `API_SHAS` (which are not really just SHAs): run `update-sha.sh MAJOR.MINOR.PATCH`, paste the end of its output to `API_SHAS`.
13
-
14
-
1. Update the proto files using `update-api.sh`. This will remove the old `src/main/proto` and fetch a new set of protos.
15
-
16
-
1. Bump the library version accoring to `Versioning` above in `gradle.properties`.
17
-
18
-
1. Now it should build on CI. Can try locally using `./gradlew assemble`, but see GHA workflow for specific steps.
12
+
1. Grab the Commit ID of the envoy version you are going to use and update it into the `API_SHAS` file.
13
+
2. Next see its Bazel dependencices `https://github.com/envoyproxy/envoy/blob/{GITHUB_COMMIT_ID}/api/bazel/repository_locations.bzl`
14
+
3. Update the remaining SHAs and Versions in the `API_SHAS` file.
15
+
4. This is an alternate : you can also use the run `update-sha.sh MAJOR.MINOR.PATCH`, paste the end of its output to `API_SHAS`.
16
+
5. Update the proto files using `update-api.sh`. This will remove the old `src/main/proto` and fetch a new set of protos.
17
+
6. Bump the library version according to `Versioning` above in `gradle.properties`.
18
+
7. Now it should build on CI. Can try locally using `./gradlew assemble`, but see GHA workflow for specific steps.
19
+
8. You may need to add or remove protos depending on the failures and you would want to refer to the bazel dependencies file to figure out what failed, finally udpate the scripts to have the change.
19
20
20
21
Note: until we catch up with Envoy head version, slight adjustments might be needed for these scripts, towards matching upstream more closely.
0 commit comments