Skip to content

Commit

Permalink
adding .snyk file and fixing build failures (#997)
Browse files Browse the repository at this point in the history
## 🎫 Ticket

https://jira.cms.gov/browse/BCDA-8306

## 🛠 Changes

Fix Jenkins build script

## ℹ️ Context

Removal of documentation required removing the check for Jenkins build
  • Loading branch information
bhagatparwinder authored Oct 8, 2024
1 parent 9423f24 commit 1ed238e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.25.0
ignore:
SNYK-GOLANG-GOGSIOGOGS-6097269:
- '*':
reason: Open Go Vulnerability
12 changes: 0 additions & 12 deletions ops/build_and_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ fi
[ -z "$BCDA_GPG_RPM_PASSPHRASE" ] && echo "Please select the Passphrase to sign the RPMs" && exit 1 || echo "GPG Passphrase provided"
[ -z "$GPG_RPM_EMAIL" ] && echo "Please enter the email for the GPG Key Signature" && exit 1 || echo "GPG Key Email provided"

if [ ! -f ../bcda/swaggerui/swagger.json ]
then
echo "Swagger doc generation must be completed prior to creating package."
exit 1
fi

if [ ! -f ../bcda/swaggerui/openapi.json ]
then
echo "OpenAPI doc generation must be completed prior to creating package."
exit 1
fi

#TODO: This file should live in worker S3 mount dir. Perhaps remove this.
if [ ! -f ../bcda/models/fhir/alr/utils/hcc_crosswalk.tsv ]
then
Expand Down

0 comments on commit 1ed238e

Please sign in to comment.