Beispiel #1
0
def create_pipeline(uid, pipeline):
    log.info('creating pipeline %s', uid)
    pipeline_steps = [
        PipelineStep.from_dict(step)
        for step in pipeline['parameters']['steps']
    ]
    PIPELINES[uid] = ['running', pipeline_steps]
Beispiel #2
0
def pipeline_steps():
    pipeline_steps_ = [
      {
        "api_url": "http://localhost:5001/signoff1",
        "description": "signoff 1",
        "parameters": {
        },
        "parameters_schema": "https://null",
        "requires": [
        ],
        "uid": "signoff1"
      }, {
        "api_url": "http://localhost:5001/signoff2",
        "description": "signoff 2 - relman gatekeeps all the things",
        "parameters": {
        },
        "parameters_schema": "https://null",
        "requires": [
          "signoff1"
        ],
        "uid": "signoff2"
      }, {
        "api_url": "http://localhost:5001/publish1",
        "description": "final publish",
        "parameters": {
        },
        "parameters_schema": "https://null",
        "requires": [
          "signoff2"
        ],
        "uid": "publish1"
      }
    ]
    return [PipelineStep.from_dict(step) for step in pipeline_steps_]
Beispiel #3
0
def pipeline_steps():
    pipeline_steps_ = [
      {
        'api_url': 'http://localhost:5001/signoff1',
        'description': 'signoff 1',
        'parameters': {
        },
        'parameters_schema': 'https://null',
        'requires': [
        ],
        'uid': 'signoff1'
      }, {
        'api_url': 'http://localhost:5001/signoff2',
        'description': 'signoff 2 - relman gatekeeps all the things',
        'parameters': {
        },
        'parameters_schema': 'https://null',
        'requires': [
          'signoff1'
        ],
        'uid': 'signoff2'
      }, {
        'api_url': 'http://localhost:5001/publish1',
        'description': 'final publish',
        'parameters': {
        },
        'parameters_schema': 'https://null',
        'requires': [
          'signoff2'
        ],
        'uid': 'publish1'
      }
    ]
    return [PipelineStep.from_dict(step) for step in pipeline_steps_]
Beispiel #4
0
def create_pipeline(uid, pipeline):
    log.info("creating pipeline %s", uid)
    pipeline_steps = [PipelineStep.from_dict(step) for step in pipeline["parameters"]["steps"]]
    PIPELINES[uid] = ["running", pipeline_steps]