Skip to main content

conmasd

GitHub Action Self-hosted Runner Operator for Docker

Usage

Using Python file

Use set_config() to set config data, including credentials for GitHub App authentication, and execute with run() command.

from conmasd import Conmasd

client = Conmasd()
client.set_config({
    "github": {
        "credentials": {
            "app_id": "YOUR_APP_ID_INT",
            "pem_dir": "/data/cert.pem",
            "installation_id": "YOUR_INSTALLATION_ID_INT"
        },
        "entity": "orgs",
        "place": "github",
    }
})

client.run()

Using Docker Compose

Pass docker.sock, config file, and some other files required for creating runner to conmasd container.

386jp/conmasd image automatically reads /data/config.json. However, if you want to change config file path, pass file path to CONFIG_FILE environment variable.

services:
  conmasd:
    image: 386jp/conmasd:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./config.json:/data/config.json
      - ./cert.pem:/data/cert.pem
      - ./gha-baseimg-compose.yml:/data/gha-baseimg-compose.yml

If you gracefully shutdown your conmasd container, it automatically removes all the runners currently running.

Metadata

Release files for conmasd 0.1.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 conmasd 0.1.4
File Size Uploaded Provenance Actions
conmasd-0.1.4.tar.gz 8.4 kB Without provenance Details for conmasd-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for conmasd 0.1.4
File Interpreter ABI Platform Actions
conmasd-0.1.4-py3-none-any.whl Python 3 none any Details for conmasd-0.1.4-py3-none-any.whl

Total release size: 20.9 kB

Release files / conmasd-0.1.4.tar.gz

Download URL conmasd-0.1.4.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8d9767cd239980098325c3832c7878b111288d657c432d32655aff68b0c88dac
BLAKE2b-256 checksum
How to use checksums
48a4ce404f6c11154239c2fef957664004760478aa381b74bc5855592e2cc6f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.12.2 Darwin/22.4.0

Release files / conmasd-0.1.4-py3-none-any.whl

Download URL conmasd-0.1.4-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b644eb4b0a76b5203c6a9b5d0d86733b9df2c1e29eaa55f6ea03ed62bfa47a67
BLAKE2b-256 checksum
How to use checksums
cb2083cdf3440f69508f94c47fbaf6201ac15d079ec51909c3fc0f07ab9b9013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.12.2 Darwin/22.4.0

Security for conmasd 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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