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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

idmtools_platform_comps-0.0.4-py3-none-any.whl (108.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for idmtools_platform_comps-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ebc4f4b8ff14d2212ebd0d945cf532c7967f05a9adcb2806d1a10cbc3987c6f
MD5 3bb8949ecdba4d5eba5b71e0fb6a022e
BLAKE2b-256 e11d8e4538ae71a41f2fc20a74f73bb796c84a4f7e41edbc6d0c7bbe8a264fa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for idmtools_platform_comps-0.0.4-py3-none-any.whl:

Publisher: deploy.yml on shchen-idmod/idmtools-1

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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