Skip to content

Commit a6160e0

Browse files
authored
Remove trivy scan results in CI pipeline (#44)
* Remove trivy scan results in CI
1 parent c4995a3 commit a6160e0

File tree

6 files changed

+3
-54
lines changed

6 files changed

+3
-54
lines changed

.github/workflows/pilot-pipeline-admin-server.yml

-17
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,10 @@ jobs:
9999
format: 'table'
100100
severity: 'CRITICAL'
101101
exit-code: '1'
102-
hide-progress: true
103102
trivyignores: .github/.trivyignore
104-
output: scan-results.txt
105103
env:
106104
TRIVY_IGNORE_STATUS: 'will_not_fix'
107105

108-
- name: Publish Trivy Scan Results to Summary
109-
if: always()
110-
run: |
111-
if [[ -s scan-results.txt ]]; then
112-
{
113-
echo "### Trivy Scan Results"
114-
echo "<details><summary>Click to expand</summary>"
115-
echo ""
116-
echo '```arranger-admin-server'
117-
cat scan-results.txt
118-
echo '```'
119-
echo "</details>"
120-
} >> $GITHUB_STEP_SUMMARY
121-
fi
122-
123106
trigger_pilot_dev_deployment:
124107
needs: [build-and-push-admin-server-image, get-version]
125108
runs-on: ubuntu-20.04

.github/workflows/pilot-pipeline-admin-ui.yml

-17
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,10 @@ jobs:
9999
format: 'table'
100100
severity: 'CRITICAL'
101101
exit-code: '1'
102-
hide-progress: true
103102
trivyignores: .github/.trivyignore
104-
output: scan-results.txt
105103
env:
106104
TRIVY_IGNORE_STATUS: 'will_not_fix'
107105

108-
- name: Publish Trivy Scan Results to Summary
109-
if: always()
110-
run: |
111-
if [[ -s scan-results.txt ]]; then
112-
{
113-
echo "### Trivy Scan Results"
114-
echo "<details><summary>Click to expand</summary>"
115-
echo ""
116-
echo '```arranger-admin-ui'
117-
cat scan-results.txt
118-
echo '```'
119-
echo "</details>"
120-
} >> $GITHUB_STEP_SUMMARY
121-
fi
122-
123106
trigger_pilot_dev_deployment:
124107
needs: [build-and-push-admin-ui-image, get-version]
125108
runs-on: ubuntu-20.04

.github/workflows/pilot-pipeline-server-filter.yml

-17
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,10 @@ jobs:
9999
format: 'table'
100100
severity: 'CRITICAL'
101101
exit-code: '1'
102-
hide-progress: true
103102
trivyignores: .github/.trivyignore
104-
output: scan-results.txt
105103
env:
106104
TRIVY_IGNORE_STATUS: 'will_not_fix'
107105

108-
- name: Publish Trivy Scan Results to Summary
109-
if: always()
110-
run: |
111-
if [[ -s scan-results.txt ]]; then
112-
{
113-
echo "### Trivy Scan Results"
114-
echo "<details><summary>Click to expand</summary>"
115-
echo ""
116-
echo '```arranger-server-filter'
117-
cat scan-results.txt
118-
echo '```'
119-
echo "</details>"
120-
} >> $GITHUB_STEP_SUMMARY
121-
fi
122-
123106
trigger_pilot_dev_deployment:
124107
needs: [build-and-push-sever-filter-image, get-version]
125108
runs-on: ubuntu-20.04

modules/admin-ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arranger/admin-ui",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"dependencies": {
55
"@arranger/admin": "^2.19.3",
66
"@types/node": "^13.13.0",

modules/admin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arranger/admin",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Admin API for the Arranger server in graphql",
55
"engineStrict": true,
66
"type": "module",

modules/server-filter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "server-filter",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)