-
Notifications
You must be signed in to change notification settings - Fork 160
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 #1686 from GoogleCloudPlatform/release-candidate
Release v1.22.0
- Loading branch information
Showing
224 changed files
with
7,700 additions
and
3,258 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
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,44 @@ | ||
# 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. | ||
|
||
# For more info, see: | ||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuration-options | ||
|
||
changelog: | ||
exclude: | ||
labels: | ||
- release-chore | ||
authors: [] | ||
categories: | ||
- title: Key New Features 🎉 | ||
labels: | ||
- release-key-new-features | ||
- title: New Modules 🧱 | ||
labels: | ||
- release-new-modules | ||
- title: Module Improvements 🛠 | ||
labels: | ||
- release-module-improvements | ||
- title: Improvements | ||
labels: | ||
- release-improvements | ||
- title: Deprecations | ||
labels: | ||
- release-deprecations | ||
- title: Version Updates | ||
labels: | ||
- release-version-updates | ||
- title: Other changes | ||
labels: | ||
- "*" |
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,52 @@ | ||
# 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. | ||
|
||
# Dependency Review Action | ||
# | ||
# This Action will ensure that a label exists on a PR. | ||
name: 'Ensure PR label exists' | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
- edited | ||
- ready_for_review | ||
- unlocked | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
pr-label-validation: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: read | ||
steps: | ||
- id: check-labels | ||
uses: mheap/github-action-required-labels@v5 | ||
with: | ||
mode: minimum | ||
count: 1 | ||
labels: "release-chore, release-key-new-features, release-new-modules, release-module-improvements, release-improvements, release-deprecations, release-version-updates" | ||
message: "This PR is being prevented from merging because it is not labeled. Please add a label to this PR. Accepted labels: release-chore, release-key-new-features, release-new-modules, release-module-improvements, release-improvements, release-deprecations, release-version-updates" | ||
- id: print-labels | ||
run: | | ||
echo "Current PR labels:" | ||
for f in $(echo "{{steps.check-labels.outputs.labels}}" | sed "s/,/ /g") | ||
do | ||
echo "$f" | ||
done |
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 |
---|---|---|
|
@@ -39,21 +39,19 @@ deployment_groups: | |
settings: | ||
local_mount: /sw | ||
|
||
- id: spack | ||
source: community/modules/scripts/spack-install | ||
- id: spack-setup | ||
source: community/modules/scripts/spack-setup | ||
settings: | ||
install_dir: /sw/spack | ||
spack_ref: v0.18.1 | ||
|
||
- id: spack-execute | ||
source: community/modules/scripts/spack-execute | ||
use: [spack-setup] | ||
settings: | ||
log_file: /var/log/spack.log | ||
configs: | ||
- type: file | ||
scope: defaults | ||
content: | | ||
config: | ||
build_stage: | ||
- /opt/spack_build_stage | ||
- type: file | ||
scope: defaults | ||
data_files: | ||
- destination: /tmp/projections-config.yaml | ||
content: | | ||
modules: | ||
default: | ||
|
@@ -64,28 +62,15 @@ deployment_groups: | |
- '{name}' | ||
projections: | ||
all: '{name}/{version}-{compiler.name}-{compiler.version}' | ||
- type: file | ||
scope: site | ||
- destination: /tmp/slurm-external-config.yaml | ||
content: | | ||
packages: | ||
slurm: | ||
externals: | ||
- spec: slurm@22-05-8 | ||
prefix: /usr/local | ||
buildable: False | ||
- type: file | ||
scope: site | ||
content: | | ||
concretizer: | ||
targets: | ||
host_compatible: false | ||
compilers: | ||
# gcc 12.1.0 is known to have runtime failures with OpenFOAM 8 | ||
# gcc 10.3.0 is the earliest copy of gcc with Zen 3 support | ||
- [email protected] %[email protected] target=x86_64 | ||
environments: | ||
- name: openfoam | ||
type: file | ||
- destination: /sw/spack/openfoam_env.yaml | ||
content: | | ||
spack: | ||
definitions: | ||
|
@@ -110,13 +95,30 @@ deployment_groups: | |
- - $^mpis | ||
concretizer: | ||
unify: when_possible | ||
commands: | | ||
spack config --scope defaults add config:build_stage:/opt/spack_build_stage | ||
spack config --scope defaults add -f /tmp/projections-config.yaml | ||
spack config --scope site add -f /tmp/slurm-external-config.yaml | ||
spack config --scope site add concretizer:targets:host_compatible:false | ||
# gcc 12.1.0 is known to have runtime failures with OpenFOAM 8 | ||
# gcc 10.3.0 is the earliest copy of gcc with Zen 3 support | ||
spack install [email protected] %[email protected] target=x86_64 | ||
spack load [email protected] %[email protected] target=x86_64 | ||
spack compiler find --scope site | ||
if ! spack env list | grep -q openfoam; then | ||
spack env create openfoam /sw/spack/openfoam_env.yaml | ||
spack env activate openfoam | ||
spack concretize | ||
spack install | ||
fi | ||
- id: spack-startup | ||
source: modules/scripts/startup-script | ||
settings: | ||
runners: | ||
- $(spack.install_spack_deps_runner) | ||
- $(spack.install_spack_runner) | ||
- $(spack-execute.spack_runner) | ||
- type: shell | ||
destination: shutdown.sh | ||
content: | | ||
|
@@ -130,7 +132,7 @@ deployment_groups: | |
source: modules/scripts/startup-script | ||
settings: | ||
runners: | ||
- $(spack.setup_spack_runner) | ||
- $(spack-setup.spack_runner) | ||
# the following installation of AOCC may be automated in the future | ||
# with a clear direction to the user to read the EULA at | ||
# https://developer.amd.com/aocc-compiler-eula/ | ||
|
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 |
---|---|---|
|
@@ -45,17 +45,18 @@ deployment_groups: | |
local_mount: /home | ||
|
||
## Install Scripts | ||
- id: spack | ||
source: community/modules/scripts/spack-install | ||
- id: spack-setup | ||
source: community/modules/scripts/spack-setup | ||
settings: | ||
install_dir: /sw/spack | ||
|
||
- id: spack-execute | ||
source: community/modules/scripts/spack-execute | ||
use: [spack-setup] | ||
settings: | ||
log_file: /var/log/spack.log | ||
configs: | ||
- type: single-config | ||
scope: defaults | ||
content: "config:build_stage:/sw/spack/spack-stage" | ||
- type: file | ||
scope: defaults | ||
data_files: | ||
- destination: /tmp/projections-config.yaml | ||
content: | | ||
modules: | ||
default: | ||
|
@@ -66,23 +67,20 @@ deployment_groups: | |
- '{name}' | ||
projections: | ||
all: '{name}/{version}-{compiler.name}-{compiler.version}' | ||
compilers: | ||
- [email protected] target=x86_64 | ||
packages: | ||
- [email protected]%[email protected] | ||
- [email protected] %[email protected] ^[email protected] ^[email protected] %[email protected] | ||
# Uncomment and update the name and path to add a shared or personal Spack | ||
# cache location to speed up future deployments. | ||
# spack_cache_url: | ||
# - mirror_name: gcs_cache | ||
# mirror_url: gs://bucket-name/... | ||
commands: | | ||
# Un-comment and update mirror_url to install from spack cache | ||
# spack mirror add --scope site gcs_cache gs://optionally_set_spack_cache_bucket | ||
# spack buildcache keys --install --trust | ||
- id: spack-startup | ||
source: modules/scripts/startup-script | ||
settings: | ||
runners: | ||
- $(spack.install_spack_deps_runner) | ||
- $(spack.install_spack_runner) | ||
spack config --scope defaults add config:build_stage:/sw/spack/spack-stage | ||
spack config --scope defaults add -f /tmp/projections-config.yaml | ||
spack install [email protected] target=x86_64 | ||
spack load [email protected] target=x86_64 | ||
spack compiler find --scope site | ||
spack install [email protected]%[email protected] | ||
spack install [email protected] %[email protected] ^[email protected] ^[email protected] %[email protected] | ||
- id: compute_partition | ||
source: community/modules/compute/SchedMD-slurm-on-gcp-partition | ||
|
@@ -111,7 +109,7 @@ deployment_groups: | |
- homefs | ||
- appsfs | ||
- slurm_controller | ||
- spack-startup | ||
- spack-execute | ||
settings: | ||
login_machine_type: c2-standard-4 | ||
login_scopes: | ||
|
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.