Skip to main content

Auto-update JetBrains YouTrack Docker containers

Project description

YouTrack Docker Updater

A CLI tool that checks for new JetBrains YouTrack Docker image versions and automatically updates a running instance managed via Docker Compose.

The tool:

  • Reads the current YouTrack version from docker-compose.yml
  • Compares it with the latest available Docker image tag
  • Pre-pulls the new image to minimize downtime
  • Updates docker-compose.yml and restarts the service

Requirements

  • Linux host with Docker installed
  • Docker Compose v2 (docker compose)
  • Python 3.10+
  • A docker-compose.yml with a jetbrains/youtrack:<tag> image

Installation

With pipx (recommended)

pipx install youtrack-updater

With pip

pip install youtrack-updater

Upgrade

pipx upgrade youtrack-updater

Usage

youtrack-updater

If a newer YouTrack version is available, you'll be prompted to confirm the update.

Options

--compose-file PATH     Path to docker-compose.yml (default: docker-compose.yml)
--version               Show version and exit

Examples

# default — looks for ./docker-compose.yml
youtrack-updater

# custom compose file location
youtrack-updater --compose-file /opt/youtrack/docker-compose.yml

Development

pip install -e ".[dev]"
pytest -v

Run a specific test:

pytest -v -s -k "test_update_sequence"

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

youtrack_updater-1.0.5.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

youtrack_updater-1.0.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file youtrack_updater-1.0.5.tar.gz.

File metadata

  • Download URL: youtrack_updater-1.0.5.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for youtrack_updater-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a7d3c6f0ffd39bcc276a6808cd52ac82374944f34774bdb4b082dc4d8582b6ba
MD5 e93899d3e580fdddef25d5d1beac3f35
BLAKE2b-256 fd48b4097754b4afdda3436d5158cbefe2f3dde54411ca201f9a922223ac68bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for youtrack_updater-1.0.5.tar.gz:

Publisher: publish.yml on asamofal/youtrack-updater

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

File details

Details for the file youtrack_updater-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for youtrack_updater-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2dfec735d1f22e40f49d5f3a1e33db6c0ac8972106927169ba17563362e4e2
MD5 deea26170c876500e6f17334e4131e4b
BLAKE2b-256 84399053a509bea47a127365b1982d35ffe8c166d4140cd566211325e5c8e8ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for youtrack_updater-1.0.5-py3-none-any.whl:

Publisher: publish.yml on asamofal/youtrack-updater

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