Skip to content

fix(slurm): resolve NFS mount race condition during cluster node boot #13968

fix(slurm): resolve NFS mount race condition during cluster node boot

fix(slurm): resolve NFS mount race condition during cluster node boot #13968

Workflow file for this run

# Copyright 2026 "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.
---
name: 'Use pre-commit to validate Pull Request'
# yamllint disable-line rule:truthy
on:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
- develop
- release-candidate-*
- hotfix-*
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
GOTOOLCHAIN: auto
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 #v6.1.0
with:
persist-credentials: false
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be #v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 #v6.3.0
with:
# internal Python tests require Python 3.12
python-version: '3.12'
check-latest: true
cache: 'pip'
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 #v6.5.0
with:
go-version: '1.26'
check-latest: true
- uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e #v4.0.1
with:
terraform_version: "1.12.2"
terraform_wrapper: false
- run: make install-dev-deps
- uses: terraform-linters/setup-tflint@b480b8fcdaa6f2c577f8e4fa799e89e756bb7c93 #v6.2.2
with:
tflint_version: v0.49.0
- run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1
with:
extra_args: --show-diff-on-failure --all-files
pre-commit-highest-dependencies:
runs-on: ubuntu-latest
env:
GOTOOLCHAIN: auto
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 #v6.1.0
with:
persist-credentials: false
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be #v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 #v6.3.0
with:
# the slurm-files Python requirements.txt requires updating
# to enable 3.12+ compatibility
python-version: '3.11'
check-latest: true
cache: 'pip'
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 #v6.5.0
with:
go-version: '1.26'
check-latest: true
- uses: hashicorp/setup-terraform@dfe3c3f87815947d99a8997f908cb6525fc44e9e #v4.0.1
with:
terraform_version: "1.12.2"
terraform_wrapper: false
- run: make install-dev-deps
- uses: terraform-linters/setup-tflint@b480b8fcdaa6f2c577f8e4fa799e89e756bb7c93 #v6.2.2
with:
tflint_version: v0.49.0
- run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1
with:
extra_args: --show-diff-on-failure --all-files