-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #396 from GoogleCloudPlatform/release-v1.1.0
Release v1.1.0
- Loading branch information
Showing
132 changed files
with
5,051 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: daily | ||
target-branch: develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
--- | ||
blueprint_name: cloud-batch | ||
|
||
vars: | ||
project_id: ## Set GCP Project ID Here ## | ||
deployment_name: hello-workload | ||
region: us-central1 | ||
zone: us-central1-c | ||
|
||
deployment_groups: | ||
- group: primary | ||
modules: | ||
- source: modules/network/pre-existing-vpc | ||
kind: terraform | ||
id: network1 | ||
|
||
- source: modules/file-system/filestore | ||
kind: terraform | ||
id: appfs | ||
use: [network1] | ||
settings: {local_mount: /sw} | ||
|
||
- source: modules/scripts/startup-script | ||
kind: terraform | ||
id: hello-startup-script | ||
settings: | ||
runners: | ||
- type: shell | ||
source: modules/startup-script/examples/install_ansible.sh | ||
destination: install_ansible.sh | ||
- $(appfs.install_nfs_client_runner) | ||
- $(appfs.mount_runner) | ||
- type: shell | ||
destination: generate_hello.sh | ||
content: | | ||
#!/bin/sh | ||
echo "Hello World" > /sw/hello.txt | ||
- source: community/modules/scheduler/cloud-batch-job | ||
kind: terraform | ||
id: batch-job | ||
use: [network1, appfs, hello-startup-script] | ||
settings: | ||
runnable: "cat /sw/hello.txt" | ||
machine_type: n2-standard-4 | ||
image: | ||
family: centos-7 | ||
project: centos-cloud | ||
|
||
- source: community/modules/scheduler/cloud-batch-login-node | ||
kind: terraform | ||
id: batch-login | ||
use: [batch-job] | ||
outputs: [instructions] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- | ||
|
||
blueprint_name: slurm-gcp-v5-cluster | ||
|
||
vars: | ||
project_id: ## Set GCP Project ID Here ## | ||
deployment_name: slurm-gcp-v5 | ||
region: us-central1 | ||
zone: us-central1-c | ||
slurm_cluster_name: ghpc | ||
|
||
deployment_groups: | ||
- group: primary | ||
modules: | ||
# Source is an embedded resource, denoted by "resources/*" without ./, ../, / | ||
# as a prefix. To refer to a local resource, prefix with ./, ../ or / | ||
# Example - ./resources/network/vpc | ||
- source: modules/network/vpc | ||
kind: terraform | ||
id: network1 | ||
|
||
- source: modules/file-system/filestore | ||
kind: terraform | ||
id: homefs | ||
use: [network1] | ||
settings: | ||
local_mount: /home | ||
|
||
- source: community/modules/compute/schedmd-slurm-gcp-v5-partition | ||
kind: terraform | ||
id: debug_partition | ||
use: | ||
- network1 | ||
- homefs | ||
settings: | ||
partition_name: debug | ||
node_count_dynamic_max: 4 | ||
enable_placement: false | ||
machine_type: n2-standard-2 | ||
is_default: true | ||
|
||
- source: community/modules/compute/schedmd-slurm-gcp-v5-partition | ||
kind: terraform | ||
id: compute_partition | ||
use: | ||
- network1 | ||
- homefs | ||
settings: | ||
partition_name: compute | ||
node_count_dynamic_max: 20 | ||
|
||
- source: community/modules/scheduler/schedmd-slurm-gcp-v5-controller | ||
kind: terraform | ||
id: slurm_controller | ||
use: | ||
- network1 | ||
- debug_partition | ||
- compute_partition | ||
- homefs | ||
|
||
- source: community/modules/scheduler/schedmd-slurm-gcp-v5-login | ||
kind: terraform | ||
id: slurm_login | ||
use: | ||
- network1 | ||
- slurm_controller | ||
settings: | ||
machine_type: n2-standard-4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.