-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build cctools and run a probably-broken taskvine vs kubernetes test c…
…onfig
- Loading branch information
1 parent
5967f01
commit 4938dbf
Showing
3 changed files
with
27 additions
and
3 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/bash | ||
#!/bin/bash -e | ||
|
||
source /venv/bin/activate | ||
|
||
pytest parsl/tests/ --config ./htex_k8s_kind.py -k 'not issue3328 and not staging_required and not shared_fs' -x --random-order | ||
PYTHONPATH=/usr/lib/python3.12/site-packages/ pytest parsl/tests/ --config ./taskvine_k8s_kind.py -k 'not issue3328 and not staging_required and not shared_fs' -x --random-order | ||
|
||
|
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,18 @@ | ||
from parsl.channels import LocalChannel | ||
from parsl.config import Config | ||
from parsl.launchers import SimpleLauncher | ||
from parsl.providers import KubernetesProvider | ||
|
||
from parsl.executors.taskvine import TaskVineExecutor, TaskVineManagerConfig | ||
|
||
def fresh_config(): | ||
return Config(executors=[TaskVineExecutor(manager_config=TaskVineManagerConfig(port=9000), | ||
worker_launch_method='provider', | ||
provider=KubernetesProvider( | ||
worker_init=". /venv/bin/activate", | ||
# pod_name="override-pod-name", # can't use default name because of dots, without own bugfix | ||
image="parsl:ci", | ||
max_mem="2048Gi" # was getting OOM-killing of workers with default... maybe this will help. | ||
), | ||
|
||
)]) |