Skip to main content

:db:wait-for

Wait for database to be up and running, and the contents will be present.

Supports: PostgreSQL, MySQL

Examples:

rkd :db:wait-for \
    --host=postgres \
    --username=riotkit \
    --password=some \
    --port 5432 \
    --timeout 25 \
    --db-name=humhub \
    --type=postgres

rkd :db:wait-for \
    --host=mysql \
    --port=3306 \
    --type=mysql

Class name to import: rkt_utils.db.WaitForDatabaseTask [see how to import]

:utils:env-to-json

Dumps all environment variables into JSON

rkd :utils:env-to-json

# parse any JSON value one dimension deep
rkd :utils:env-to-json --parse-json

Class name to import: rkt_utils.envtojson.EnvToJsonTask [see how to import]

:docker:tag

Re-tag images to propagate version tags in docker-like format eg. 1.0.1 -> 1.0 -> 1 -> latest

Examples:

1.0.0 -> 1.0 -> 1 -> latest 1.0.0-RC1 -> 1.0.0-latest-rc

# simple propagate tags 1.2.23 -> 1.2 -> 1
rkd :docker:tag --image my-image:1.2.23 --propagate

# advanced usage
rkd :docker:tag --image my-image:1.2.23 --propagate --allowed-meta=rc,alpha,stable,dev,prod,test,beta,build,b

:docker:push

Push all re-tagged imagges by :docker:tag

rkd @ --image my-image:1.2.23 --propagate :docker:tag :docker:push

Metadata

Release files for rkt-utils 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rkt-utils 3.0.4
File Size Uploaded
rkt_utils-3.0.4.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rkt-utils 3.0.4
File Interpreter ABI Platform
rkt_utils-3.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / rkt_utils-3.0.4.tar.gz

Download URL rkt_utils-3.0.4.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c1149319a923dd3f9a67d8089ed3564a4f6d894060879163fb335c4ac49d04d2
BLAKE2b-256 checksum
How to use checksums
72a4641893971e72d72ad01b7493aebf903d109a0058729dafd8dd3338f28181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

Release files / rkt_utils-3.0.4-py3-none-any.whl

Download URL rkt_utils-3.0.4-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ffa260e4c1f4358b879393a558c03b00baebba006afb4f74146d599b6b48752
BLAKE2b-256 checksum
How to use checksums
7d78741c3714dd8b6d4b3f8c2d5412062d9489d6f081189cb4402898f4494866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

3.0.4 This release

2 release files

3.0.3

2 release files

3.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page