Skip to main content

Artifact Provisioning Engine (ADP Engine) - Provisions artifacts from proyecto.yml

Project description

ADP Engine (Provisioning)

Python artifact provisioning engine that reads a YAML configuration file and provisions resources across various development platforms.

Installation

Using Make (Recommended)

make install

This will install both production and development dependencies.

Manual Installation

# Production dependencies
pip install -r requirements.txt

# Development dependencies (optional)
pip install -r requirements-dev.txt

Usage

Using Make (Recommended)

# Run with default config (proyecto.yml)
make run

# Run with custom config file
make run CONFIG=my-config.yml

Manual Execution

python main.py [proyecto.yml]

If no file is specified, it will look for proyecto.yml in the current directory.

Development

Linting

make lint

Runs flake8 to check code quality and style.

Code Formatting

make format

Formats code using black.

Clean Cache Files

make clean

Removes Python cache files and build artifacts.

Run Tests

make test

Runs tests (if available).

Available Make Targets

Run make help to see all available targets.

Project Structure

  • orchestrator.py: Main orchestrator that reads the YAML and coordinates calls
  • github_client.py: Client for interacting with the GitHub REST API
  • main.py: CLI entry point
  • requirements.txt: Production dependencies
  • requirements-dev.txt: Development dependencies (linter, formatter, etc.)
  • Makefile: Convenient commands for common tasks
  • .flake8: Flake8 linter configuration
  • pyproject.toml: Black formatter and pytest configuration

Configuration

The proyecto.yml file must follow the structure specified in the project documentation.

Notes

  • GitHub token is temporarily hardcoded in orchestrator.py
  • Organization name must be specified in each call (for now)

Project details


Download files

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

Source Distribution

adpcli-0.1.5.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

adpcli-0.1.5-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file adpcli-0.1.5.tar.gz.

File metadata

  • Download URL: adpcli-0.1.5.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for adpcli-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bdc24995afed690339e065c93cc670b4b0f6d838606e67f94ee0f4ca0f0f4f0d
MD5 fb437e74567ce92cd0de8849c1cd7acc
BLAKE2b-256 c4cab72028d48c19ecd5d8068436f345111c3a9a9a68912169849fc8cfd36730

See more details on using hashes here.

Provenance

The following attestation bundles were made for adpcli-0.1.5.tar.gz:

Publisher: release.yaml on ittidigital/adp-cli

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

File details

Details for the file adpcli-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: adpcli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for adpcli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7be9e0ecdf3d58eabfaefcc37951a37da82a8db02b1149a6cd1079880a91a4bb
MD5 92dcd3225cfe69043f102475bb986e93
BLAKE2b-256 2622a3726d0b0623df5e8ee396db908a2cba5290969ca682ae727a46ea3247c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for adpcli-0.1.5-py3-none-any.whl:

Publisher: release.yaml on ittidigital/adp-cli

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