Browse Source

test: Keep test dependencies in mender-convert.

Intuitively it might make sense to keep them in mender-image-tests,
but this has problems when trying to test updates to the file, so we
resort to duplicating it instead.

Ticket: QA-464

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
create-pull-request/patch
Kristian Amlie 2 years ago
parent
commit
e3a229125a
No known key found for this signature in database GPG Key ID: F464407C996AF03F
  1. 7
      .github/dependabot.yml
  2. 2
      .gitlab-ci.yml
  3. 28
      tests/requirements_py3.txt

7
.github/dependabot.yml

@ -1,5 +1,12 @@
version: 2 version: 2
updates: updates:
- commit-message:
prefix: chore
directory: /tests
package-ecosystem: pip
schedule:
interval: monthly
day: saturday
- commit-message: - commit-message:
prefix: chore prefix: chore
directory: / directory: /

2
.gitlab-ci.yml

@ -173,7 +173,7 @@ convert_raspbian_raspberrypi4:
awscli unzip qemu-system-x86 ovmf curl docker.io s3cmd fdisk gnupg-agent awscli unzip qemu-system-x86 ovmf curl docker.io s3cmd fdisk gnupg-agent
# Python3 dependencies # Python3 dependencies
- python3 -m pip install -U pip - python3 -m pip install -U pip
- pip3 install --ignore-installed -r https://raw.githubusercontent.com/mendersoftware/meta-mender/master/tests/acceptance/requirements_py3.txt - pip3 install --ignore-installed -r tests/requirements_py3.txt
# Load image under test # Load image under test
- export IMAGE_NAME=$DOCKER_REPOSITORY:pr - export IMAGE_NAME=$DOCKER_REPOSITORY:pr
- docker load -i image.tar - docker load -i image.tar

28
tests/requirements_py3.txt

@ -0,0 +1,28 @@
attrs==22.1.0
bcrypt==4.0.0
certifi==2022.9.24
cffi==1.15.1
chardet==5.0.0
cryptography==38.0.1
filelock==3.8.0
idna==3.4
iniconfig==1.1.1
invoke==1.6.0
packaging==21.3
pathlib2==2.3.7.post1
pluggy==1.0.0
psutil==5.9.2
py==1.11.0
pycparser==2.21
PyNaCl==1.5.0
pyparsing==3.0.9
pytest==7.1.3
pytest-html==3.1.1
pytest-metadata==2.0.2
python-lzo==1.14
PyYAML==6.0
requests==2.28.1
six==1.16.0
toml==0.10.2
ubi-reader==0.8.2
urllib3==1.26.12
Loading…
Cancel
Save