Skip to content

Commit dcedce1

Browse files
authored
Merge branch 'develop' into kueue
2 parents 4a9e054 + 5da389b commit dcedce1

73 files changed

Lines changed: 581 additions & 231 deletions

File tree

Some content is hidden

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

.github/workflows/pr-precommit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v4
35+
- name: Free Disk Space (Ubuntu)
36+
uses: jlumbroso/free-disk-space@main
37+
with:
38+
tool-cache: false
39+
android: true
40+
dotnet: true
41+
haskell: true
42+
large-packages: true
3543
- uses: actions/setup-python@v5
3644
with:
3745
# internal Python tests require Python 3.12
@@ -61,6 +69,14 @@ jobs:
6169
runs-on: ubuntu-latest
6270
steps:
6371
- uses: actions/checkout@v4
72+
- name: Free Disk Space (Ubuntu)
73+
uses: jlumbroso/free-disk-space@main
74+
with:
75+
tool-cache: false
76+
android: true
77+
dotnet: true
78+
haskell: true
79+
large-packages: true
6480
- uses: actions/setup-python@v5
6581
with:
6682
# the slurm-files Python requirements.txt requires updating

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MIN_GOLANG_VERSION=1.24 # for building gcluster
88
warn-go-version warn-terraform-version warn-packer-version \
99
test-engine validate_configs validate_golden_copy packer-check \
1010
terraform-format packer-format mypy \
11-
check-tflint check-pre-commit
11+
check-tflint check-pre-commit ci-tests
1212

1313
SHELL=/bin/bash -o pipefail
1414
ENG = ./cmd/... ./pkg/...
@@ -71,6 +71,7 @@ install-dev-deps: warn-terraform-version warn-packer-version check-pre-commit ch
7171
go install mvdan.cc/sh/v3/cmd/shfmt@latest
7272
go install golang.org/x/tools/cmd/goimports@latest
7373
go install honnef.co/go/tools/cmd/staticcheck@latest
74+
go install github.com/jstemmer/go-junit-report/v2@latest
7475
pip install -r community/modules/scheduler/schedmd-slurm-gcp-v6-controller/modules/slurm_files/scripts/requirements.txt
7576
pip install -r community/modules/scheduler/schedmd-slurm-gcp-v6-controller/modules/slurm_files/scripts/requirements-dev.txt
7677
pip install mypy==1.18.2
@@ -93,6 +94,9 @@ clean:
9394
done
9495

9596
# RULES SUPPORTING THE ABOVE
97+
ci-tests: warn-go-missing
98+
$(info **************** running gcluster unit tests for CI **************)
99+
go test -v $(ENG) | go-junit-report > test-results.xml
96100

97101
test-engine: warn-go-missing
98102
$(info **************** vetting go code **********************)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ The Cluster Toolkit officially supports the following VM images:
119119

120120
* HPC Rocky Linux 8
121121
* Debian 11
122-
* Ubuntu 20.04 LTS
122+
* Ubuntu 22.04 LTS
123123

124124
For more information on these and other images, see
125125
[docs/vm-images.md](docs/vm-images.md).

community/examples/hpc-slinky/hpc-slinky.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ deployment_groups:
4949
ip_cidr_range: 10.0.32.0/20
5050

5151
- id: node_pool_service_account
52-
source: community/modules/project/service-account
52+
source: modules/project/service-account
5353
settings:
5454
name: gke-np-sa
5555
project_roles:
@@ -61,7 +61,7 @@ deployment_groups:
6161
- artifactregistry.reader
6262

6363
- id: workload_service_account
64-
source: community/modules/project/service-account
64+
source: modules/project/service-account
6565
settings:
6666
name: gke-wl-sa
6767
project_roles:

community/examples/hpc-slurm-ubuntu2004.yaml renamed to community/examples/hpc-slurm-ubuntu2204.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
---
1616

17-
blueprint_name: hpc-slurm-ubuntu2004-v6
17+
blueprint_name: hpc-slurm-ubuntu2204-v6
1818

1919
vars:
2020
project_id: ## Set GCP Project ID Here ##

community/examples/slurm-gke/slurm-gke.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ deployment_groups:
7676
###### GKE Setup ######
7777

7878
- id: gke_service_account
79-
source: community/modules/project/service-account
79+
source: modules/project/service-account
8080
settings:
8181
name: slinky-gke-sa
8282
project_roles:

community/front-end/ofe/website/ghpcfe/templates/blueprint/cluster_config.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ deployment_groups:
5151

5252
{{ filesystems_yaml | safe }}
5353

54-
- source: community/modules/project/service-account
54+
- source: modules/project/service-account
5555
kind: terraform
5656
id: hpc_service_account
5757
settings:

community/modules/container/artifact-registry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You will need to enable the relevant APIs and create a Service Account for your
2323
- cloudbuild.googleapis.com
2424
- artifactregistry.googleapis.com
2525

26-
- source: community/modules/project/service-account
26+
- source: modules/project/service-account
2727
kind: terraform
2828
id: hpc_service_account
2929
settings:

community/modules/scheduler/htcondor-service-accounts/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ No providers.
100100
101101
| Name | Source | Version |
102102
|------|--------|---------|
103-
| <a name="module_access_point_service_account"></a> [access\_point\_service\_account](#module\_access\_point\_service\_account) | ../../../../community/modules/project/service-account | n/a |
104-
| <a name="module_central_manager_service_account"></a> [central\_manager\_service\_account](#module\_central\_manager\_service\_account) | ../../../../community/modules/project/service-account | n/a |
105-
| <a name="module_execute_point_service_account"></a> [execute\_point\_service\_account](#module\_execute\_point\_service\_account) | ../../../../community/modules/project/service-account | n/a |
103+
| <a name="module_access_point_service_account"></a> [access\_point\_service\_account](#module\_access\_point\_service\_account) | ../../../../modules/project/service-account | n/a |
104+
| <a name="module_central_manager_service_account"></a> [central\_manager\_service\_account](#module\_central\_manager\_service\_account) | ../../../../modules/project/service-account | n/a |
105+
| <a name="module_execute_point_service_account"></a> [execute\_point\_service\_account](#module\_execute\_point\_service\_account) | ../../../../modules/project/service-account | n/a |
106106
107107
## Resources
108108

community/modules/scheduler/htcondor-service-accounts/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
# NB: the community/modules/project/service-account module will not output the
17+
# NB: the modules/project/service-account module will not output the
1818
# service account e-mail address until all IAM bindings have been created; if
1919
# underlying implementation changes, this module should declare explicit
2020
# depends_on the IAM bindings to prevent race conditions for services that
2121
# require them
2222

2323
module "access_point_service_account" {
24-
source = "../../../../community/modules/project/service-account"
24+
source = "../../../../modules/project/service-account"
2525

2626
project_id = var.project_id
2727
display_name = "HTCondor Access Point"
@@ -31,7 +31,7 @@ module "access_point_service_account" {
3131
}
3232

3333
module "execute_point_service_account" {
34-
source = "../../../../community/modules/project/service-account"
34+
source = "../../../../modules/project/service-account"
3535

3636
project_id = var.project_id
3737
display_name = "HTCondor Execute Point"
@@ -41,7 +41,7 @@ module "execute_point_service_account" {
4141
}
4242

4343
module "central_manager_service_account" {
44-
source = "../../../../community/modules/project/service-account"
44+
source = "../../../../modules/project/service-account"
4545

4646
project_id = var.project_id
4747
display_name = "HTCondor Central Manager"

0 commit comments

Comments
 (0)