Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Copybara] Update with new internal changes from Piper #197

Merged
merged 1 commit into from
Apr 9, 2021
Merged
Show file tree
Hide file tree
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
4 changes: 1 addition & 3 deletions jsonschema/google/events/cloud/audit/v1/LogEntryData.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@
},
"value": {
"type": "string",
"description": "Must be a valid serialized protocol buffer of the above specified type.",
"format": "binary",
"binaryEncoding": "base64"
"description": "Must be a valid serialized protocol buffer of the above specified type."
}
},
"additionalProperties": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@
"type": "string"
},
"type": "array",
"description": "List of build step outputs, produced by builder images, in the order\n corresponding to build step indices.\n\n [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)\n can produce this output by writing to `$BUILDER_OUTPUT/output`.\n Only the first 4KB of data is stored.",
"format": "binary",
"binaryEncoding": "base64"
"description": "List of build step outputs, produced by builder images, in the order\n corresponding to build step indices.\n\n [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)\n can produce this output by writing to `$BUILDER_OUTPUT/output`.\n Only the first 4KB of data is stored."
},
"artifactTiming": {
"$ref": "#/definitions/TimeSpan",
Expand Down Expand Up @@ -380,9 +378,7 @@
},
"value": {
"type": "string",
"description": "The hash value.",
"format": "binary",
"binaryEncoding": "base64"
"description": "The hash value."
}
},
"additionalProperties": true,
Expand Down Expand Up @@ -576,9 +572,7 @@
},
"secretEnv": {
"additionalProperties": {
"type": "string",
"format": "binary",
"binaryEncoding": "base64"
"type": "string"
},
"type": "object",
"description": "Map of environment variable name to its encrypted value.\n\n Secret environment variables must be unique across all of a build's\n secrets, and must be used by at least one build step. Values can be at most\n 64 KB in size. There can be at most 100 secret values across all of a\n build's secrets."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@
},
"bytesValue": {
"type": "string",
"description": "A bytes value.\n\n Must not exceed 1 MiB - 89 bytes.\n Only the first 1,500 bytes are considered by queries.",
"format": "binary",
"binaryEncoding": "base64"
"description": "A bytes value.\n\n Must not exceed 1 MiB - 89 bytes.\n Only the first 1,500 bytes are considered by queries."
},
"referenceValue": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
"properties": {
"data": {
"type": "string",
"description": "The binary data in the message.",
"format": "binary",
"binaryEncoding": "base64"
"description": "The binary data in the message."
},
"attributes": {
"additionalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"properties": {
"customData": {
"type": "string",
"description": "The custom data the user specified when creating the scheduler source.",
"format": "binary",
"binaryEncoding": "base64"
"description": "The custom data the user specified when creating the scheduler source."
}
},
"additionalProperties": true,
Expand Down
Empty file modified scripts/clean.sh
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions tools/proto2jsonschema/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ cd ..
PROTOC_PLUGIN_VERSION=0.9.7
echo "- Setting up protoc plugin: chrusty/protoc-gen-jsonschema@$PROTOC_PLUGIN_VERSION"
# Pin chrusty tool to specific version: https://github.com/chrusty/protoc-gen-jsonschema/tags
go get -v github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema
GO111MODULE=on go get -v github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema@$PROTOC_PLUGIN_VERSION
go install github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema

echo "- Converting protos to JSON Schemas"
chmod +x $PROTOC
Expand Down
2 changes: 0 additions & 2 deletions tools/readme-catalog/gen-audit-catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ export const genAuditCatalog = () => {
const replacementString = CATALOG.services.map(getServiceCatalogEntryMarkdown).join('');
const updatedReadmeContents = getGeneratedStringWithReplacement(auditCatalogContents, replacementString);

console.log(updatedReadmeContents);

// Save updated README
fs.writeFileSync(AUDIT_CATALOG_PATH, updatedReadmeContents);
console.log('- Updated README.');
Expand Down