Skip to content

Commit

Permalink
Stop running tests for F27 in favor of F33
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Jan 12, 2021
1 parent 6a216b2 commit d96c9c7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 37 deletions.
3 changes: 1 addition & 2 deletions hacking/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@
readonly default_python2_distros=(
centos-6
centos-7
fedora-27
)

readonly default_python3_distros=(
fedora-27
fedora-33
fedora-rawhide
)

Expand Down
35 changes: 0 additions & 35 deletions hacking/titotest-fedora-27/Dockerfile

This file was deleted.

37 changes: 37 additions & 0 deletions hacking/titotest-fedora-33/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# https://index.docker.io/_/fedora/
FROM fedora:33

MAINTAINER Jakub Kadlcik <frostyx@email.cz>

# Run an update to work around https://bugzilla.redhat.com/show_bug.cgi?id=1409590
# TODO: remove this once the Rawhide base image is updated
RUN dnf -y update
# Install build dependencies including python2 deps for testing.
RUN dnf -y install \
'dnf-command(builddep)' \
git-annex \
python3-devel \
python3-mock \
python3-nose \
python3-blessed \
python3-pycodestyle \
rsync \
createrepo_c

RUN useradd sandbox
RUN git config --system user.email "sandbox@example.com"
RUN git config --system user.name "sandbox"

# NOTE: runtests.sh hard-links tito.spec into this directory on-the-fly
# to work around https://github.com/dotcloud/docker/issues/1676
ADD tito.spec /tmp/tito.spec

RUN dnf -y builddep /tmp/tito.spec
RUN dnf clean all

USER sandbox
VOLUME ["/home/sandbox"]
WORKDIR /home/sandbox

ENV LANG C
CMD ["/bin/bash"]

0 comments on commit d96c9c7

Please sign in to comment.