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:
parent
5f42d47770
commit
c4deef74eb
2 changed files with 20 additions and 0 deletions
19
docs/scripts/testAggregator.sh
Executable file
19
docs/scripts/testAggregator.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue