Skip to content

dr8tsh/bbr-pcf-pipeline-tasks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBR PCF Pipeline Tasks

This is a collection of Concourse tasks for backing up and restoring a Pivotal Cloud Foundry installation using bbr.

Tasks

export-om-installation

Inputs

  • bbr-pipeline-tasks-repo: this repository

Outputs

  • om-installation: a directory containing a installation.zip generated by exporting the Operations Manager installation.

Params

  • SKIP_SSL_VALIDATION: if true, ssl validation will be skipped. Defaults to false
  • OPSMAN_URL: The OpsManager URL
  • OPSMAN_USERNAME: The OpsManager username
  • OPSMAN_PASSWORD: The OpsManager password

bbr-backup-ert

N.B.: the pipeline assumes you have a tagged concourse worker deployed on the same network as ERT, i.e., the pipeline will use the concourse worker as the jumpbox. Ensure that this worker has enough disk space to accommodate the ERT backup files.

Inputs:

  • bbr-pipeline-tasks-repo: this repository
  • binary: a directory containing a executable bbr file

Outputs

  • ert-backup-artifact: a directory containing ert-backup.tar generated by backing up ERT.

Params

  • SKIP_SSL_VALIDATION: if true, ssl validation will be skipped. Defaults to false
  • OPSMAN_URL: The OpsManager URL
  • OPSMAN_USERNAME: The OpsManager username
  • OPSMAN_PASSWORD: The OpsManager password

bbr-backup-director

N.B.: the pipeline assumes you have a tagged concourse worker deployed on the same network as the Director, i.e., the pipeline will use the concourse worker as the jumpbox. Ensure that this worker has enough disk space to accommodate the Director backup files.

Inputs:

  • bbr-pipeline-tasks-repo: this repository
  • binary: a directory containing a executable bbr file

Outputs

  • director-backup-artifact: a directory containing director-backup.tar generated by backing up the Director.

Params

  • SKIP_SSL_VALIDATION: if true, ssl validation will be skipped. Defaults to false
  • OPSMAN_URL: The OpsManager URL
  • OPSMAN_USERNAME: The OpsManager username
  • OPSMAN_PASSWORD: The OpsManager password

Example pipeline

You can set the example pipeline with fly:

cp secrets.sample.yml secrets.yml
# update secrets.yml with real secrets
fly --target <target> \
    set-pipeline \
    --pipeline bbr-pipeline \
    --config pipeline.sample.yml \
    --load-vars-from secret.yml

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%