ogc-plugins-runner

ogc-plugins-runner, an ogc plugin for running scripts, applications, etc.


Keywords
cicd, ogc, python, task-runner
Install
pip install ogc-plugins-runner==1.0.24

Documentation

Build Status

ogc-plugins-runner

runner plugin for ogc

usage

In a ogc spec, place the following in the spec plan:

plan:
  - runner:
      description: "Full validation of charmed kubernetes"
      wait-for-success: yes
      back-off: 60
      script: |
        #!/bin/bash
        pytest validations/tests/validation.py \
           --connection $JUJU_CONTROLLER:$JUJU_MODEL \
           --cloud $JUJU_CLOUD \
           --bunndle-channel $JUJU_DEPLOY_CHANNEL \
           --snap-channel $SNAP_VERSION