Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mfedec/salt-ext-github-runner

SaltStack Extension module to manage Github self hosted runners
https://github.com/mfedec/salt-ext-github-runner

github saltstack saltstack-extension

Last synced: 6 days ago
JSON representation

SaltStack Extension module to manage Github self hosted runners

Awesome Lists containing this project

README

        

# github_runner

Module to manage self hosted github runners

## Quickstart

To get started with your new project:

# Create a new venv
python3 -m venv env --prompt github_runner
source env/bin/activate

# On mac, you may need to upgrade pip
python -m pip install --upgrade pip

# On WSL or some flavors of linux you may need to install the `enchant`
# library in order to build the docs
sudo apt-get install -y enchant

# Install extension + test/dev/doc dependencies into your environment
python -m pip install -e .[tests,dev,docs]

# Run tests!
python -m nox -e tests-3

# skip requirements install for next time
export SKIP_REQUIREMENTS_INSTALL=1

# Build the docs, serve, and view in your web browser:
python -m nox -e docs && (cd docs/_build/html; python -m webbrowser localhost:8000; python -m http.server; cd -)

# Run the example function
salt-call --local github_runner.example_function text="Happy Hacking!"