Skip to content
Snippets Groups Projects

CE-3269: Implement batch deployment logic

Merged Domonkos Gulyas requested to merge CE-3269_Implement-batch-deployment-logic into develop

The batch deployment and undeployment have been introduced. This merge request also includes the DB modification.

In the case of batch deployment an AWX job executes multiple deployments, so the relationship between the awx_job and ioc_deployment tables has been modified to allow multiple ioc_deployment entries to be associated with a single awx_job.

The batch deployment request towards AWX looks like (In the case if we want to deploy IOC1 to host1 and IOC2 to host2):

{
  "limit": "host1:host2",
  "extra_vars": {
    "iocs_to_undeploy_json": [],
    "iocs_to_deploy_json": [
      "IOC1", "IOC2"
    ]
  }
}

Closes CE-3269, CE-3268

Edited by Domonkos Gulyas

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Simon Rose mentioned in merge request !484 (merged)

    mentioned in merge request !484 (merged)

  • Domonkos Gulyas added 16 commits

    added 16 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Domonkos Gulyas added 7 commits

    added 7 commits

    Compare with previous version

  • Sky Brewer
  • Sky Brewer
  • Sky Brewer
  • Sky Brewer
  • Sky Brewer
  • Sky Brewer
  • Sky Brewer
  • Also can we add test cases for batch to DeploymentServiceUT and IocServiceUT

  • Domonkos Gulyas changed the description

    changed the description

  • added 1 commit

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading