mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
Remove useless EL5 stuff
Red Hat Enterprise Linux 5 and its derivatives are now EOL.
This commit is contained in:
parent
b5597fc429
commit
18a21c6c5b
4 changed files with 16 additions and 61 deletions
20
HACKING
20
HACKING
|
@ -32,9 +32,8 @@ Tests
|
||||||
|
|
||||||
To run all tests on all supported platforms:
|
To run all tests on all supported platforms:
|
||||||
|
|
||||||
yum -y install docker-io
|
yum -y install docker
|
||||||
systemctl start docker.service
|
systemctl enable --now docker.service
|
||||||
systemctl enable docker.service
|
|
||||||
usermod -aG docker <your-username>
|
usermod -aG docker <your-username>
|
||||||
|
|
||||||
Log out and log in to refresh your secondary group.
|
Log out and log in to refresh your secondary group.
|
||||||
|
@ -55,16 +54,13 @@ Expected output resembles:
|
||||||
-snip copious output-
|
-snip copious output-
|
||||||
=====================
|
=====================
|
||||||
Summary
|
Summary
|
||||||
/tmp/titotest-centos-5.9-python.out : OK (SKIP=1)
|
/tmp/titotest-centos-6-python.out : OK (SKIP=1)
|
||||||
/tmp/titotest-centos-6.4-python.out : OK (SKIP=1)
|
/tmp/titotest-fedora-25-python3.out : OK
|
||||||
/tmp/titotest-fedora-20-python.out : OK
|
|
||||||
/tmp/titotest-fedora-20-python3.out : OK
|
|
||||||
|
|
||||||
You can then review the output, such as:
|
You can then review the output, such as:
|
||||||
|
|
||||||
$ grep SKIP: /tmp/titotest-*.out
|
$ grep SKIP: /tmp/titotest-*.out
|
||||||
/tmp/titotest-centos-5.9-python.out:... SKIP: git-annex is not available in epel-5
|
/tmp/titotest-centos-6-python.out:... SKIP: git-annex '3.20120522 ' is too old
|
||||||
/tmp/titotest-centos-6.4-python.out:... SKIP: git-annex '3.20120522 ' is too old
|
|
||||||
|
|
||||||
After you run the test harness the first time,
|
After you run the test harness the first time,
|
||||||
you can optionally create and enter a container like so:
|
you can optionally create and enter a container like so:
|
||||||
|
@ -75,9 +71,9 @@ you can optionally create and enter a container like so:
|
||||||
| | .--- tty
|
| | .--- tty
|
||||||
| | | .---- mount current workdir into container
|
| | | .---- mount current workdir into container
|
||||||
| | | | .---- name of image
|
| | | | .---- name of image
|
||||||
| | | | | .-- get a shell
|
| | | | | .-- get a shell
|
||||||
| | | | | |
|
| | | | | |
|
||||||
docker run --rm -i -t -v $PWD:/home/sandbox titotest-centos-5.9 /bin/bash
|
docker run --rm -i -t -v $PWD:/home/sandbox titotest-centos-6 /bin/bash
|
||||||
|
|
||||||
|
|
||||||
Note about the sandbox: By default, the docker container is a
|
Note about the sandbox: By default, the docker container is a
|
||||||
|
|
|
@ -10,9 +10,8 @@
|
||||||
#
|
#
|
||||||
# To run all tests on all supported platforms:
|
# To run all tests on all supported platforms:
|
||||||
#
|
#
|
||||||
# yum -y install docker-io
|
# yum -y install docker
|
||||||
# systemctl start docker.service
|
# systemctl enable --now docker.service
|
||||||
# systemctl enable docker.service
|
|
||||||
# usermod -aG docker <your-username>
|
# usermod -aG docker <your-username>
|
||||||
#
|
#
|
||||||
# Log out and log in to refresh your secondary group.
|
# Log out and log in to refresh your secondary group.
|
||||||
|
@ -39,16 +38,13 @@
|
||||||
# -snip copious output-
|
# -snip copious output-
|
||||||
# =====================
|
# =====================
|
||||||
# Summary
|
# Summary
|
||||||
# /tmp/titotest-centos-5.9-python.out : OK (SKIP=1)
|
# /tmp/titotest-centos-6-python.out : OK (SKIP=1)
|
||||||
# /tmp/titotest-centos-6.4-python.out : OK (SKIP=1)
|
# /tmp/titotest-fedora-25-python3.out : OK
|
||||||
# /tmp/titotest-fedora-20-python.out : OK
|
|
||||||
# /tmp/titotest-fedora-20-python3.out : OK
|
|
||||||
#
|
#
|
||||||
# You can then review the output, such as:
|
# You can then review the output, such as:
|
||||||
#
|
#
|
||||||
# $ grep SKIP: /tmp/titotest-*.out
|
# $ grep SKIP: /tmp/titotest-*.out
|
||||||
# /tmp/titotest-centos-5.9-python.out:... SKIP: git-annex is not available in epel-5
|
# /tmp/titotest-centos-6-python.out:... SKIP: git-annex '3.20120522 ' is too old
|
||||||
# /tmp/titotest-centos-6.4-python.out:... SKIP: git-annex '3.20120522 ' is too old
|
|
||||||
#
|
#
|
||||||
# After you run the test harness the first time,
|
# After you run the test harness the first time,
|
||||||
# you can optionally enter a container like so:
|
# you can optionally enter a container like so:
|
||||||
|
@ -59,12 +55,9 @@
|
||||||
# | | .--- tty
|
# | | .--- tty
|
||||||
# | | | .---- mount current workdir into container
|
# | | | .---- mount current workdir into container
|
||||||
# | | | | .---- name of image
|
# | | | | .---- name of image
|
||||||
# | | | | | .-- get a shell
|
# | | | | | .-- get a shell
|
||||||
# | | | | | |
|
# | | | | | |
|
||||||
# docker run --rm -i -t -v $PWD:/home/sandbox titotest-centos-5.9 /bin/bash
|
# docker run --rm -i -t -v $PWD:/home/sandbox titotest-centos-6 /bin/bash
|
||||||
|
|
||||||
# Pip no longer supported here, can't install mock libraries:
|
|
||||||
#titotest-centos-5.9
|
|
||||||
|
|
||||||
readonly default_python2_distros=(
|
readonly default_python2_distros=(
|
||||||
centos-6
|
centos-6
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
# https://index.docker.io/_/centos/
|
|
||||||
FROM centos:5
|
|
||||||
|
|
||||||
# http://jumanjiman.github.io/
|
|
||||||
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
|
||||||
|
|
||||||
# Install dependencies.
|
|
||||||
# It would be nice to use yum-builddep, but
|
|
||||||
# el5 yum-builddep only works against rpm, not spec file.
|
|
||||||
RUN rpm -Uvh http://mirror.es.its.nyu.edu/epel/5/x86_64/epel-release-5-4.noarch.rpm
|
|
||||||
RUN yum -y install git rpm-build \
|
|
||||||
python-devel python-nose python-setuptools python-pep8 \
|
|
||||||
python-pip \
|
|
||||||
docbook-style-xsl \
|
|
||||||
rpmdevtools \
|
|
||||||
libxslt asciidoc tar createrepo which python-bugzilla
|
|
||||||
|
|
||||||
RUN pip-python install mock --upgrade
|
|
||||||
|
|
||||||
# Remove yum metadata.
|
|
||||||
RUN yum clean all
|
|
||||||
|
|
||||||
RUN useradd sandbox
|
|
||||||
|
|
||||||
RUN git config --system user.email "sandbox@example.com"
|
|
||||||
RUN git config --system user.name "sandbox"
|
|
||||||
|
|
||||||
USER sandbox
|
|
||||||
VOLUME ["/home/sandbox"]
|
|
||||||
WORKDIR /home/sandbox
|
|
||||||
|
|
||||||
ENV LANG C
|
|
||||||
CMD ["/bin/bash"]
|
|
|
@ -1 +0,0 @@
|
||||||
../../HACKING
|
|
Loading…
Add table
Reference in a new issue