Comps platform for IDM-Tools
Project description
idmtools-platform-comps
Table of Contents
- Installing
- Development Tips
- Building SSMT Docker Image
- Choose SSMT Docker Image to use in test/script
Installing
pip install idmtools-platform-comps --index-url=https://packages.idmod.org/api/pypi/pypi-production/simple
Development Tips
There is a Makefile file available for most common development tasks. Here is a list of commands
clean - Clean up temproary files
lint - Lint package and tests
test - Run All tests
coverage - Run tests and generate coverage report that is shown in browser
On Windows, you can use pymake instead of make
Building SSMT Docker Image
To build the SSMT Docker image, follow these steps
-
docker login docker-production.packages.idmod.org
-
make ssmt-image - When prompted, enter your idm username and password
Choose SSMT Docker Image to use in test/script
There are three ways to choose which ssmt docker image to use in your script:
- specify docker_image in SSMTWorkItem creation, for example,
wi = SSMTWorkItem(name=wi_name, command=command, docker_image='my_test_ssmt_docker_image')
- define docker_image in your idmtools.ini, for example:
[COMPS2]
type = COMPS
endpoint = https://comps.idmod.org
environment = Calculon
......
docker_image = my_test_ssmt_docker_image
-
if not above two cases, idomtools system will determine the default ssmt docker image from platform for you:
if endpoint = https://comps.idmod.org, it will use production docker image
for all other cases, it will use the staging docker image
Note: if user overrode docker image in wi (case #1) and also defined docker image in idmtools.ini (case #2), it will take #1 as higher priority
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idmtools_platform_comps-0.0.2.tar.gz.
File metadata
- Download URL: idmtools_platform_comps-0.0.2.tar.gz
- Upload date:
- Size: 82.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ecf8eb5d42f3d9ad2bef2ff82585c4d9f4dc66707c17cc7a6e6072260f07766
|
|
| MD5 |
69365e359b03059c8b47d35d829f4ade
|
|
| BLAKE2b-256 |
f37d7c063c8cced63bc12f73800a07ef0c7a84a903735ea9744fddee26619db3
|
File details
Details for the file idmtools_platform_comps-0.0.2-py3-none-any.whl.
File metadata
- Download URL: idmtools_platform_comps-0.0.2-py3-none-any.whl
- Upload date:
- Size: 108.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26edcf13bf220b024c148f2dc43171df83f4cca504c3357e4f67c12f24ea7f93
|
|
| MD5 |
8d63cc656ef0cd948409bc5376265b41
|
|
| BLAKE2b-256 |
99847415ae53f397e1c9b200a83203290fa0f7eb11d2ef349bb57bf53296d3e7
|