Skip to content

Commit 4787cde

Browse files
authored
Merge pull request #1065 from tpdownes/release-candidate
Release v1.15.0
2 parents 1b2d029 + 9fcfd0f commit 4787cde

File tree

84 files changed

+824
-346
lines changed

Some content is hidden

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

84 files changed

+824
-346
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ updates:
2727
- package-ecosystem: pip
2828
directory: /community/front-end/ofe/
2929
schedule:
30-
interval: weekly
31-
day: monday
30+
interval: monthly
3231
time: "03:00"
3332
timezone: America/Los_Angeles
3433
target-branch: develop
34+
reviewers:
35+
- ek-nag
36+
- mattstreet-nag

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ HPC deployments on the Google Cloud Platform.`,
5050
log.Fatalf("cmd.Help function failed: %s", err)
5151
}
5252
},
53-
Version: "v1.14.1",
53+
Version: "v1.15.0",
5454
Annotations: annotation,
5555
}
5656
)

community/examples/fluent-tutorial.yaml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ vars:
2525
deployment_groups:
2626
- group: primary
2727
modules:
28-
- source: modules/scripts/startup-script
29-
kind: terraform
30-
id: startup_login
28+
29+
- id: network1
30+
source: modules/network/pre-existing-vpc
31+
32+
- id: startup_login
33+
source: modules/scripts/startup-script
3134
settings:
3235
runners:
3336
- type: shell
@@ -89,9 +92,8 @@ deployment_groups:
8992
9093
destination: /tmp/install-mpi.sh
9194

92-
- source: modules/scripts/startup-script
93-
kind: terraform
94-
id: startup
95+
- id: startup
96+
source: modules/scripts/startup-script
9597
settings:
9698
runners:
9799
- type: shell
@@ -108,28 +110,26 @@ deployment_groups:
108110
hostname >> /home/hosts.txt
109111
destination: /tmp/install-hosts.sh
110112

111-
- source: modules/file-system/filestore
112-
kind: terraform
113-
id: homefs
113+
- id: homefs
114+
source: modules/file-system/filestore
115+
use: [network1]
114116
settings:
115-
network_name: "default"
116117
size_gb: 1024
117118
filestore_tier: "BASIC_HDD"
118119
local_mount: /home
119120

120-
- source: modules/file-system/filestore
121-
kind: terraform
122-
id: sharefs
121+
- id: sharefs
122+
source: modules/file-system/filestore
123+
use: [network1]
123124
settings:
124-
network_name: "default"
125125
size_gb: 1024
126126
filestore_tier: "BASIC_HDD"
127127
local_mount: /shared
128128

129-
- source: modules/compute/vm-instance
130-
kind: terraform
131-
id: compute_1
129+
- id: compute_1
130+
source: modules/compute/vm-instance
132131
use:
132+
- network1
133133
- homefs
134134
- sharefs
135135
- startup
@@ -145,10 +145,10 @@ deployment_groups:
145145
collocation: "COLLOCATED"
146146
availability_domain_count: null
147147

148-
- source: modules/compute/vm-instance
149-
kind: terraform
150-
id: login
148+
- id: login
149+
source: modules/compute/vm-instance
151150
use:
151+
- network1
152152
- homefs
153153
- sharefs
154154
- startup_login
@@ -160,8 +160,7 @@ deployment_groups:
160160
instance_count: 1
161161
name_prefix: fluent-login
162162

163-
- source: community/modules/scripts/wait-for-startup
164-
kind: terraform
165-
id: wait
163+
- id: wait
164+
source: community/modules/scripts/wait-for-startup
166165
settings:
167166
instance_name: ((module.compute_1.name[0]))

community/examples/hpc-cluster-localssd.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ deployment_groups:
3030
modules:
3131
- id: network1
3232
source: modules/network/pre-existing-vpc
33-
kind: terraform
3433

3534
- id: homefs
3635
source: modules/file-system/filestore

community/examples/hpc-cluster-small-sharedvpc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ deployment_groups:
5454
settings:
5555
local_mount: /home
5656
connect_mode: PRIVATE_SERVICE_ACCESS
57-
network_name: $(network1.network_id)
5857

5958
# This debug_partition will work out of the box without requesting additional GCP quota.
6059
- id: debug_partition

community/examples/htcondor-pool.yaml

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ deployment_groups:
4343
use:
4444
- network1
4545

46-
- id: htcondor_configure_central_manager
46+
- id: htcondor_startup_central_manager
4747
source: modules/scripts/startup-script
4848
settings:
4949
runners:
@@ -54,7 +54,7 @@ deployment_groups:
5454
source: modules/compute/vm-instance
5555
use:
5656
- network1
57-
- htcondor_configure_central_manager
57+
- htcondor_startup_central_manager
5858
settings:
5959
name_prefix: central-manager
6060
machine_type: c2-standard-4
@@ -77,25 +77,40 @@ deployment_groups:
7777
outputs:
7878
- internal_ip
7979

80-
- id: htcondor_configure_execute_point
80+
- id: htcondor_startup_execute_point
8181
source: modules/scripts/startup-script
8282
settings:
8383
runners:
8484
- $(htcondor_install.install_htcondor_runner)
8585
- $(htcondor_configure.execute_point_runner)
8686

87+
# the HTCondor modules support up to 2 execute points per blueprint
88+
# if using 1, it may use Spot or On-demand pricing
89+
# if using 2, one must use Spot and the other must use On-demand (default)
8790
- id: htcondor_execute_point
8891
source: community/modules/compute/htcondor-execute-point
8992
use:
9093
- network1
91-
- htcondor_configure_execute_point
94+
- htcondor_startup_execute_point
9295
settings:
9396
service_account:
9497
email: $(htcondor_configure.execute_point_service_account)
9598
scopes:
9699
- cloud-platform
97100

98-
- id: htcondor_configure_access_point
101+
- id: htcondor_execute_point_spot
102+
source: community/modules/compute/htcondor-execute-point
103+
use:
104+
- network1
105+
- htcondor_startup_execute_point
106+
settings:
107+
spot: true
108+
service_account:
109+
email: $(htcondor_configure.execute_point_service_account)
110+
scopes:
111+
- cloud-platform
112+
113+
- id: htcondor_startup_access_point
99114
source: modules/scripts/startup-script
100115
settings:
101116
runners:
@@ -104,23 +119,26 @@ deployment_groups:
104119
- $(htcondor_install.install_autoscaler_runner)
105120
- $(htcondor_configure.access_point_runner)
106121
- $(htcondor_execute_point.configure_autoscaler_runner)
122+
- $(htcondor_execute_point_spot.configure_autoscaler_runner)
107123
- type: data
108124
destination: /var/tmp/helloworld.sub
109125
content: |
110-
universe = docker
111-
docker_image = hello-world
112-
output = out
113-
error = err
114-
log = log
126+
universe = vanilla
127+
executable = /bin/echo
128+
arguments = "Hello, World!"
129+
output = out.\$(ClusterId).\$(ProcId)
130+
error = err.\$(ClusterId).\$(ProcId)
131+
log = log.\$(ClusterId).\$(ProcId)
115132
request_cpus = 1
116133
request_memory = 100MB
134+
+RequireSpot = true # if unset, defaults to false
117135
queue
118136
119137
- id: htcondor_access
120138
source: modules/compute/vm-instance
121139
use:
122140
- network1
123-
- htcondor_configure_access_point
141+
- htcondor_startup_access_point
124142
settings:
125143
name_prefix: access-point
126144
machine_type: c2-standard-4

community/front-end/ofe/deploy.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ deploy() {
451451
sdir=${SCRIPT_DIR#"${basedir}"}
452452
tdir=/tmp/hpc-toolkit
453453

454-
cp --recursive "${basedir}" ${tdir}/
454+
cp -R "${basedir}" ${tdir}/
455455
(
456456
cd ${tdir}
457457
#
@@ -465,9 +465,10 @@ deploy() {
465465
--exclude=.terraform \
466466
--exclude=.terraform.lock.hcl \
467467
--exclude=tf \
468-
../hpc-toolkit 2>/dev/null
468+
--directory=/tmp \
469+
./hpc-toolkit 2>/dev/null
469470
)
470-
rm --force --recursive ${tdir}
471+
rm -rf ${tdir}
471472
fi
472473

473474
# -- All Terraform operations to be done in tf subdir

community/front-end/ofe/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
archspec==0.1.3
22
argcomplete==2.0.0
33
asgiref==3.5.0
4-
astroid==2.9.3
4+
astroid==2.15.0
55
cachetools==5.0.0
66
certifi==2022.12.7
77
cffi==1.15.0
88
charset-normalizer==2.0.12
99
click==7.1.2
1010
cryptography==39.0.1
1111
defusedxml==0.7.1
12-
dill==0.3.4
12+
dill==0.3.6
1313
Django==3.2.18
1414
django-allauth==0.48.0
1515
django-extensions==3.1.5
@@ -21,7 +21,7 @@ google-api-python-client==2.37.0
2121
google-auth==2.6.0
2222
google-auth-httplib2==0.1.0
2323
google-cloud-billing==1.4.1
24-
google-cloud-core==2.2.2
24+
google-cloud-core==2.3.2
2525
google-cloud-pubsub==2.9.0
2626
google-cloud-storage==2.1.0
2727
google-crc32c==1.3.0
@@ -34,15 +34,15 @@ grpcio-status==1.43.0
3434
h11==0.13.0
3535
httplib2==0.20.4
3636
idna==3.3
37-
isort==5.10.1
37+
isort==5.12.0
3838
lazy-object-proxy==1.7.1
3939
libcst==0.4.1
4040
mccabe==0.6.1
4141
mypy-extensions==0.4.3
4242
oauthlib==3.2.2
4343
platformdirs==2.5.0
4444
pre-commit==2.17.0
45-
proto-plus==1.20.1
45+
proto-plus==1.22.2
4646
protobuf==3.19.5
4747
pyasn1==0.4.8
4848
pyasn1-modules==0.2.8

0 commit comments

Comments
 (0)