Skip to content

Commit 745a65f

Browse files
authored
Update log key name in GCF calls. (#197)
1 parent ef84e21 commit 745a65f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: release/cloudbuild_ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ steps:
138138
\"kmsKeyRing\": \"firmware-release-ci\",
139139
\"kmsKeyVersion\": ${_KEY_VERSION},
140140
\"kmsKeyLocation\": \"global\",
141-
\"noteKeyName\": \"transparency.dev-aw-ftlog-ci\",
141+
\"noteKeyName\": \"transparency.dev-aw-ftlog-ci-${_KEY_VERSION}\",
142142
\"checkpointCacheControl\": \"${_CHECKPOINT_CACHE}\"
143143
}"
144144
# Integrate log entry.
@@ -156,7 +156,7 @@ steps:
156156
"kmsKeyRing": "firmware-release-ci",
157157
"kmsKeyVersion": ${_KEY_VERSION},
158158
"kmsKeyLocation": "global",
159-
"noteKeyName": "transparency.dev-aw-ftlog-ci",
159+
"noteKeyName": "transparency.dev-aw-ftlog-ci-${_KEY_VERSION}",
160160
"checkpointCacheControl": "${_CHECKPOINT_CACHE}"
161161
}
162162
# Clean up the file we added to the _ENTRIES_DIR bucket now that it's been
@@ -175,7 +175,7 @@ substitutions:
175175
# Log-related.
176176
_ENTRIES_DIR: firmware-log-sequence
177177
# This must correspond with the trailing number on the _FIRMWARE_BUCKET, _ORIGIN, _LOG_NAME values.
178-
_KEY_VERSION: '2'
178+
_KEY_VERSION: 2
179179
_ORIGIN: transparency.dev/armored-witness/firmware_transparency/ci/2
180180
_LOG_NAME: armored-witness-firmware-log-ci-2
181181
_LOG_PUBLIC_KEY: transparency.dev-aw-ftlog-ci-2+f77c6276+AZXqiaARpwF4MoNOxx46kuiIRjrML0PDTm+c7BLaAMt6

0 commit comments

Comments
 (0)