Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a reference data set to increase test coverage #108

Open
o-orand opened this issue Mar 20, 2018 · 3 comments
Open

Use a reference data set to increase test coverage #108

o-orand opened this issue Mar 20, 2018 · 3 comments

Comments

@o-orand
Copy link
Member

o-orand commented Mar 20, 2018

Use the reference data set (#111) to enhance acceptance test. It is going to increase our test coverage.

A reference data set is composed by :

To run acceptance tests, we also need some prerequisites:

  • a concourse instance, to deploy COA generated pipelines
  • an S3 compliant, to host stemcells
  • a bosh director: to be able to deploy new deployments or to test cloud/runtime config
  • to be completed

After tests execution, we also need a way to assert concourse work.

Global overview:
image

@o-orand o-orand changed the title Setup a reference data set to increase test coverage Use a reference data set to increase test coverage Mar 20, 2018
@o-orand
Copy link
Member Author

o-orand commented Jun 19, 2018

To validate pipeline (ie jobs and tasks execution), we can use the config repository. Indeed, most of the jobs generate files committed to config repository. So we can scan config repository or wait an expected time if files are presents ,and we may parse generated files to ensure files match our expectations.

@o-orand
Copy link
Member Author

o-orand commented Oct 23, 2018

TODO:

  • generate per-root-deployment pipelines from reference dataset(already done by acceptance tests)
  • load singleton pipeline
  • load per-root-deployment => should be done by bootstraps-all-init-pipelines. Need to unpause.
  • iterate to enrich automatic validation for per-root-deployment pipelines
  • iterate to enrich automatic validation for singleton pipelines
  • cleanup all loaded pipeline (on manual approval)

Pipeline list:
singletons => required by per-root-deployment-pipeline

  • bootstraps-all-init-pipelines: bootstraps all init pipelines
  • control-plane
  • sync-feature-branches: manages a WIP branch based on develop and any feature branches
  • ( sync-hotfix-branches: manages a WIP branch based on master and any hotfix branches)

per-root-deployment:

  • update/init-pipeline: initializes all pipelines related to a root-deployment
  • concourse-pipeline
  • (news-pipeline: notifies of new bosh release versions for a root-deployment)
  • sync-helper-pipeline: to ease secret repo management
  • bosh pre-requisite
    • bosh-pipeline/depls-pipeline: manages bosh deployments associated to a root-deployment
      • [runtime|cloud]-config
      • terraform *
      • deploy.sh
      • delete*
      • recreate*
      • deploy.sh
      • cancel
      • init
  • CF pre-requisite (we may use PWS)
    • cf-apps-pipeline: manages cf-apps associated to a root-deployment
  • S3 pre-requisite
    • s3-br-upload-pipeline: to upload bosh releases used by this root deployment to S3
    • s3-stemcell-upload-pipeline: to upload stemcells used by this root deployment to S3

@o-orand
Copy link
Member Author

o-orand commented Jan 18, 2019

@lucaspinto remaining TODO:

Pipeline list:
singletons => required by per-root-deployment-pipeline

  • sync-feature-branches: manages a WIP branch based on develop and any feature branches
  • ( sync-hotfix-branches: manages a WIP branch based on master and any hotfix branches)

per-root-deployment:

  • news-pipeline: notifies of new bosh release versions for a root-deployment
  • sync-helper-pipeline: to ease secret repo management
  • bosh pre-requisite
    • bosh-pipeline/depls-pipeline: manages bosh deployments associated to a root-deployment
      • [runtime|cloud]-config
        => we should adapt our sample apply current cloud and runtime config
      • delete* => unpause
      • recreate* => unpause
  • CF pre-requisite (we may use PWS)
  • S3 pre-requisite
    • s3-br-upload-pipeline: to upload bosh releases used by this root deployment to S3 (already loaded)
    • s3-stemcell-upload-pipeline: to upload stemcells used by this root deployment to S3 (already loaded)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants