Skip to content

Commit

Permalink
Fix: TEST starts to remove python2 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
naparuba committed Sep 14, 2024
1 parent 151ba9f commit 76a7fa3
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 154 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.16
FROM alpine:3.20
LABEL maintainer="Jean Gabes <[email protected]>"

# THIS DOCKER FILE is USED TO PUSH TO naparuba/alpine-PYTHON3 so tests will be faster, and won't need to recompute all of this every time
# THIS DOCKER FILE is USED TO PUSH TO naparuba/alpine so tests will be faster, and won't need to recompute all of this every time

ADD test/docker-helper/ /
RUN /apk_add bash
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM naparuba/debian-10
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down
14 changes: 0 additions & 14 deletions test/docker-files/docker-file-COMPLIANCE-FILE-RIGHTS-PYTHON3.txt

This file was deleted.

2 changes: 1 addition & 1 deletion test/docker-files/docker-file-COMPLIANCE-FILE-RIGHTS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM naparuba/debian-10
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down
17 changes: 0 additions & 17 deletions test/docker-files/docker-file-COMPLIANCE-GET-URL-PYTHON3.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM naparuba/debian-10
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


RUN /apt_get_install procps


ADD . /root/opsbro-oss
WORKDIR /root/opsbro-oss

Expand Down
18 changes: 0 additions & 18 deletions test/docker-files/docker-file-COMPLIANCE-MULTI-PYTHON3.txt

This file was deleted.

2 changes: 1 addition & 1 deletion test/docker-files/docker-file-COMPLIANCE-MULTI.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM naparuba/debian-10
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM fedora:28
FROM fedora:42
LABEL maintainer="Jean Gabes <[email protected]>"

ADD test/docker-helper/ /
RUN /dnf_install python2
RUN /dnf_install python3

# Need for debug and test
RUN /dnf_install procps
Expand All @@ -13,7 +13,7 @@ ADD . /root/opsbro-oss

WORKDIR /root/opsbro-oss

RUN python setup.py install
RUN python3 setup.py install

# Copy the mail pack into a local one to enable modification
RUN opsbro packs overload global.nginx
Expand Down
17 changes: 0 additions & 17 deletions test/docker-files/docker-file-FEDORA-installation-fedora-34.txt

This file was deleted.

19 changes: 0 additions & 19 deletions test/docker-files/docker-file-FEDORA-installation-fedora-35.txt

This file was deleted.

19 changes: 0 additions & 19 deletions test/docker-files/docker-file-FEDORA-installation-fedora-36.txt

This file was deleted.

20 changes: 0 additions & 20 deletions test/docker-files/docker-file-MODULE-dns-module-debian10.txt

This file was deleted.

4 changes: 1 addition & 3 deletions test/docker-files/docker-file-MODULE-dns-module-debian11.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# By default we are testing the python2 version, and the builder can ask for python3 with "-python3"
ARG MY_PYTHON_VERSION=
FROM naparuba/debian-11$MY_PYTHON_VERSION
FROM naparuba/debian-11
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# By default we are testing the python2 version, and the builder can ask for python3 with "-python3"
ARG MY_PYTHON_VERSION=
FROM naparuba/debian-9$MY_PYTHON_VERSION
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down
13 changes: 0 additions & 13 deletions test/docker-files/docker-file-OTHER-debian10-test-python.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM naparuba/debian-11-python3
FROM naparuba/debian-12
LABEL maintainer="Jean Gabes <[email protected]>"


Expand Down

0 comments on commit 76a7fa3

Please sign in to comment.