GitXplorerGitXplorer
d

redis-subscribe-exit

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e03467fe0c6d0155d98b7d5883aaa02eecfc03db

more readable readme

ddaxxog committed 3 years ago
Unverified
5532c320164229950013f8e2ec8bcdbf56bcb34a

built redis-subscribe-exit@1

ddaxxog committed 3 years ago
Unverified
e0d050313604fa8fb56a8545d3ca20b5174fb6d4

Initial commit

ddaxxog committed 3 years ago

README

The README file for this repository.

redis-subscribe-exit

A simple python script and docker container for pushing exit codes via pubsub. Useful for doing mutex-type operations in parallel drone pipelines.

Testing and Example Usage

You can run something like this with a redis running on your local machine:

docker run \
    -e REDIS_URL=redis://host.docker.internal \
    -e REDIS_CHANNEL=test \
    daxxog/redis-subscribe-exit

And then in another terminal, push an exit code:

redis-cli PUBLISH test 2