Commit graph

18 commits

Author SHA1 Message Date
Felix Walter
dac4d4b0b8 CI: Bump interop testing images to include Jansson dependency
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-06-05 17:03:39 +02:00
Felix Walter
ed20c501cf test: Update Dockerfiles and introduce jansson dependency
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-06-05 17:03:39 +02:00
Maximilian Nitsch
87c25c3e8a treewide: Bump python>=3.9
As Python 3.8 is end-of-life and the latest python-protobuf package
requires at least Python 3.9, the minimum Python version is set to 3.9.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2025-06-03 17:12:08 +02:00
Maximilian Nitsch
e51d4ab992 test/dockerfiles: Update docker images
- ION:  4.0.1 => 4.1.3
- IONe: 1.0.1 => 1.1.0
- HDTN: 1.0.0 => 1.3.1
- DTN7: 0.19.0-732d1a0 => 0.21.0

For ION-DTN>=4.1.1 the official distribution site has moved to
GitHub[^1].

[^1]: https://github.com/nasa-jpl/ION-DTN
2024-07-24 17:59:10 +02:00
Maximilian Nitsch
57c1fe225c test/functional: Add SQLite storage test
Adds a simple test to the CI to check if the SQLite storage is working
properly.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-06-03 13:41:58 +02:00
Maximilian Nitsch
7b1cbf3331 CI: Add job to test with python version 3.12
Adds an additional job to run the integration tests with the latest
available Python version, currently 3.12.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-12-22 11:26:28 +01:00
Maximilian Nitsch
05d3da8721 CI: Update the docker image to Debian bookworm
Updates the docker base image to Debian bookworm and sets the Python
version to μD3TN minimum required version 3.8.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-12-22 11:22:31 +01:00
Fiona Fuchs
df1133cdb1 Change to downloading DTN7 from GitHub instead of crates.io
This changes the download source of DTN7 from the version on crates.io (version 0.19.0) to the one on the GitHub repository of DTN7 (commit 732d1a0). This was due to a bug on the initial version, that threw an error (InvalidUrlFormat) in an irregular manner. This bug has been fixed with the most recent commit.

Signed-off-by: Fiona Fuchs <fiona.fuchs@d3tn.com>
2023-11-30 10:19:50 +01:00
Fiona Fuchs
3616774d43 Add uD3TN - DTN7-rs interoperability test
This adds
- a Dockerfile, which contains all the necessary dependencies for the interoperability test,
- a bash script, that performs bundle forwarding between uD3TN and DTN7-rs,
- a config file for the bundle forwarding scenarios in the script,
- and a CI job, which runs the uD3TN - DTN7-rs interoperability test.

Signed-off-by: Fiona Fuchs <fiona.fuchs@d3tn.com>
2023-11-28 15:43:04 +01:00
Oleksandr Nazymko
09cc37476b Adjust dockerfile and test script
This adjusts dockerfile for HDTN Interoperability test. Use inotify-tools
to wait for receiving bundle in test script.

Signed-off-by: Oleksandr Nazymko <oleksandr.nazymko@d3tn.com>
2023-08-31 13:41:15 +02:00
Oleksandr Nazymko
ff7e779a48 Add uD3TN - HDTN interoperability test
This adds a Dockerfile which contains HDTN and python dependencies needed for
the interoperability test. Also adds `run_hdtn_test.sh` bash script which
performs minimal bundle forwarding test between uD3TN and HDTN.

Signed-off-by: Oleksandr Nazymko <oleksandr.nazymko@d3tn.com>
2023-08-23 09:41:39 +02:00
Felix Walter
dfef83279c test/dockerfiles, CI: Add valgrind to CI Dockerfile
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-07-14 11:31:09 +02:00
Felix Walter
105f9b6d72 test/dockerfiles: Fix script to build Dockerfiles
There was an argument missing in one of the commands.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-06-08 10:52:13 +02:00
Felix Walter
a861f0a277 CI: Add cppcheck to Docker image
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-06-08 10:47:47 +02:00
Felix Walter
79de95398c CI: Integrate IONe v1.0.1
This adds a Dockerfile plus interoperability tests for the ION
experimental baseline release v1.0.1.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-12 08:21:44 +02:00
Felix Walter
181c94f0a8 CI: Use dedicated Docker image
This prevents installing deps in each run.

Fixes: #16

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-11 16:54:50 +02:00
Felix Walter
0389435a6c CI: Add a Dockerfile for the other CI tests
This adds a Dockerfile containing everything needed in our other tests
(Clang, Python, Python dependencies, Netcat).

See also: #16

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-11 16:54:50 +02:00
Felix Walter
43ae0e59ef test: Add Dockerfiles and scripts for ION interoperability testing
This provides two new Dockerfiles for testing, one just containing ION
and one with an additional Python3 virtual environment for
interoperability testing.

Additionally, two scripts are provided:
* build_docker_images.sh: build images that can be pushed to the
  registry and then used by the CI toolchain
* prepare_for_test.sh: a script to be run inside a newly created Docker
  container based on the provided `ion-interop` image, to build uD3TN
  and add the Python modules from the uD3TN source tree efficiently

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-11 16:40:53 +02:00