Skip to main content

CI/CD helpers for TTS.

Project description

tts_ci_cd

Project logo

About Teamtools Studio

Teamtools Studio Utilities is part of JPL's Teamtools Studio (TTS).

TTS is an effort originated in JPL's Planning and Execution section to centralize shared repositories across missions. This benefits JPL by reducing cost through reducing duplicated code, collaborating across missions, and unifying standards for development and design across JPL.

Although Planning and Execution is primarily concerned with flight operations, the TTS suite has been generalized and atomized to the point where many of these tools are applicable during other mission phases and even in non-spaceflight contexts. Through our work flying space missions, we hope to provide tools to the open source community that have utility in data analysis or planning for any complex system where failure is not an option.

For more infomation on how to contribute, and how these libraries form a complete ecosystem for high reliability data analysis, see the Full TTS Documentation.

What is TTS CI/CD?

Overview

TTS CI/CD is pretty much what it says on the tin. We're not trying to reinvent the wheel of how to do CI/CD here, but we recognize that there are many ways to implement CI/CD features and that a large project like the Teamtools Studio benifits significantly from standardization.

Historically at JPL adoption of unit testing, code scanning, and even packaging as libraries has been spotty and implemented differently across different projects and developers. This stems from the fact that teamtool developers are typically more operator than software engineer and either are not familiar with best practices around CI/CD or are sympathetic to the ideas but have not yet found the time to learn them well enough to cut through the noise to find a reasonable practice to follow. Even in cases where developers do implement CI/CD features, they tend to be very individual to the developer as doing the political work of convincing every project and developer to follow one's lead is a challenge in and of itself. This library represents the best effort to date to meet the political and technical challenges of getting everyone on board and doing it the same way.

This library goes hand in hand with the conventions encoded in tts_starter_kit, so all of the tools here should work off the shelf for any library started with that starter kit.

Command Line Tools

A number of command line tools are provided in this library.

  • tts-git-dashboard: Reports on the status of all git repos in a directory (defaults to current). Provides situational awareness across all libraries assuming developer has made changes across multiple. Shows the following:
    • Setuptools_scm version available locally
    • Branch checked out locally
    • Latest versions deployed to pypi and any artifactory locations configured in .tts_config/deploy_locations.yaml
    • Summary of git status
  • tts-dev-setup: Clones, editably installs, and runs unit tests for any TTS library and its TTS dependencies (or all of them). Bootstrap to get a new development environment set up within ~5 minutes.
  • tts-doc-builder: Builds gh-pages branch by checking out each active branch and every tag in the repo (except those configured to be ignored). Builds landing page for repo docs. Deploys to gh
  • tts-deploy-lib: Deploys library to pypi or artifactory.

Configuration

Some of the command line tools in this library (tts-deploy-lib and tts-git-dashboard) have an optional configuration file. It is used to include artifactory URLs and pypi keys that cannot be shared publically. An example is provided at tts_config/README.md

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

tts_ci_cd-0.2.1.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

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

tts_ci_cd-0.2.1-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file tts_ci_cd-0.2.1.tar.gz.

File metadata

  • Download URL: tts_ci_cd-0.2.1.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for tts_ci_cd-0.2.1.tar.gz
Algorithm Hash digest
SHA256 99e36e766f23c53eccb1d9cc84ba76fb38f21307b7a5e9d5cf42b578b7efd059
MD5 3abed1fcf64617411e5648ee565028f7
BLAKE2b-256 7f6c59cffd16b69959761bb1082e1161d5e948597f33003c4ef6a5cd61598d7c

See more details on using hashes here.

File details

Details for the file tts_ci_cd-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: tts_ci_cd-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for tts_ci_cd-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fbe2f994f6aa01da4873e9d0e2ba5ea6ecf468c8bab3ce9f911730c3e9db6c2
MD5 d208b24db66c2335b9ed5c8b0f8f1b74
BLAKE2b-256 746559a3ed1f9bb254c02d9be82864199a65b2e249be97d4a27f121a5d5f16fb

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