Skip to content

Commit 26fafe0

Browse files
Merge pull request #3148 from GoogleCloudPlatform/release-candidate
Release v1.41.0
2 parents eb00254 + 0c0f1c4 commit 26fafe0

File tree

258 files changed

+3633
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+3633
-813
lines changed

.github/workflows/pr-label-validation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ on:
2828
- ready_for_review
2929
- unlocked
3030
branches:
31+
- main
3132
- develop
33+
- release-candidate
3234

3335
jobs:
3436
pr-label-validation:
35-
if: github.repository == 'GoogleCloudPlatform/cluster-toolkit'
37+
if: github.repository == 'GoogleCloudPlatform/cluster-toolkit' && github.event.pull_request.draft == false
3638
runs-on: ubuntu-latest
3739
permissions:
3840
pull-requests: read

.github/workflows/pr-precommit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ name: 'Use pre-commit to validate Pull Request'
1919
on:
2020
pull_request:
2121
types:
22-
- edited
2322
- opened
24-
- labeled
23+
- reopened
2524
- synchronize
2625
branches:
2726
- main

cmd/create.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,27 @@ func expandOrDie(path string) (config.Blueprint, *config.YamlCtx) {
125125
// Expand the blueprint
126126
checkErr(bp.Expand(), ctx)
127127
validateMaybeDie(bp, *ctx)
128+
v5DeprecationWarning(bp)
129+
128130
return bp, ctx
129131
}
130132

133+
// TODO: Remove this warning when v5 deprecation is complete
134+
func v5DeprecationWarning(bp config.Blueprint) {
135+
alreadyContainsV5 := false
136+
bp.WalkModulesSafe(func(mp config.ModulePath, m *config.Module) {
137+
if strings.Contains(m.Source, "schedmd-slurm-gcp-v5-controller") && !alreadyContainsV5 {
138+
logging.Info(boldYellow(
139+
"We have been supporting slurm-gcp v5 since July 2022 and are now deprecating it, as we've launched slurm-gcp v6 in June 2024. \n" +
140+
"Toolkit blueprints using Slurm-gcp v5 will be marked “deprecated” starting October 2024 and slurm-gcp v6 will be the default deployment. \n" +
141+
"However we won't begin removing slurm-gcp v5 blueprints until January 6, 2025. Beginning on January 6, 2025, the Cluster Toolkit team will cease their support for Slurm-gcp v5. \n" +
142+
"While this will not directly or immediately impact running clusters, we recommend replacing any v5 clusters with Slurm-gcp v6.",
143+
))
144+
alreadyContainsV5 = true // This is to avoid the logging message showing repeatedly for multiple v5 controllers
145+
}
146+
})
147+
}
148+
131149
// TODO: move to expand.go
132150
func validateMaybeDie(bp config.Blueprint, ctx config.YamlCtx) {
133151
err := validators.Execute(bp)

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ HPC deployments on the Google Cloud Platform.`,
5353
logging.Fatal("cmd.Help function failed: %s", err)
5454
}
5555
},
56-
Version: "v1.40.0",
56+
Version: "v1.41.0",
5757
Annotations: annotation,
5858
}
5959
)

community/examples/AMD/hpc-amd-slurm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ deployment_groups:
168168
# these images must match the images used by Slurm modules below because
169169
# we are building OpenMPI with PMI support in libraries contained in
170170
# Slurm installation
171-
family: slurm-gcp-6-6-hpc-rocky-linux-8
171+
family: slurm-gcp-6-7-hpc-rocky-linux-8
172172
project: schedmd-slurm-public
173173

174174
- id: low_cost_nodeset

community/examples/hpc-build-slurm-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ vars:
2323
image_build_machine_type: n2d-standard-16
2424
build_from_image_family: hpc-rocky-linux-8
2525
build_from_image_project: cloud-hpc-image-public
26-
build_from_git_ref: 6.7.0
26+
build_from_git_ref: 6.8.2
2727
built_image_family: my-custom-slurm
2828
built_instance_image:
2929
family: $(vars.built_image_family)

community/examples/hpc-slurm-ramble-gromacs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ deployment_groups:
3131
modules:
3232
# Source is an embedded module, denoted by "modules/*" without ./, ../, /
3333
# as a prefix. To refer to a local module, prefix with ./, ../ or /
34-
# Example - ./modules/network/vpc
3534
- id: network
3635
source: modules/network/vpc
3736

community/examples/hpc-slurm-ubuntu2004-v5-legacy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ deployment_groups:
3434
modules:
3535
# Source is an embedded module, denoted by "modules/*" without ./, ../, /
3636
# as a prefix. To refer to a local module, prefix with ./, ../ or /
37-
# Example - ./modules/network/vpc
3837
- id: network1
3938
source: modules/network/vpc
4039

community/examples/hpc-slurm-ubuntu2004.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vars:
2424
slurm_image:
2525
# Please refer to the following link for the latest images:
2626
# https://github.com/GoogleCloudPlatform/slurm-gcp/blob/master/docs/images.md#supported-operating-systems
27-
family: slurm-gcp-6-6-ubuntu-2004-lts
27+
family: slurm-gcp-6-7-ubuntu-2004-lts
2828
project: schedmd-slurm-public
2929
instance_image_custom: true
3030

@@ -33,7 +33,6 @@ deployment_groups:
3333
modules:
3434
# Source is an embedded module, denoted by "modules/*" without ./, ../, /
3535
# as a prefix. To refer to a local module, prefix with ./, ../ or /
36-
# Example - ./modules/network/vpc
3736
- id: network1
3837
source: modules/network/vpc
3938

community/examples/hpc-slurm6-apptainer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ deployment_groups:
6060
settings:
6161
source_image_project_id: [schedmd-slurm-public]
6262
# see latest in https://github.com/GoogleCloudPlatform/slurm-gcp/blob/master/docs/images.md#published-image-family
63-
source_image_family: slurm-gcp-6-6-hpc-rocky-linux-8
63+
source_image_family: slurm-gcp-6-7-hpc-rocky-linux-8
6464
# You can find size of source image by using following command
6565
# gcloud compute images describe-from-family <source_image_family> --project schedmd-slurm-public
6666
disk_size: $(vars.disk_size)

0 commit comments

Comments
 (0)