Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

mount local openshift epel mirror only during image builds, no final … - #533

Merged
stevekuznetsov merged 1 commit into
openshift:masterfrom
gabemontero:localEPELMirror
Mar 2, 2017
Merged

stevekuznetsov merged 1 commit into
openshift:masterfrom
gabemontero:localEPELMirror

Conversation

@gabemontero

Copy link
Copy Markdown
Contributor

…image output

@stevekuznetsov FYI - per our chat at your cube, here is the vagrant-openshift prototype. Let me know how you want this reflected in the new origin-ci-tool component.

Also note, after this change, we need to change the Dockerfile's in the origin repo to install yum-plugin-priorities in a separate RUN step prior to installing epel-release, etc.

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
# according to note from sdodson in https://github.com/openshift/origin/issues/8571, default priority is 99,
# so 98 should be higher priority, and override the default epel repo
priority=1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

doesn't seem to match the comment above

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

comment corrected

@gabemontero

gabemontero commented Feb 13, 2017 via email

Copy link
Copy Markdown
Contributor Author

@gabemontero

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov bump

how about we actually merge this and update ami's ? ... the base/dev ami jobs still seem to be using vagrant

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Those AMIs will remain in circulation for a while, so that makes sense. I don't have the bandwidth to do a full review of this right now though. If you're confident let's merge it but you will also need to own updating the plugin on our servers and making sure that change doesn't break anything.

@gabemontero

gabemontero commented Feb 27, 2017 via email

Copy link
Copy Markdown
Contributor Author

@gabemontero

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov @danmcp:

taking @stevekuznetsov 's prior comment in this PR, in looking at https://ci.openshift.redhat.com/jenkins/job/vagrant-openshift/, and the message: "NOTE: Make sure, there is no other build in progress as reinstalling this plugin will make some vagrant commands unavailable for a moment!"

I'm assuming that includes PR testing .... if so, is the implication that you have to find a window "off hours" when no PRs are cooking to update the vagrant-openshift plugin?

please advise/confirm .. thanks

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@danmcp advice was given. we'll wait to put this in until the merge queue is not 20 deep

@stevekuznetsov
stevekuznetsov merged commit f044218 into openshift:master Mar 2, 2017
@gabemontero
gabemontero deleted the localEPELMirror branch March 2, 2017 20:20
@gabemontero

Copy link
Copy Markdown
Contributor Author

The merge queues appeared idle this AM. I just ran the job to update the plugin: https://ci.openshift.redhat.com/jenkins/job/vagrant-openshift/446/console

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Cool. We'll want to run a base_ami and make sure the correct repo is used for the image builds.

@gabemontero

gabemontero commented Mar 4, 2017 via email

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov

Copy link
Copy Markdown
Contributor

Ah, right. I'll take a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants