[jbosstools-issues] [JBoss JIRA] (JBIDE-23140) Provision a RHEL7 slave with mock and rpmbuild on dev-platform central-ci
Nick Boldt (JIRA)
issues at jboss.org
Mon Sep 12 09:56:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-23140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291911#comment-13291911 ]
Nick Boldt edited comment on JBIDE-23140 at 9/12/16 9:55 AM:
-------------------------------------------------------------
See below for what's installed on wonka [0], on which I can successfully build the rpmbuild/mock project.
[0] wonka.mw.lab.eng.bos.redhat.com (10.16.89.81)
You probably don't need ALL of that, but it should give you a good idea of what's needed.
The script [1], for the build we'd like to run on a RHEL7 slave (w/ mock and rpmbuild installed) in central-ci, also lists a few requirements:
{code}
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm'
su -c 'yum install mock'
su -c 'yum install rpm-build redhat-rpm-config'
su -c '$(which usermod) -a -G mock $USER'
su -c 'cp rh-eclipse46.repo /etc/yum.repos.d/rh-eclipse46.repo'
su -c 'yum install eclipse-platform'
{code}
[1] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/build.sh
The file rh-eclipse46.repo (as used in the scriplet above) is here [2].
[2] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/rh-eclipse46.repo
was (Author: nickboldt):
Here's what's installed on wonka [0], on which I can successfully build the rpmbuild/mock project: [^yum.install.list.txt]
[0] wonka.mw.lab.eng.bos.redhat.com (10.16.89.81)
You don't need ALL of that, but it should give you a good idea of what's needed.
The script [1], for the build we'd like to run on a RHEL7 slave (w/ mock and rpmbuild installed) in central-ci, also lists a few requirements:
{code}
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm'
su -c 'yum install mock'
su -c 'yum install rpm-build redhat-rpm-config'
su -c '$(which usermod) -a -G mock $USER'
su -c 'cp rh-eclipse46.repo /etc/yum.repos.d/rh-eclipse46.repo'
su -c 'yum install eclipse-platform'
{code}
[1] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/build.sh
The file rh-eclipse46.repo (as used in the scriplet above) is here [2].
[2] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/rh-eclipse46.repo
> Provision a RHEL7 slave with mock and rpmbuild on dev-platform central-ci
> -------------------------------------------------------------------------
>
> Key: JBIDE-23140
> URL: https://issues.jboss.org/browse/JBIDE-23140
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: build, qa
> Affects Versions: 4.4.1.Final
> Reporter: Pavol Srna
> Assignee: Nick Boldt
> Fix For: 4.4.x
>
> Attachments: yum.install.list.partial.txt, yum.install.list.sort.txt, yum.install.list.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list