diff --git a/.github/workflows/itest.yml b/.github/workflows/itest.yml index 7d815cf..4f6c35c 100644 --- a/.github/workflows/itest.yml +++ b/.github/workflows/itest.yml @@ -23,4 +23,5 @@ jobs: env FOLDERNAME=devca1 ORGANAME="CSAF Tools Development (internal)" ./TLSConfigsForITest.sh env FOLDERNAME=devca1 ORGANAME="CSAF Tools Development (internal)" ./TLSClientConfigsForITest.sh ./setupProviderForITest.sh + ./testAggregator.sh shell: bash diff --git a/docs/scripts/testAggregator.sh b/docs/scripts/testAggregator.sh new file mode 100755 index 0000000..ecc0a8d --- /dev/null +++ b/docs/scripts/testAggregator.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# This file is Free Software under the MIT License +# without warranty, see README.md and LICENSES/MIT.txt for details. +# +# SPDX-License-Identifier: MIT +# +# SPDX-FileCopyrightText: 2022 German Federal Office for Information Security (BSI) +# Software-Engineering: 2022 Intevation GmbH + +set -e # to exit if a command in the script fails + +# The same directory name used in the config-example file. +sudo mkdir /var/csaf_aggregator +sudo chgrp -R www-data /var/csaf_aggregator +sudo chmod -R g+w /var/csaf_aggregator + +cd ~/csaf_distribution/ +sudo ./bin-linux-amd64/csaf_aggregator -c docs/examples/aggregator.toml