IntelMQ 3.2.1. Improvmenets to test.sh

This commit is contained in:
Kamil Mankowski
2023-08-29 12:01:12 +02:00
parent 2438c10d89
commit 336b93e68c
3 changed files with 10 additions and 2 deletions

Submodule intelmq updated: 3a32cbe062...633cf7b4d4

View File

@@ -1,5 +1,5 @@
#!/bin/bash
build_version="3.2.0"
build_version="3.2.1"
namespace="certat"
docker login

View File

@@ -43,3 +43,11 @@ docker run --rm -v $(pwd)/example_config/intelmq/etc/:/etc/intelmq/etc/ \
echo Removing AMQP container
docker container kill $amq_id
# restore broke priviliges
for mounted_dir in example_config intelmq_logs intelmq_output intelmq_persistence;
do
echo "Restoring broken privelages to `whoami` for directory $mounted_dir"
sudo chown -R `whoami`:`whoami` $(pwd)/$mounted_dir
done