Skip to content

Commit

Permalink
Merge pull request #1065 from tpdownes/release-candidate
Browse files Browse the repository at this point in the history
Release v1.15.0
  • Loading branch information
tpdownes authored Mar 21, 2023
2 parents 1b2d029 + 9fcfd0f commit 4787cde
Show file tree
Hide file tree
Showing 84 changed files with 824 additions and 346 deletions.
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ updates:
- package-ecosystem: pip
directory: /community/front-end/ofe/
schedule:
interval: weekly
day: monday
interval: monthly
time: "03:00"
timezone: America/Los_Angeles
target-branch: develop
reviewers:
- ek-nag
- mattstreet-nag
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HPC deployments on the Google Cloud Platform.`,
log.Fatalf("cmd.Help function failed: %s", err)
}
},
Version: "v1.14.1",
Version: "v1.15.0",
Annotations: annotation,
}
)
Expand Down
45 changes: 22 additions & 23 deletions community/examples/fluent-tutorial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ vars:
deployment_groups:
- group: primary
modules:
- source: modules/scripts/startup-script
kind: terraform
id: startup_login

- id: network1
source: modules/network/pre-existing-vpc

- id: startup_login
source: modules/scripts/startup-script
settings:
runners:
- type: shell
Expand Down Expand Up @@ -89,9 +92,8 @@ deployment_groups:
destination: /tmp/install-mpi.sh

- source: modules/scripts/startup-script
kind: terraform
id: startup
- id: startup
source: modules/scripts/startup-script
settings:
runners:
- type: shell
Expand All @@ -108,28 +110,26 @@ deployment_groups:
hostname >> /home/hosts.txt
destination: /tmp/install-hosts.sh

- source: modules/file-system/filestore
kind: terraform
id: homefs
- id: homefs
source: modules/file-system/filestore
use: [network1]
settings:
network_name: "default"
size_gb: 1024
filestore_tier: "BASIC_HDD"
local_mount: /home

- source: modules/file-system/filestore
kind: terraform
id: sharefs
- id: sharefs
source: modules/file-system/filestore
use: [network1]
settings:
network_name: "default"
size_gb: 1024
filestore_tier: "BASIC_HDD"
local_mount: /shared

- source: modules/compute/vm-instance
kind: terraform
id: compute_1
- id: compute_1
source: modules/compute/vm-instance
use:
- network1
- homefs
- sharefs
- startup
Expand All @@ -145,10 +145,10 @@ deployment_groups:
collocation: "COLLOCATED"
availability_domain_count: null

- source: modules/compute/vm-instance
kind: terraform
id: login
- id: login
source: modules/compute/vm-instance
use:
- network1
- homefs
- sharefs
- startup_login
Expand All @@ -160,8 +160,7 @@ deployment_groups:
instance_count: 1
name_prefix: fluent-login

- source: community/modules/scripts/wait-for-startup
kind: terraform
id: wait
- id: wait
source: community/modules/scripts/wait-for-startup
settings:
instance_name: ((module.compute_1.name[0]))
1 change: 0 additions & 1 deletion community/examples/hpc-cluster-localssd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ deployment_groups:
modules:
- id: network1
source: modules/network/pre-existing-vpc
kind: terraform

- id: homefs
source: modules/file-system/filestore
Expand Down
1 change: 0 additions & 1 deletion community/examples/hpc-cluster-small-sharedvpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ deployment_groups:
settings:
local_mount: /home
connect_mode: PRIVATE_SERVICE_ACCESS
network_name: $(network1.network_id)

# This debug_partition will work out of the box without requesting additional GCP quota.
- id: debug_partition
Expand Down
40 changes: 29 additions & 11 deletions community/examples/htcondor-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ deployment_groups:
use:
- network1

- id: htcondor_configure_central_manager
- id: htcondor_startup_central_manager
source: modules/scripts/startup-script
settings:
runners:
Expand All @@ -54,7 +54,7 @@ deployment_groups:
source: modules/compute/vm-instance
use:
- network1
- htcondor_configure_central_manager
- htcondor_startup_central_manager
settings:
name_prefix: central-manager
machine_type: c2-standard-4
Expand All @@ -77,25 +77,40 @@ deployment_groups:
outputs:
- internal_ip

- id: htcondor_configure_execute_point
- id: htcondor_startup_execute_point
source: modules/scripts/startup-script
settings:
runners:
- $(htcondor_install.install_htcondor_runner)
- $(htcondor_configure.execute_point_runner)

# the HTCondor modules support up to 2 execute points per blueprint
# if using 1, it may use Spot or On-demand pricing
# if using 2, one must use Spot and the other must use On-demand (default)
- id: htcondor_execute_point
source: community/modules/compute/htcondor-execute-point
use:
- network1
- htcondor_configure_execute_point
- htcondor_startup_execute_point
settings:
service_account:
email: $(htcondor_configure.execute_point_service_account)
scopes:
- cloud-platform

- id: htcondor_configure_access_point
- id: htcondor_execute_point_spot
source: community/modules/compute/htcondor-execute-point
use:
- network1
- htcondor_startup_execute_point
settings:
spot: true
service_account:
email: $(htcondor_configure.execute_point_service_account)
scopes:
- cloud-platform

- id: htcondor_startup_access_point
source: modules/scripts/startup-script
settings:
runners:
Expand All @@ -104,23 +119,26 @@ deployment_groups:
- $(htcondor_install.install_autoscaler_runner)
- $(htcondor_configure.access_point_runner)
- $(htcondor_execute_point.configure_autoscaler_runner)
- $(htcondor_execute_point_spot.configure_autoscaler_runner)
- type: data
destination: /var/tmp/helloworld.sub
content: |
universe = docker
docker_image = hello-world
output = out
error = err
log = log
universe = vanilla
executable = /bin/echo
arguments = "Hello, World!"
output = out.\$(ClusterId).\$(ProcId)
error = err.\$(ClusterId).\$(ProcId)
log = log.\$(ClusterId).\$(ProcId)
request_cpus = 1
request_memory = 100MB
+RequireSpot = true # if unset, defaults to false
queue
- id: htcondor_access
source: modules/compute/vm-instance
use:
- network1
- htcondor_configure_access_point
- htcondor_startup_access_point
settings:
name_prefix: access-point
machine_type: c2-standard-4
Expand Down
7 changes: 4 additions & 3 deletions community/front-end/ofe/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ deploy() {
sdir=${SCRIPT_DIR#"${basedir}"}
tdir=/tmp/hpc-toolkit

cp --recursive "${basedir}" ${tdir}/
cp -R "${basedir}" ${tdir}/
(
cd ${tdir}
#
Expand All @@ -465,9 +465,10 @@ deploy() {
--exclude=.terraform \
--exclude=.terraform.lock.hcl \
--exclude=tf \
../hpc-toolkit 2>/dev/null
--directory=/tmp \
./hpc-toolkit 2>/dev/null
)
rm --force --recursive ${tdir}
rm -rf ${tdir}
fi

# -- All Terraform operations to be done in tf subdir
Expand Down
10 changes: 5 additions & 5 deletions community/front-end/ofe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
archspec==0.1.3
argcomplete==2.0.0
asgiref==3.5.0
astroid==2.9.3
astroid==2.15.0
cachetools==5.0.0
certifi==2022.12.7
cffi==1.15.0
charset-normalizer==2.0.12
click==7.1.2
cryptography==39.0.1
defusedxml==0.7.1
dill==0.3.4
dill==0.3.6
Django==3.2.18
django-allauth==0.48.0
django-extensions==3.1.5
Expand All @@ -21,7 +21,7 @@ google-api-python-client==2.37.0
google-auth==2.6.0
google-auth-httplib2==0.1.0
google-cloud-billing==1.4.1
google-cloud-core==2.2.2
google-cloud-core==2.3.2
google-cloud-pubsub==2.9.0
google-cloud-storage==2.1.0
google-crc32c==1.3.0
Expand All @@ -34,15 +34,15 @@ grpcio-status==1.43.0
h11==0.13.0
httplib2==0.20.4
idna==3.3
isort==5.10.1
isort==5.12.0
lazy-object-proxy==1.7.1
libcst==0.4.1
mccabe==0.6.1
mypy-extensions==0.4.3
oauthlib==3.2.2
platformdirs==2.5.0
pre-commit==2.17.0
proto-plus==1.20.1
proto-plus==1.22.2
protobuf==3.19.5
pyasn1==0.4.8
pyasn1-modules==0.2.8
Expand Down
Loading

0 comments on commit 4787cde

Please sign in to comment.