Skip to main content

Comps platform for IDM-Tools

Project description

Staging: idmtools-platform-comps

idmtools-platform-comps

Table of Contents

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

  1. docker login docker-production.packages.idmod.org
    
  2. make ssmt-image
    
  3. 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:

  1. specify docker_image in SSMTWorkItem creation, for example,
   wi = SSMTWorkItem(name=wi_name, command=command, docker_image='my_test_ssmt_docker_image')
  1. 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
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idmtools_platform_comps-0.0.3.tar.gz (82.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idmtools_platform_comps-0.0.3-py3-none-any.whl (108.7 kB view details)

Uploaded Python 3

File details

Details for the file idmtools_platform_comps-0.0.3.tar.gz.

File metadata

  • Download URL: idmtools_platform_comps-0.0.3.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

Hashes for idmtools_platform_comps-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d38885f20d8d12bc2702f13d3e92fa4918f61f3c8dcc3aea55ed79cd9f226b37
MD5 c2da3b390fc6519c41bfeee9dab41426
BLAKE2b-256 d2cd6b1fe3477385817ed88ac901032c85043bd56b3331e165a776b05ccb201d

See more details on using hashes here.

File details

Details for the file idmtools_platform_comps-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for idmtools_platform_comps-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a93539ab7eb587f5071480a7136ae0d35ec085030811572146aefac5377c0b9
MD5 207ad09e9c287ec4d1ba9b6de8af932e
BLAKE2b-256 63740d49e2ee691e4d1332e7fb272e32078dc150452a60f00bc189583ba40912

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page