File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- // Package awskms provides integration with the AWS Key Management Service.
15
+ // Package awskms provides integration with the [AWS KMS].
16
+ //
17
+ // Version: 2.1.0
18
+ //
19
+ // [AWS KMS]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-overview.html
16
20
package awskms
17
21
18
22
import (
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ if [[ -n "${CONTAINER_IMAGE:-}" ]]; then
42
42
fi
43
43
44
44
readonly MODULE_URL=" github.com/tink-crypto/tink-go-awskms"
45
- readonly MODULE_VERSION=" $( cat version.bzl | grep ^TINK | cut -f 2 -d \" ) "
45
+ readonly MODULE_VERSION=" $( cat integration/awskms/aws_kms_aead.go \
46
+ | grep ' // Version:' \
47
+ | grep -Eo ' [0-9]+\.[0-9]+\.[0-9]+' ) "
46
48
47
49
./kokoro/testutils/run_command.sh " ${RUN_COMMAND_ARGS[@]} " \
48
50
./kokoro/testutils/check_go_generated_files_up_to_date.sh .
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ source ./kokoro/testutils/install_go.sh
26
26
echo " Using go binary from $( which go) : $( go version) "
27
27
28
28
readonly MODULE_URL=" github.com/tink-crypto/tink-go-awskms"
29
- readonly MODULE_VERSION=" $( cat version.bzl | grep ^TINK | cut -f 2 -d \" ) "
29
+ readonly MODULE_VERSION=" $( cat integration/awskms/aws_kms_aead.go \
30
+ | grep ' // Version:' \
31
+ | grep -Eo ' [0-9]+\.[0-9]+\.[0-9]+' ) "
30
32
31
33
./kokoro/testutils/copy_credentials.sh " testdata" " aws"
32
34
./kokoro/testutils/run_go_mod_tests.sh " ${MODULE_URL} " " $( pwd) " \
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments