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.7.tar.gz (12.6 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.7-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: adpcli-0.1.7.tar.gz
  • Upload date:
  • Size: 12.6 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.7.tar.gz
Algorithm Hash digest
SHA256 846598f2d5ae59ff7ce3bd7b4292a9bc3927d7638da4be59499eac5210bffa5a
MD5 786df0d92c525af86e854e347c9a259d
BLAKE2b-256 20db174dbb7ebceb9aedf03528f4314750439b468430ad4cdd6c06aaab605b7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for adpcli-0.1.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: adpcli-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a65ca0e40219fbbce43313ea5aebcf9f38c80ea4bf9ff80cc79817393378c22f
MD5 5085e75ac8759f357260e192a55840c9
BLAKE2b-256 74075995f26300f48855e4bb410d2b08164e4ee3fcfe4984d4b0494bde0a8e79

See more details on using hashes here.

Provenance

The following attestation bundles were made for adpcli-0.1.7-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