Add new cluster profiles - aws-gluster and gcp-logging#176
Conversation
919cfbb to
8dd26de
Compare
|
/hold |
8dd26de to
92d1eb3
Compare
CONFIGURATION.md
Outdated
| target_cloud: '' | ||
| openshift_ansible_upgrade: | ||
| target_cloud: '' | ||
| previous_ansible_version: '' |
There was a problem hiding this comment.
This seems like it could mirror tag_specification and fully define the previous release, so you don't need to explicitly provide the version, image and RPMs
There was a problem hiding this comment.
It seems previous_version and previous_rpm_deps should be sufficient
b234481 to
2c8d76b
Compare
CONFIGURATION.md
Outdated
| openshift_ansible_src: | ||
| target_cloud: '' | ||
| openshift_ansible_upgrade: | ||
| target_cloud: '' |
There was a problem hiding this comment.
Not sure why the docs state this field is target_cloud and the class json field is cluster_profile. Docs issue?
There was a problem hiding this comment.
I blame the happy hour.
2c8d76b to
a1c6330
Compare
a1c6330 to
40ad537
Compare
| needsReleaseRpms = true | ||
| validationErrors = append(validationErrors, validateClusterProfile(fmt.Sprintf("%s", fieldRoot), testConfig.ClusterProfile)) | ||
| } | ||
| if testConfig := test.OpenshiftAnsibleUpgradeClusterTestConfiguration; testConfig != nil { |
There was a problem hiding this comment.
Do similar for custom?
d8392b6 to
ac9af1d
Compare
|
/unassign |
pkg/api/types.go
Outdated
| ClusterProfile ClusterProfile `json:"cluster_profile"` | ||
| PreviousVersion string `json:"previous_version"` | ||
| PreviousRPMDeps string `json:"previous_rpm_deps"` | ||
| } |
There was a problem hiding this comment.
It doesn't look like you need this separate struct. These fields can be added to OpenshiftAnsibleUpgradeClusterTestConfiguration directly.
There was a problem hiding this comment.
Because clusters are always upgraded from one version to the next, these could also be derived automatically from tag_specification.
There was a problem hiding this comment.
Deriving previous version is fairly complicated, 4.0 -> 3.11 (it could as well be 3.12 -> 3.11), previous RPM deps repo is not easy too
There was a problem hiding this comment.
Additional struct is for this is no longer created
…ecific test config
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bbguimaraes, vrutkovs The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
Related to openshift/release#1878 and openshift/release#1866
This also adds new test types - openshift-ansible upgrade and custom openshift-ansible provisioners.
Fixes #175