Skip to main content

Foodx DevOps pipeline utilities.

Reason this release was yanked:

test

Project description

Foodx DevOps pipeline utilities.

1 Installation

The foodx_devops_tools package is available from PyPI. Installing into a virtual environment is recommended.

python3 -m venv .venv; .venv/bin/pip install foodx_devops_tools

2 Developers

The first time you clone this project use the following command to set up the virtual environment for the project. Ensure that you have Python3, git and the Python package venv installed on your system.

Note that while venv is in the Python standard library, in Ubuntu it is not installed with the standard Python 3 apt package so you must explicitly install it with sudo apt install python3-venv.

git clone <foodx_devops_tools repo url>
cd foodx_devops_tools
python3 -m venv .venv; .venv/bin/pip install build_harness; .venv/bin/build-harness install

Run the same static analysis as the pipeline using the build-harness utility:

# apply PEP-8 formatting to the code (mandatory as the pipeline will fail if not PEP-8 compliant formatting)
build-harness formatting
# apply formatting and then do additional static checks using flake8, mypy and pydocstyle
build-harness static-analysis
# run unit tests - for this project the test dir specification is necessary to avoid running manual tests
build-harness unit-test --test-dir tests/ci
# generate unit test coverage report
build-harness unit-test --test-dir tests/ci --coverage-html

Examine the .gitlab-ci.yml file for more examples of using the build-harness utility.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

foodx_devops_tools-0.0.0.post66.tar.gz (96.8 kB view details)

Uploaded Source

Built Distribution

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

foodx_devops_tools-0.0.0.post66-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

File details

Details for the file foodx_devops_tools-0.0.0.post66.tar.gz.

File metadata

  • Download URL: foodx_devops_tools-0.0.0.post66.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for foodx_devops_tools-0.0.0.post66.tar.gz
Algorithm Hash digest
SHA256 01644c1e1759829078650ad56ab8162db0e447934749c980971b4fb4a402c72f
MD5 6df3ad1f6ea41c2365eccaf93e84c706
BLAKE2b-256 f93cb83c50c6b274851704e154b91fb9a003eb0de8636e28e74000be663a999b

See more details on using hashes here.

File details

Details for the file foodx_devops_tools-0.0.0.post66-py3-none-any.whl.

File metadata

  • Download URL: foodx_devops_tools-0.0.0.post66-py3-none-any.whl
  • Upload date:
  • Size: 89.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for foodx_devops_tools-0.0.0.post66-py3-none-any.whl
Algorithm Hash digest
SHA256 37e6c341dec470d2a5679a042c77be0cf60f59ea5a0ccbec17c70147229ad3c5
MD5 213ad3d83d96d051b5d71830cfbef640
BLAKE2b-256 2606bb91e991645c2550a4774a2d0fb01c19decede3026800918099ed61fd0f9

See more details on using hashes here.

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