Skip to content

Commit

Permalink
Document proto annotations scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
serathius committed Jan 28, 2022
1 parent f4187b4 commit 3df14fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update_proto_annotations.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Updates etcd_version_annotations.txt based on state of annotations in proto files.
# Developers can run this script to avoid manually updating etcd_version_annotations.txt.
# Before running this script please ensure that fields/messages that you added are annotated with next etcd version.

set -o errexit
set -o nounset
Expand Down
2 changes: 2 additions & 0 deletions scripts/verify_proto_annotations.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Verifies proto annotations to ensure all new proto fields and messages are annotated by comparing it with etcd_version_annotations.txt file.
# This scripts is automatically run by CI to prevent pull requests missing adding a proto annotation.

set -o errexit
set -o nounset
Expand Down

0 comments on commit 3df14fc

Please sign in to comment.