Skip to main content

Example instrument code used by the DKIST science data processing pipelines to test processing infrastructure

Project description

dkist-processing-test

codecov

Overview

The dkist-processing-test library serves as an example implementation of a Tasks and Workflows using the dkist-processing-core framework and dkist-processing-common Tasks.

The recommended project structure is to separate tasks and workflows into separate packages.

Build

Artifacts are built through bitbucket pipelines

The pipeline can be used in other repos with a modification of the package and artifact locations to use the names relevant to the target repo.

e.g. dkist-processing-test -> dkist-processing-vbi and dkist_processing_test -> dkist_processing_vbi

Deployment

Deployment is done with turtlebot and follows the process detailed in dkist-processing-core

Environment Variables

Only those specified by dkist-processing-core and dkist-processing-common

Development

git clone git@bitbucket.org:dkistdc/dkist-processing-test.git
cd dkist-processing-test
pre-commit install
pip install -e .[test]
pytest -v --cov dkist_processing_test

Deployment

When a new release is ready to be built the following steps need to be taken:

1. Freezing Dependencies

A new “frozen” extra is generated by the dkist-dev-tools package. If you don’t have dkist-dev-tools installed please follow the directions from that repo.

To freeze dependencies run

ddt freeze vX.Y.Z[rcK]

Where “vX.Y.Z[rcK]” is the version about to be released.

2. Tag and Push

Once all commits are in place add a git tag that will define the released version, then push the tags up to Bitbucket:

git tag vX.Y.Z[rcK]
git push --tags origin BRANCH

In the case of an rc, BRANCH will likely be your development branch. For full releases BRANCH should be “main”.

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

dkist_processing_test-1.30.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

dkist_processing_test-1.30.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file dkist_processing_test-1.30.0.tar.gz.

File metadata

  • Download URL: dkist_processing_test-1.30.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for dkist_processing_test-1.30.0.tar.gz
Algorithm Hash digest
SHA256 53d514a59752c647adfb144222df45b34e12ee755548922760a8f6788a75a765
MD5 419b165ea804c53dc61c420fbbadf8f7
BLAKE2b-256 3a9e1ab4a2c30ecdd75b8ce597c78e58c9f2ff59be903b2eaab3d23ed0649d76

See more details on using hashes here.

File details

Details for the file dkist_processing_test-1.30.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dkist_processing_test-1.30.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b617cf397e9741bc87d0434620535241fa34a3074a34887c6e9407a38404c0b
MD5 5b46dd1e2c7142f7b05bbdcd6244f674
BLAKE2b-256 a9127ae73f89b6f23982ba96d3ed74442188174dad78a63f00507433c6969eba

See more details on using hashes here.

Supported by

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