generate-install-pipeline

command module
v0.0.0-...-f313a62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 10 Imported by: 0

README

Introduction

This is an exploration of building a pipeline generator for testing installation and upgrades of Ops Manager and tiles. These patterns are from Platform Automation. Just extracted into a YAML generator, based on a config file.

Usage

go run main.go -config config.yml

If you are going to build a binary, this uses packr to manage assets.

go generate ./...
go build -o generate-install-pipeline

Please see examples/ for actual examples.

Pipeline design

Note: All state will be stored in a git repo, known as deployments.uri in the config.

  1. Terraform using paving to create infrastructure in the desired IAAS.
  2. Create an OpsManager VM.
  3. Upload, staged, and configure the desired tile. If the configuration cannot be defaulted, the required vars will be searched for in deployments/<env-name>/products/<product-slug>-<version>-vars.yml.
  4. Apply changes.
  5. Repeat in order, the OpsManager, tile upgrade, or tile installation.
  6. Cleanup everything, aggressively.

Testing

This is using ginkgo to test the YAML that is generated. The final test will be a successful run of the examples/ in a running concourse.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL