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.2.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.2-py3-none-any.whl (108.7 kB view details)

Uploaded Python 3

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

Hashes for idmtools_platform_comps-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9ecf8eb5d42f3d9ad2bef2ff82585c4d9f4dc66707c17cc7a6e6072260f07766
MD5 69365e359b03059c8b47d35d829f4ade
BLAKE2b-256 f37d7c063c8cced63bc12f73800a07ef0c7a84a903735ea9744fddee26619db3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for idmtools_platform_comps-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26edcf13bf220b024c148f2dc43171df83f4cca504c3357e4f67c12f24ea7f93
MD5 8d63cc656ef0cd948409bc5376265b41
BLAKE2b-256 99847415ae53f397e1c9b200a83203290fa0f7eb11d2ef349bb57bf53296d3e7

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