Skip to main content

The launcher of the Dead-Hosts infrastructure.

Project description

Infrastructure Launcher

The launcher of the Dead-Hosts infrastructure and project.

Installation

pip3 install --user dead-hosts-launcher

Configuration

To work, the launcher will look for a file named :code:info.json in your current directory.

The file should look like follow:

{
    "currently_under_test": false, # Don't touch this.
    "custom_pyfunceble_config": {}, # Put your PyFunceble custom configuration here.
    "days_until_next_test": 0.0,  # Ask an admin. Otherwise, this is the number of days between each authorizations.
    "name": "[repository-name]",  # The name of the current repository. WARNING: Partially autocompleted under CI.
    "own_management": false,  # You are the one managing the PyFunceble configuration.
    "ping": [],  # Put your GitHub username here to get a mention at the end of the test of your file.
    "ping_enabled": false,  # Enable the ping through GitHub.
    "raw_link": "[URL]" # Put the link to your file. Or leave empty and fill the origin.list file.
}

Persistent configuration

The launcher has some hard-coded configuration that can't be changed. Even if you try to overwrite them, the configuration will just overwrite them.

PyFunceble configuration

Please consider the following as a flatten representation of the PyFunceble configuration. Meaning that each :code:. is a nested dictionary.

{
    "cli_testing.cooldown_time": 1.25,
    "cli_testing.display_mode.execution_time": True,
    "cli_testing.ci.max_exec_minutes": 20,
    "cli_testing.max_workers": 1,
}

Usage

usage: dead-hosts-launcher [-h] [-d] [-s] [-e] [--authorize] [--update] [-v]

The launcher of the Dead-Hosts infrastructure.

options:
  -h, --help     show this help message and exit
  -d, --debug    Activate the logging in verbose mode..
  -s, --save     Declare a test as 'to be continued'.
  -e, --end      Declare a test as completely finished and generate `clean.list`.
  --authorize    Try to authorize the next job.
  --update       Update the local infrastructure.
  -v, --version  Show the version of and exit.

Crafted with  by Nissar Chababy (@funilrys)

License

MIT License

Copyright (c) 2019, 2020, 2021, 2022, 2023, 2024, 2025 Dead Hosts Contributors
Copyright (c) 2019, 2020. 2021, 2022, 2023, 2024 Nissar Chababy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Project details


Release history Release notifications | RSS feed

This version

2.4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dead_hosts_launcher-2.4.0.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

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

dead_hosts_launcher-2.4.0-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file dead_hosts_launcher-2.4.0.tar.gz.

File metadata

  • Download URL: dead_hosts_launcher-2.4.0.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dead_hosts_launcher-2.4.0.tar.gz
Algorithm Hash digest
SHA256 c14c4deac15b48dd00514d8f4ce6e919704197e67a989c535e41f9032b0f2acd
MD5 48f9dd503e298a2fa67ddb6d5b2c4a59
BLAKE2b-256 988304fd0a85278ed30f6e87c3c058abd5530d447ade1ff5eb09bc4c8cbac4ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for dead_hosts_launcher-2.4.0.tar.gz:

Publisher: main.yml on dead-hosts/infrastructure-launcher

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

File details

Details for the file dead_hosts_launcher-2.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dead_hosts_launcher-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fafb686ec39bfc0b2e7f7984c72ba46a76eda1f5f1fb82ba1c1e1b3dbaad053a
MD5 0de53a35e59049d316cc7b62b0eec9c1
BLAKE2b-256 8e4c19e88d5ca3bb33d7e6a9eb634fe7b5fd85907ff931241733b2e6e642c73a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dead_hosts_launcher-2.4.0-py3-none-any.whl:

Publisher: main.yml on dead-hosts/infrastructure-launcher

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