UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Verified Commit e2e1866d authored by Douglas Lagemann's avatar Douglas Lagemann
Browse files

add npm-lint job to express

parent 461b9c0c
No related branches found
No related tags found
1 merge request!2BULL-3231: Add NPM lint job
services: services:
<<pipelineJobName>>: <<pipelineJobName>>:
image: registry1.dso.mil/ironbank/opensource/trufflehog/trufflehog3:3.0.10 image: registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.11
container_name: <<pipelineJobName>> container_name: <<pipelineJobName>>
entrypoint: ["${BASE_SCRIPTS_DIR}/trufflehog/entrypoint.sh"] entrypoint: ["${BASE_SCRIPTS_DIR}/npm-lint/entrypoint.sh"]
working_dir: /root working_dir: /root
environment: environment:
- REPORTS_DIR=${BASE_REPORTS_DIR}/<<pipelineJobName>> - REPORTS_DIR=${BASE_REPORTS_DIR}/<<pipelineJobName>>
- SCRIPTS_DIR=${BASE_SCRIPTS_DIR}/trufflehog - SCRIPTS_DIR=${BASE_SCRIPTS_DIR}/npm-lint
- SCAN_DIR=/app - SCAN_DIR=/app
- TRUFFLEHOG_EXCLUDE_PATHS=<<exclusions>>
volumes: volumes:
- ./:/root - ./:/root
- ./<<projectName>>-<<subProjectName>>:/app - ./<<projectName>>-<<subProjectName>>:/app
\ No newline at end of file
\ No newline at end of file
...@@ -5,9 +5,8 @@ pipelineJobs: ...@@ -5,9 +5,8 @@ pipelineJobs:
pipelineJobName: trufflehog-api pipelineJobName: trufflehog-api
subProjectName: api subProjectName: api
exclusions: package-lock.json exclusions: package-lock.json
- name: fakeTestJob - name: npm-lint
composeFile: docker/pipeline-jobs/docker-compose-test.yml composeFile: docker/pipeline-jobs/docker-compose-npm-lint.yml
substitutions: substitutions:
pipelineJobName: trufflehog-test pipelineJobName: npm-lint-api
subProjectName: test subProjectName: api
exclusions: testfile.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment