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

Adapt dockerfiles to work in both OKD and OCP #316

Merged
merged 1 commit into from Aug 19, 2020

Conversation

dulek
Copy link
Contributor

@dulek dulek commented Aug 12, 2020

A decision was made to force using the same dockerfiles for containers
in both OKD and OCP. As those use two distinct buildsystems and the OKD
one doesn't handle RPMs well, we had the files separated with the OKD
one having a hack to enable repo with RPMs built by the build.

This commit attempts to unify the files in order to use just a single
one. That's done by trying to enable missing repo using sed which will
work for OKD. In order to make it run fine in OCP result of that
operation is simply ignored.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 12, 2020
A decision was made to force using the same dockerfiles for containers
in both OKD and OCP. As those use two distinct buildsystems and the OKD
one doesn't handle RPMs well, we had the files separated with the OKD
one having a hack to enable repo with RPMs built by the build.

This commit attempts to unify the files in order to use just a single
one. That's done by trying to enable missing repo using sed which will
work for OKD. In order to make it run fine in OCP result of that
operation is simply ignored.

Change-Id: I49a423ffae372b7d8259faf256c68e48324a1b53
@MaysaMacedo
Copy link
Contributor

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dulek, MaysaMacedo

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

The pull request process is described here

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 lgtm Indicates that a PR is ready to be merged. label Aug 19, 2020
@dulek
Copy link
Contributor Author

dulek commented Aug 19, 2020

/test images

1 similar comment
@dulek
Copy link
Contributor Author

dulek commented Aug 19, 2020

/test images

@openshift-merge-robot openshift-merge-robot merged commit 8e4b0be into openshift:master Aug 19, 2020
MaysaMacedo pushed a commit to MaysaMacedo/kuryr-kubernetes-1 that referenced this pull request Jul 1, 2021
Bug 1752905: Kuryr: Allow usage of SCC's to allow pod update
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants