Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ fun publishToGcs(
) {
val transport = GcsTransport(logger, bucket, prefix, credentials)

logger.lifecycle("Uploading files to gcs://$bucket/$prefix")
publishFileByFile(transport, inputFiles)
}

Expand All @@ -51,7 +52,7 @@ internal class GcsTransport(
val accessToken = credentials.accessToken.tokenValue

val name = "${prefix}${path}"
logger.lifecycle("Librarian: gcs-get $name")
logger.info("Librarian: gcs-get $name")
val url = getBaseUrl
.newBuilder()
.addPathSegments(name)
Expand All @@ -74,7 +75,7 @@ internal class GcsTransport(
val accessToken = credentials.accessToken.tokenValue

val name = "${prefix}${path}"
logger.lifecycle("Librarian: gcs-put $name")
logger.info("Librarian: gcs-put $name")
val url = postBaseUrl
.newBuilder()
.addQueryParameter("name", name)
Expand Down