Skip to content

Commit

Permalink
build: use bazel build (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Jul 6, 2020
1 parent c9c35b4 commit 42790f4
Show file tree
Hide file tree
Showing 9 changed files with 3,077 additions and 3,083 deletions.
1,228 changes: 614 additions & 614 deletions packages/google-cloud-oslogin/protos/protos.d.ts

Large diffs are not rendered by default.

4,472 changes: 2,236 additions & 2,236 deletions packages/google-cloud-oslogin/protos/protos.js

Large diffs are not rendered by default.

384 changes: 192 additions & 192 deletions packages/google-cloud-oslogin/protos/protos.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,33 @@
},
"methods": {
"DeletePosixAccount": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"DeleteSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"GetLoginProfile": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"GetSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"ImportSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"UpdateSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[
"../../protos/google/cloud/oslogin/common/common.proto",
"../../protos/google/cloud/oslogin/v1/oslogin.proto"
]
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,33 @@
},
"methods": {
"DeletePosixAccount": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"DeleteSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"GetLoginProfile": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"GetSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"ImportSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"UpdateSshPublicKey": {
"retry_codes_name": "non_idempotent",
"timeout_millis": 10000,
"retry_codes_name": "idempotent",
"retry_params_name": "default"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[
"../../protos/google/cloud/oslogin/common/common.proto",
"../../protos/google/cloud/oslogin/v1beta/oslogin.proto"
]
26 changes: 9 additions & 17 deletions packages/google-cloud-oslogin/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,35 @@
{
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-os-login.git",
"sha": "ca3ca7d647ce15583a925970fa2ffb07e2c601ca"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "6dfd72d028a0d0a43764e060f7b15e004385c3a1",
"internalRef": "310168181"
"remote": "git@github.com:googleapis/nodejs-os-login.git",
"sha": "74d62a085a636242ff9479991ae1e2be2bf71800"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "dc9caca650c77b7039e2bbc3339ffb34ae78e5b7"
"sha": "303271797a360f8a439203413f13a160f2f5b3b4"
}
}
],
"destinations": [
{
"client": {
"source": "googleapis",
"apiName": "os-login",
"apiName": "oslogin",
"apiVersion": "v1",
"language": "typescript",
"generator": "gapic-generator-typescript"
"language": "nodejs",
"generator": "bazel"
}
},
{
"client": {
"source": "googleapis",
"apiName": "os-login",
"apiName": "oslogin",
"apiVersion": "v1beta",
"language": "typescript",
"generator": "gapic-generator-typescript"
"language": "nodejs",
"generator": "bazel"
}
}
]
Expand Down
12 changes: 2 additions & 10 deletions packages/google-cloud-oslogin/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,10 @@
AUTOSYNTH_MULTIPLE_COMMITS = True


gapic = gcp.GAPICMicrogenerator()
gapic = gcp.GAPICBazel()
versions = ['v1', 'v1beta']
for version in versions:
library = gapic.typescript_library(
'os-login',
generator_args={
"grpc-service-config": f"google/cloud/oslogin/{version}/oslogin_grpc_service_config.json",
"package-name": f"@google-cloud/os-login"
},
proto_path=f'/google/cloud/oslogin/{version}',
extra_proto_files=['google/cloud/oslogin/common/common.proto'],
version=version)
library = gapic.node_library('oslogin', version, proto_path=f'google/cloud/oslogin/{version}')

# skip index, protos, package.json, and README.md
s.copy(
Expand Down

0 comments on commit 42790f4

Please sign in to comment.