Skip to content

Revise branding mechanism for Console Operator#180

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
zherman0:brand2
Apr 15, 2019
Merged

Revise branding mechanism for Console Operator#180
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
zherman0:brand2

Conversation

@zherman0
Copy link
Copy Markdown
Member

Update the default behavior of branding so that the one and only docker file now builds ocp instead of okd.
If the user instead wants to manually build openshift with go build or make build, that process will default to okd.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 19, 2019
@zherman0
Copy link
Copy Markdown
Member Author

/assign @benjaminapetersen @spadgett

@benjaminapetersen
Copy link
Copy Markdown
Contributor

Thinking now, just to make sure we don't need to worry about docker build as well.

Comment thread Dockerfile Outdated
@spadgett
Copy link
Copy Markdown
Member

I'd hold off on this change until we are also reading the configmap. Otherwise branding will be wrong for OKD.

@spadgett
Copy link
Copy Markdown
Member

We should be able remove Dockerfile.rhel7 after this, but probably need to coordinate with ART

@benjaminapetersen
Copy link
Copy Markdown
Contributor

@zherman0 are you doing the configmap as part of this PR, or separate?I imagine that part might need to come first.

@spadgett
Copy link
Copy Markdown
Member

/hold

Adding a hold to make sure we read the console-config config map in openshift-config-managed before going ahead with the Dockerfile changes.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 19, 2019
@zherman0
Copy link
Copy Markdown
Member Author

I was breaking things into smaller parts for my PRs, but since the configmap and this change are tightly coupled, I will put everything into this PR. For now I will set this as WIP.

@zherman0 zherman0 changed the title Make normal dockerfile default to ocp [WIP] Make normal dockerfile default to ocp Mar 20, 2019
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 20, 2019
@zherman0 zherman0 changed the title [WIP] Make normal dockerfile default to ocp [WIP] Revise branding mechanism for Console Operator Mar 25, 2019
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 2, 2019
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 2, 2019
@zherman0 zherman0 changed the title [WIP] Revise branding mechanism for Console Operator Revise branding mechanism for Console Operator Apr 2, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 2, 2019
@zherman0
Copy link
Copy Markdown
Member Author

zherman0 commented Apr 3, 2019

/test e2e-aws

Comment thread manifests/03-rbac-role-ns-openshift-config-managed.yaml Outdated
Comment thread manifests/04-rbac-rolebinding.yaml Outdated
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2019
Comment thread manifests/03-rbac-role-ns-operator.yaml Outdated
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2019
Comment thread pkg/console/starter/starter.go Outdated
@spadgett
Copy link
Copy Markdown
Member

/retest

@spadgett
Copy link
Copy Markdown
Member

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 12, 2019
@spadgett
Copy link
Copy Markdown
Member

/retest

@spadgett
Copy link
Copy Markdown
Member

The test flakes we're seeing should be fixed by openshift/origin#22543

@spadgett
Copy link
Copy Markdown
Member

/retest

@zherman0
Copy link
Copy Markdown
Member Author

@spadgett @benjaminapetersen - New unit tests added and commits squashed

Comment thread manifests/03-rbac-role-ns-openshift-config-managed.yaml
Comment thread pkg/console/subresource/configmap/configmap_test.go Outdated
Comment thread pkg/console/subresource/configmap/configmap_test.go Outdated
Comment thread pkg/console/subresource/configmap/configmap_test.go
Comment thread pkg/console/subresource/configmap/configmap_test.go
Copy link
Copy Markdown
Contributor

@benjaminapetersen benjaminapetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 rbac & a couple other qs, close!

@zherman0
Copy link
Copy Markdown
Member Author

/test e2e-aws

1 similar comment
@zherman0
Copy link
Copy Markdown
Member Author

/test e2e-aws

@benjaminapetersen
Copy link
Copy Markdown
Contributor

/lgtm

We should get an e2e test for this as I expect we will not manually test it often. Created https://jira.coreos.com/browse/CONSOLE-1385 to track.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 15, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: benjaminapetersen, zherman0

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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 15, 2019
@openshift-merge-robot openshift-merge-robot merged commit 92e8d3c into openshift:master Apr 15, 2019
@zherman0 zherman0 deleted the brand2 branch June 4, 2019 04:54
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants