mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Add scripts for integration test setup and docs generation
* Add an OpenPGP test keypair. * Move script parts of documentation into script, so they can be used on a fresh Ubuntu 20.04 system for within a github action to setup a csaf_provider and upload documents to it for an integration test. * Use dineshsonachalam/markdown-autodocs in github action to automatically insert lines from the scripts into the docs. Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
This commit is contained in:
parent
f0359d982d
commit
9bbe3e1eb8
19 changed files with 637 additions and 69 deletions
13
docs/scripts/prepareUbuntuInstanceForITests.sh
Executable file
13
docs/scripts/prepareUbuntuInstanceForITests.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# This script prepares a naked Ubuntu 20.04 LTS amd64
|
||||
# for the csaf_distribution integration tests
|
||||
# by installing the required packages.
|
||||
|
||||
|
||||
apt install -y make git nginx fcgiwrap gnutls-bin
|
||||
|
||||
# Install Go from binary distribution
|
||||
curl -O https://storage.googleapis.com/golang/go1.18.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue