From fb3150f9a777e3f82d5004ecdc91781544fd6c73 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Fri, 13 Sep 2019 20:38:05 -0400 Subject: [PATCH] updated cicd auto-reporting to have links to job and pipeline --- cicd_testing/afl.yaml | 2 +- cicd_testing/do-fuzz.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cicd_testing/afl.yaml b/cicd_testing/afl.yaml index 00de7c4..5a5a0e7 100644 --- a/cicd_testing/afl.yaml +++ b/cicd_testing/afl.yaml @@ -1,5 +1,5 @@ name: 'baseline afl config' -fuzzing-time: '30 minutes' +fuzzing-time: '2 minutes' input-timeout: '30 seconds' memory-limit: '50 MB' num-cores: 2 diff --git a/cicd_testing/do-fuzz.sh b/cicd_testing/do-fuzz.sh index 1c72e74..859cae4 100755 --- a/cicd_testing/do-fuzz.sh +++ b/cicd_testing/do-fuzz.sh @@ -61,13 +61,16 @@ Machine details: $mach Full crash report is available here: $md +[See job details](https://git.zephyr-software.com/opensrc/libehp/-/jobs/$CI_JOB_ID) +[See pipeline details](https://git.zephyr-software.com/opensrc/libehp/pipelines/$CI_PIPELINE_ID) + EOM set -e local title="Turbo found $crash_count bugs in libEHP on $date" # finally post an issue - curl --request POST --data-urlencode "desc=$desc" --data-urlencode "title=$title" --header "PRIVATE-TOKEN: PXLgVFpgjmmugAiHTJzx " "https://git.zephyr-software.com//api/v4/projects/$proj_id/issues?&labels=bug&assignee_ids[]=3" + curl --request POST --data-urlencode "description=$desc" --data-urlencode "title=$title" --header "PRIVATE-TOKEN: PXLgVFpgjmmugAiHTJzx " "https://git.zephyr-software.com//api/v4/projects/$proj_id/issues?&labels=bug,turbo&assignee_ids[]=3" echo "$crash_count count crashes found!" exit 1 -- GitLab