Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.17.7" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -1135,19 +1135,6 @@ class TaskGroup(proto.Message):
When true, Batch will configure SSH to allow
passwordless login between VMs running the Batch
tasks in the same TaskGroup.
enable_oslogin (bool):
Optional. Deprecated: When true, Batch will use the OS Login
generated POSIX account to exeucute the runnables instead of
the default root user.

| To control root or non-root privilege for runnable
execution, the project
| Admin user needs to configure IAM roles according to
https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
Specifically, if a root execution is needed, the
roles/compute.osAdminLogin should be granted to the Batch
job submitter. Otherwise, roles/compute.osLogin should be
granted to the Batch job submitter.
run_as_non_root (bool):
Optional. If not set or set to false, Batch
will use root user to execute runnables. If set
Expand Down Expand Up @@ -1227,10 +1214,6 @@ class SchedulingPolicy(proto.Enum):
proto.BOOL,
number=12,
)
enable_oslogin: bool = proto.Field(
proto.BOOL,
number=13,
)
run_as_non_root: bool = proto.Field(
proto.BOOL,
number=14,
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-batch/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,15 @@ def docs(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"sphinx==4.5.0",
"alabaster",
"recommonmark",
Expand All @@ -308,6 +317,15 @@ def docfx(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"gcp-sphinx-docfx-yaml",
"alabaster",
"recommonmark",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.7"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-batch",
"version": "0.17.7"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,6 @@ def test_create_job_rest(request_type):
"task_count_per_node": 2022,
"require_hosts_file": True,
"permissive_ssh": True,
"enable_oslogin": True,
"run_as_non_root": True,
}
],
Expand Down