Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Sep 28, 2018

Builds on #342; you may want to wait until that lands before reviewing.

Now that we've dropped the old installer and only have to support a single Terraform operation at cluster-launch, drop the "step" concept.

@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 28, 2018
@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 28, 2018
This removes all of the files which are directly required by bazel.
The installer no longer reads Ignition files or the CA from disk, so
these aren't needed.
The installer package is going to be removed. This moves the remaining
validation functionality.
crawford and others added 5 commits September 27, 2018 22:57
This is the last of the old installer code. It's no longer used and can
be removed.
After removing the installer code, these dependencies were removed by
glide.
These were used by the old installer, which has now been deleted.
Rather than just checking the old directories, we'd might as well test
the entire repository. This also updates all of the yaml files, making
them more readable, in my opinion.
Now that we've dropped the old installer and only have to support a
single Terraform operation at cluster-launch, drop the "step" concept.
@wking wking force-pushed the drop-steps-concept branch from 24bd835 to 820502f Compare September 28, 2018 06:12
@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 28, 2018
@wking wking force-pushed the drop-steps-concept branch from 820502f to d08fec3 Compare September 28, 2018 06:28
Don't unpack modules which are not needed for the target platform.
And shuffle our modules around to collect the per-package stuff
together.  Now that we have a single Terraform step and all the shared
asset generation is in Go, we can dispense with the modules/
distinction.
@wking wking force-pushed the drop-steps-concept branch from d08fec3 to 0bec46d Compare September 28, 2018 06:33
@wking wking mentioned this pull request Sep 28, 2018
13 tasks
@wking
Copy link
Member Author

wking commented Sep 28, 2018

Most of the difference here is #342, but here's data/data as of 0bec46d:

$ tree -d
.
├── aws
│   ├── bootstrap
│   ├── iam
│   ├── master
│   ├── route53
│   └── vpc
└── libvirt
    ├── bootstrap
    └── volume

9 directories

Vs. yesterday's master (22f8f5f):

$ tree -d
.
├── modules
│   ├── aws
│   │   ├── bootstrap
│   │   ├── iam
│   │   ├── master
│   │   └── vpc
│   ├── bootkube
│   │   └── resources
│   │       └── manifests
│   ├── dns
│   │   └── route53
│   ├── ignition
│   │   └── resources
│   │       ├── files
│   │       └── services
│   ├── libvirt
│   │   ├── bootstrap
│   │   └── volume
│   └── tectonic
│       └── resources
│           └── manifests
│               ├── ingress
│               ├── rbac
│               ├── secrets
│               ├── security
│               └── updater
│                   ├── app_versions
│                   └── operators
└── steps
    └── infra
        ├── aws
        └── libvirt

32 directories

That just makes me happy :).

@crawford
Copy link
Contributor

This is fantastic.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 28, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 06a4afb into openshift:master Sep 28, 2018
@wking wking deleted the drop-steps-concept branch September 28, 2018 16:14
wking added a commit to wking/openshift-installer that referenced this pull request Sep 28, 2018
We used to use this for passing asset state from the assets step to
the infra step.  But the new installer performs all asset generation
in Go with a single Terraform step (e.g. see df14588, *: Drop
Terraform steps, 2018-09-27, openshift#362).  So we'll alwayshave
var.ignition_bootstrap set and we can just use it directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants