@@ -30,15 +30,15 @@ blocks:
30
30
commands :
31
31
- test-results publish --no-compress priv/parsers/$PARSER/in.xml -p $PARSER
32
32
- artifact pull job test-results/junit.json -d /tmp/junit.json
33
- - cat <<< $(jq 'walk(if type == "object" then del(.type, .semaphoreEnv) else . end)' --sort-keys . priv/parsers/$PARSER/out.json) > priv/parsers/$PARSER/out.json
34
- - cat <<< $(jq 'walk(if type == "object" then del(.type, .semaphoreEnv) else . end)' --sort-keys . /tmp/junit.json) > /tmp/junit.json
33
+ - ' cat <<< $(jq '' walk(if type == "object" then del(.type, .semaphoreEnv) else . end)'' --sort-keys . priv/parsers/$PARSER/out.json) > priv/parsers/$PARSER/out.json'
34
+ - ' cat <<< $(jq '' walk(if type == "object" then del(.type, .semaphoreEnv) else . end)'' --sort-keys . /tmp/junit.json) > /tmp/junit.json'
35
35
- diff priv/parsers/$PARSER/out.json /tmp/junit.json
36
36
- name : Merging - directory as input
37
37
commands :
38
38
- test-results publish --no-compress priv/merging
39
39
- artifact pull job test-results/junit.json -d /tmp/junit.json
40
- - cat <<< $(jq 'walk(if type == "object" then del(.type, .semaphoreEnv) else . end)' --sort-keys . priv/merging/out.json) > priv/merging/out.json
41
- - cat <<< $(jq 'walk(if type == "object" then del(.type, .semaphoreEnv) else . end)' --sort-keys . /tmp/junit.json) > /tmp/junit.json
40
+ - ' cat <<< $(jq '' walk(if type == "object" then del(.type, .semaphoreEnv) else . end)'' --sort-keys . priv/merging/out.json) > priv/merging/out.json'
41
+ - ' cat <<< $(jq '' walk(if type == "object" then del(.type, .semaphoreEnv) else . end)'' --sort-keys . /tmp/junit.json) > /tmp/junit.json'
42
42
- diff priv/merging/out.json /tmp/junit.json
43
43
- name : Integration tests - generate pipeline report
44
44
dependencies :
@@ -47,18 +47,45 @@ blocks:
47
47
jobs :
48
48
- name : generate pipeline report
49
49
commands :
50
+ - test-results resource-metrics REPORT.md
50
51
- test-results gen-pipeline-report --no-compress
51
52
- name : Integration tests - workflow level
52
53
dependencies :
53
54
- Integration tests - generate pipeline report
55
+ - Integration tests- generate pipeline report Ubuntu 22.04
56
+ - Integration tests- generate pipeline report Ubuntu 24.04
54
57
task :
55
58
jobs :
56
59
- name : Generate pipeline summary
57
60
commands :
58
- - " artifact pull workflow test-results/${SEMAPHORE_PIPELINE_ID}-summary.json -d /tmp/summary.json"
61
+ - ' artifact pull workflow test-results/${SEMAPHORE_PIPELINE_ID}-summary.json -d /tmp/summary.json'
59
62
- cat <<< $(jq --sort-keys . priv/workflow/summary-out.json) > priv/workflow/summary-out.json
60
63
- cat <<< $(jq --sort-keys . /tmp/summary.json) > /tmp/summary.json
61
64
- diff /tmp/summary.json priv/workflow/summary-out.json
65
+ - name : Integration tests- generate pipeline report Ubuntu 24.04
66
+ dependencies :
67
+ - Integration tests
68
+ task :
69
+ agent :
70
+ machine :
71
+ type : f1-standard-2
72
+ os_image : ubuntu2404
73
+ jobs :
74
+ - name : generate pipeline report
75
+ commands :
76
+ - test-results resource-metrics REPORT.md
77
+ - name : Integration tests- generate pipeline report Ubuntu 22.04
78
+ dependencies :
79
+ - Integration tests
80
+ task :
81
+ agent :
82
+ machine :
83
+ type : f1-standard-2
84
+ os_image : ubuntu2204
85
+ jobs :
86
+ - name : generate pipeline report
87
+ commands :
88
+ - test-results resource-metrics REPORT.md
62
89
promotions :
63
90
- name : Release
64
91
pipeline_file : goreleaser.yml
0 commit comments