Skip to content

Commit

Permalink
Remove trivy scan results in CI pipeline (#44)
Browse files Browse the repository at this point in the history
* Remove trivy scan results in CI
  • Loading branch information
afmam authored Sep 26, 2024
1 parent c4995a3 commit a6160e0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 54 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/pilot-pipeline-admin-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,27 +99,10 @@ jobs:
format: 'table'
severity: 'CRITICAL'
exit-code: '1'
hide-progress: true
trivyignores: .github/.trivyignore
output: scan-results.txt
env:
TRIVY_IGNORE_STATUS: 'will_not_fix'

- name: Publish Trivy Scan Results to Summary
if: always()
run: |
if [[ -s scan-results.txt ]]; then
{
echo "### Trivy Scan Results"
echo "<details><summary>Click to expand</summary>"
echo ""
echo '```arranger-admin-server'
cat scan-results.txt
echo '```'
echo "</details>"
} >> $GITHUB_STEP_SUMMARY
fi
trigger_pilot_dev_deployment:
needs: [build-and-push-admin-server-image, get-version]
runs-on: ubuntu-20.04
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/pilot-pipeline-admin-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,27 +99,10 @@ jobs:
format: 'table'
severity: 'CRITICAL'
exit-code: '1'
hide-progress: true
trivyignores: .github/.trivyignore
output: scan-results.txt
env:
TRIVY_IGNORE_STATUS: 'will_not_fix'

- name: Publish Trivy Scan Results to Summary
if: always()
run: |
if [[ -s scan-results.txt ]]; then
{
echo "### Trivy Scan Results"
echo "<details><summary>Click to expand</summary>"
echo ""
echo '```arranger-admin-ui'
cat scan-results.txt
echo '```'
echo "</details>"
} >> $GITHUB_STEP_SUMMARY
fi
trigger_pilot_dev_deployment:
needs: [build-and-push-admin-ui-image, get-version]
runs-on: ubuntu-20.04
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/pilot-pipeline-server-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,27 +99,10 @@ jobs:
format: 'table'
severity: 'CRITICAL'
exit-code: '1'
hide-progress: true
trivyignores: .github/.trivyignore
output: scan-results.txt
env:
TRIVY_IGNORE_STATUS: 'will_not_fix'

- name: Publish Trivy Scan Results to Summary
if: always()
run: |
if [[ -s scan-results.txt ]]; then
{
echo "### Trivy Scan Results"
echo "<details><summary>Click to expand</summary>"
echo ""
echo '```arranger-server-filter'
cat scan-results.txt
echo '```'
echo "</details>"
} >> $GITHUB_STEP_SUMMARY
fi
trigger_pilot_dev_deployment:
needs: [build-and-push-sever-filter-image, get-version]
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion modules/admin-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arranger/admin-ui",
"version": "1.1.0",
"version": "1.2.0",
"dependencies": {
"@arranger/admin": "^2.19.3",
"@types/node": "^13.13.0",
Expand Down
2 changes: 1 addition & 1 deletion modules/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arranger/admin",
"version": "1.1.0",
"version": "1.2.0",
"description": "Admin API for the Arranger server in graphql",
"engineStrict": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion modules/server-filter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "server-filter",
"version": "1.1.0",
"version": "1.2.0",
"description": "",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit a6160e0

Please sign in to comment.