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

18 commits

Author SHA1 Message Date
Sascha L. Teichmann
aa574406cf
Upgrade jsonschema library to 5.2.0 (#349)
* make jsonschema loading work with current versions of the jsonschema library
   again and simplify the code while at it.
* Improve itest workflow for validation service, to make them more robust.
    * Use a github action to setup nodejs and use a version that is
       required by https://github.com/secvisogram/csaf-validator-service/.
    * Add nodejs16 installation to prepareUbuntuInstanceForITests.sh.
       (so it can be done once in manual settings)
    * Add refreshing of apt cache before apt install because sometimes
       the cached ubuntu image does not have the apt cache current.

---------

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-03-10 10:39:23 +01:00
Bernhard Reiter
47d9eccc37 Improve itest github action
* upgrade from v2 to actions/setup-go@v3 to accommodate for
   new github runner updates
2023-02-28 17:40:47 +01:00
tschmidtb51
e4128b89e4 ci: update GitHub actions to use 1.19.1 2022-09-24 18:37:06 +02:00
Sascha L. Teichmann
b359fd0a62
Add CSAF downloader
* Dense and refactor ROLIE code in aggregator a bit.
* Move  advisory file processor to csaf package.
* Fix minor typo on main readme
2022-06-23 14:14:44 +02:00
Bernhard Reiter
7e7947a601
Improve integration test for checker
* Change checking to use client certs and verbose for html
   as this is what can be displayed on a webbrowser.
 * Rename the json result file to indicate why the result will differ
   without using the access of the client certificate.
2022-06-14 11:56:11 +02:00
Bernhard Reiter
d4f68a9b08
Improve integration test for checker
* Modify script to call checker twice with difference options,
   including one with json and --verbose.
 * Add json result as build artifact to be uploaded.
2022-06-14 11:10:52 +02:00
Bernhard E. Reiter
3e79671bb5
Add checker results as GH artifact for integration test
* Rename and upload checker-result.html to GH.
2022-05-17 10:18:50 +02:00
Fadi Abbud
5577a0b088
Add dns config example and add it to integration tests
* Add action for starting integration tests
* Configure nginx to resolve DNS record
* Sync itest.yml and docs/scripts/Readme.md

resolve #100
2022-05-16 15:20:37 +02:00
Fadi Abbud
c4deef74eb
Add aggregator to the integration tests scripts 2022-05-16 10:45:49 +02:00
Bernhard E. Reiter
102a0bb6c1
Improve release process
* Add only uploader and checker binaries and basic documentation to windows dist archive.
  Prepare for specific docs.

* Improve Makefile to be able to use github lightweight git tags for release version calculation.
* Change github action to use the make dist target for asset uploading.
  * Remove matrix strategy and single go release actions.
  * Update go setup action to use latest version.
   * Use action to upload both distribution archives created by make.

* Improve the pattern to leave tagged release version numbers like
   `0.2.2-alpha` alone and only increase version numbers where
   git describe has added a string starting with a number.
2022-05-11 12:46:02 +02:00
Sascha L. Teichmann
8a1ebe0b7a
Add aggregator; improve itest workflow
* Factor JSON evaluation and  construction base URLs out of of checker.
* Move json path matching to util.
* Add csaf_aggregator (as additional command)
* Improve itest workflow to checkout the branch where it is running on.

resolve #105
resolve  #72

Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
Co-authored-by: Fadi Abbud <fadi.abbud@intevation.de>
2022-05-10 18:12:38 +02:00
Fadi Abbud
13cd14738b
Add github action for integration test
* Add sudo to some commands for the github action.
* Change paths to also work within a github action.
2022-04-28 15:06:45 +02:00
Fadi Abbud
3d022bba7b Add itest.yml action
* This file does not contain the complete code. Its added to allow the
    "Actions" to see this action, which  will be changed in another branch.
2022-04-21 16:03:57 +02:00
Fadi Abbud
9bbe3e1eb8
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>
2022-04-08 10:04:34 +02:00
Fadi Abbud
530a02742e
Go binaries for Github releases (#86)
* Add github action to automate publishing Go binaries for Github
releases.
2022-04-06 15:52:04 +02:00
Bernhard Reiter
74523df5f0
Fix go test in workflow 2022-03-08 16:26:04 +01:00
Bernhard E. Reiter
87dd8307a3
Add first simple unit test with workflow (#81)
* Adding first simple unit test

* Add test run to workflow

Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de>
2022-03-08 16:25:17 +01:00
Fadi Abbud
b7e6db462a Add github-actions 2021-11-26 13:18:26 +01:00