Skip to content
Snippets Groups Projects
Select Git revision
  • dependabot/pip/rich-10.10.0
  • main default
  • dependabot/pip/types-requests-2.28.11
  • dependabot/pip/mkdocs-material-8.5.3
  • dependabot/pip/mkdocs-material-8.5.2
  • dependabot/pip/mkdocs-material-8.5.1
  • dependabot/pip/mkdocs-material-8.5.0
  • dependabot/pip/mkdocs-material-8.4.4
  • dependabot/pip/types-requests-2.28.10
  • dependabot/pip/mkdocs-material-8.4.3
  • dependabot/pip/mkdocs-material-8.4.2
  • dependabot/pip/mkdocs-material-8.4.1
  • dependabot/pip/types-requests-2.28.9
  • dependabot/pip/mkdocs-material-8.4.0
  • dependabot/pip/types-requests-2.28.8
  • dependabot/pip/types-requests-2.28.7
  • dependabot/pip/types-requests-2.28.6
  • dependabot/pip/types-requests-2.28.5
  • dependabot/pip/types-requests-2.28.4
  • dependabot/pip/types-requests-2.28.3
  • dependabot/pip/types-requests-2.28.2
  • dependabot/pip/types-requests-2.28.1
  • 1.4.1
23 results

ci-plumber

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    dependabot[bot] authored and GitHub committed
    Bumps [rich](https://github.com/willmcgugan/rich) from 10.9.0 to 10.10.0.
    - [Release notes](https://github.com/willmcgugan/rich/releases)
    - [Changelog](https://github.com/willmcgugan/rich/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/willmcgugan/rich/compare/v10.9.0...v10.10.0
    
    )
    
    ---
    updated-dependencies:
    - dependency-name: rich
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: default avatardependabot[bot] <support@github.com>
    26ba9f4f
    History

    CI Plumber

    CodeFactor PyPI - Python Version PyPI PyPI - Downloads python-app

    A tool to create and configure all of the stages of a CI/CD pipeline.

    Current integrations:

    • Gitlab
    • Gitlab pipelines
    • Azure App Service
    • Azure Image Registry
    • Azure MariaDB
    • Openshift
    • Openshift MariaDB

    Full documentation is available here.

    Installation

    pip install ci-plumber[all]

    Requirements

    • oc CLI tool
    • az CLI tool

    Usage

    GitLab

    # Initialise the project
    ci-plumber gitlab init

    OpenShift

    # Deploy from the current docker registry to OpenShift
    ci-plumber openshift deploy
    
    # Create a new DB and store the credentials in maria.env
    ci-plumber openshift create-db

    Azure

    # Log in to Azure
    ci-plumber azure login
    
    # List your Azure subscriptions
    ci-plumber azure list-subscriptions
    
    # Set the subscription to use
    ci-plumber azure set-default-subscription
    
    # Create a docker registry
    ci-plumber azure create-registry
    
    # Trigger a build and push
    git add .
    git commit -m "Added Azure CI file"
    git tag -a v1.0.0 -m "Version 1.0.0"
    git push --follow-tags
    
    # Deploy to Azure
    ci-plumber azure create-app
    
    # Create a database and store the credentials in maria.env
    ci-plumber azure create-db

    Developing

    Installation

    # Install dependencies
    $ poetry install
    $ poetry shell
    
    # Install git hooks
    $ pre-commit install
    $ pre-commit autoupdate
    $ pre-commit run --all-files
    
    # Symlink the plugins back to the main project
    $ ln -s ./plugins/example/ci_plumber_example/ ./ci_plumber_example
    $ ln -s ./plugins/gitlab/ci_plumber_gitlab/ ./ci_plumber_gitlab
    $ ln -s ./plugins/openshift/ci_plumber_openshift/ ./ci_plumber_openshift
    $ ln -s ./plugins/azure/ci_plumber_azure/ ./ci_plumber_azure

    Features

    • Runs checks on commit
      • Flake8
      • Black
      • pre-commit-hooks checks
      • mypy
      • isort
    • Installable as a script