1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add aggregator to the integration tests scripts

This commit is contained in:
Fadi Abbud 2022-05-16 10:45:49 +02:00 committed by GitHub
parent 5f42d47770
commit c4deef74eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

19
docs/scripts/testAggregator.sh Executable file
View file

@ -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) <https://www.bsi.bund.de>
# Software-Engineering: 2022 Intevation GmbH <https://intevation.de>
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