update fedora docker tests

This commit is contained in:
Philippe Teuwen 2023-01-15 21:53:39 +01:00
parent cb8f1a51ad
commit 7e02a64576
19 changed files with 80 additions and 71 deletions

View file

@ -34,7 +34,7 @@ Run `tools/release_tests.sh` on:
- [ ] Debian Testing
- [ ] Ubuntu 22
- [ ] ParrotOS
- [ ] Fedora
- [ ] Fedora 37
- [ ] OpenSuse Leap
- [ ] OpenSuse Tumbleweed
- [ ] OSX (MacPorts)

View file

@ -1,26 +0,0 @@
# Notes on run_tests.sh script
This script does both strip the "recover_pk test" in pm3_tests.sh and then run a
bunch of different builds with make and cmake together with the different combos
of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish.
# Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/fedora-34/run_tests.sh;
```
Or if you want to run single test,
```
sudo yum -y update
make clean; make -j
tools/pm3_tests.sh --long
```
Warning, `recover_pk selftests` will fail on Fedora because they stripped down the available ECC curves in their OpenSSL.
So just comment the "recover_pk test"

View file

@ -1,3 +0,0 @@
#!/bin/bash
docker build -t "pm3-fedora-34:1.0" .

View file

@ -1,4 +0,0 @@
#!/bin/bash
docker image rm pm3-fedora-34:1.0
docker image rm fedora:34

View file

@ -1,26 +0,0 @@
# Notes on run_tests.sh script
This script does both strip the "recover_pk test" in pm3_tests.sh and then run a
bunch of different builds with make and cmake together with the different combos
of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish.
# Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/fedora-35/run_tests.sh;
```
Or if you want to run single test,
```
sudo yum -y update
make clean; make -j
tools/pm3_tests.sh --long
```
Warning, `recover_pk selftests` will fail on Fedora because they stripped down the available ECC curves in their OpenSSL.
So just comment the "recover_pk test"

View file

@ -1,3 +0,0 @@
#!/bin/bash
docker build -t "pm3-fedora-35:1.0" .

View file

@ -1,4 +0,0 @@
#!/bin/bash
docker image rm pm3-fedora-35:1.0
docker image rm fedora:35

View file

@ -1,4 +1,4 @@
FROM fedora:34
FROM fedora:36
ENV LANG C
# qt5-qtbase-devel skipped
@ -8,6 +8,8 @@ RUN yum -y update
RUN yum -y install cmake python-pip
RUN python3 -m pip install ansicolors sslcrypto
RUN yum -y install mesa-libOpenCL ocl-icd-devel
# Create rrg user
RUN useradd -ms /bin/bash rrg
RUN passwd -d rrg

View file

@ -0,0 +1,21 @@
# Notes on run_tests.sh script
This script runs a bunch of different builds with make and cmake together
with the different combos of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish with PASS.
# Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/fedora-36/run_tests.sh;
```
Or if you want to run single test,
```
sudo yum -y update
make clean; make -j
tools/pm3_tests.sh --long
```

View file

@ -0,0 +1,3 @@
#!/bin/bash
docker build -t "pm3-fedora-36:1.0" .

View file

@ -0,0 +1,4 @@
#!/bin/bash
docker image rm pm3-fedora-36:1.0
docker image rm fedora:36

View file

@ -1,3 +1,3 @@
#!/bin/bash
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-34:1.0
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-36:1.0

8
docker/fedora-36/run_tests.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Iceman 2022
#
# This script is to be run from proxmark root folder inside the docker env
# docker/fedora-36/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh

View file

@ -1,4 +1,4 @@
FROM fedora:35
FROM fedora:37
ENV LANG C
# qt5-qtbase-devel skipped
@ -8,6 +8,8 @@ RUN yum -y update
RUN yum -y install cmake python-pip
RUN python3 -m pip install ansicolors sslcrypto
RUN yum -y install mesa-libOpenCL ocl-icd-devel
# Create rrg user
RUN useradd -ms /bin/bash rrg
RUN passwd -d rrg

View file

@ -0,0 +1,20 @@
# Notes on run_tests.sh script
This script runs a bunch of different builds with make and cmake together
with the different combos of RDV4, GENERIC, BTADDON combos.
If all tests OK, the script will finish with PASS.
# Notes to run tests
The script is to be run in proxmark root folder inside the docker env.
```
docker/fedora-37/run_tests.sh;
```
Or if you want to run single test,
```
sudo yum -y update
make clean; make -j
tools/pm3_tests.sh --long
```

View file

@ -0,0 +1,3 @@
#!/bin/bash
docker build -t "pm3-fedora-37:1.0" .

View file

@ -0,0 +1,4 @@
#!/bin/bash
docker image rm pm3-fedora-37:1.0
docker image rm fedora:37

View file

@ -1,3 +1,3 @@
#!/bin/bash
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-35:1.0
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-37:1.0

8
docker/fedora-37/run_tests.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Iceman 2022
#
# This script is to be run from proxmark root folder inside the docker env
# docker/fedora-36/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh