mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
* 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>
13 lines
379 B
Bash
Executable file
13 lines
379 B
Bash
Executable file
#!/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
|