UNCLASSIFIED - NO CUI

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

BULL-3257: Add and integrate YAML library

parent 35776657
No related branches found
No related tags found
1 merge request!3BULL-3257: Add and integrate YAML library
Showing
with 118 additions and 31 deletions
......@@ -31,3 +31,10 @@ services:
timeout: 10s
start_period: 10s
retries: 10
volumes:
<<projectName>>-psql: {}
networks:
<<projectName>>-net: {}
\ No newline at end of file
version: "3.6"
services:
<<projectName>>-api:
......
version: "3"
services:
# backend nodejs API
......
version: "3.6"
services:
db:
......
volumes:
<<projectName>>-psql: {}
networks:
<<projectName>>-net: {}
\ No newline at end of file
version: "3.6"
services:
<<projectName>>-ui:
......
services:
<<pipelineJobName>>:
npm-lint<<subProject>>:
image: registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.11
container_name: <<pipelineJobName>>
container_name: npm-lint<<subProject>>
entrypoint: ["${BASE_SCRIPTS_DIR}/npm-lint/entrypoint.sh"]
working_dir: /root
environment:
- REPORTS_DIR=${BASE_REPORTS_DIR}/<<pipelineJobName>>
- REPORTS_DIR=${BASE_REPORTS_DIR}/npm-lint<<subProject>>
- SCRIPTS_DIR=${BASE_SCRIPTS_DIR}/npm-lint
- SCAN_DIR=/app
volumes:
- ./:/root
- ./<<projectName>>-<<subProjectName>>:/app
- ./<<projectName>><<subProject>>:/app
\ No newline at end of file
services:
<<pipelineJobName>>:
trufflehog<<subProject>>:
image: registry1.dso.mil/ironbank/opensource/trufflehog/trufflehog3:3.0.10
container_name: <<pipelineJobName>>
container_name: trufflehog<<subProject>>
entrypoint: ["${BASE_SCRIPTS_DIR}/trufflehog/entrypoint.sh"]
working_dir: /root
environment:
- REPORTS_DIR=${BASE_REPORTS_DIR}/<<pipelineJobName>>
- REPORTS_DIR=${BASE_REPORTS_DIR}/trufflehog<<subProject>>
- SCRIPTS_DIR=${BASE_SCRIPTS_DIR}/trufflehog
- SCAN_DIR=/app
- TRUFFLEHOG_EXCLUDE_PATHS=<<exclusions>>
volumes:
- ./:/root
- ./<<projectName>>-<<subProjectName>>:/app
- ./<<projectName>><<subProject>>:/app
useBaseline: formulas/baselines/node.yml
service:
composeFile: docker/docker-compose-express.yml
pipeline:
substitutions:
subProject: -api
useBaseline: formulas/baselines/universal.yml
service:
composeFile: docker/docker-compose-cosmtrek.yml
pipeline:
substitutions:
subProject: -api
useBaseline: formulas/baselines/universal.yml
pipeline:
substitutions:
exclusions: package-lock.json node_modules
pipelineJobs:
npm-lint:
composeFile: docker/pipeline-jobs/docker-compose-npm-lint.yml
pipeline:
substitutions:
subProject: ''
exclusions: ''
pipelineJobs:
trufflehog:
composeFile: docker/pipeline-jobs/docker-compose-trufflehog.yml
service:
composeFile: docker/docker-compose-postgres.yml
substitutions:
dbNameKey: MYSQL_ROOT_DATABASE # Don't think this is right but I couldn't find other examples in il2_mission_bootstrap
dbUserKey: MYSQL_ROOT_USER # Don't think this is right but I couldn't find other examples in il2_mission_bootstrap
dbPassword: MYSQL_PWD
dbHost: MYSQL_HOST
service:
composeFile: docker/docker-compose-postgres.yml
substitutions:
dbNameKey: PG_DATABASE
dbUserKey: PG_USER
dbPassword: PG_PASSWORD
dbHost: PG_HOST
pipelineJobs:
- name: trufflehog
composeFile: docker/pipeline-jobs/docker-compose-trufflehog.yml
substitutions:
pipelineJobName: trufflehog-api
subProjectName: api
exclusions: package-lock.json node_modules
- name: npm-lint
composeFile: docker/pipeline-jobs/docker-compose-npm-lint.yml
substitutions:
pipelineJobName: npm-lint-api
subProjectName: api
uiTemplates:
- name: "None"
repositoryId: ""
formulaFilePath: ""
- name: "React"
repositoryId: "16612"
formulaFilePath: "formulas/ui/react.yml"
- name: "Vue / Vuetify 3"
repositoryId: "16611"
formulaFilePath: "formulas/ui/vuetify3.yml"
apiTemplates:
- name: "None"
repositoryId: ""
formulaFilePath: ""
- name: "Express / Node"
repositoryId: "16613"
formulaFilePath: "formulas/api/express.yml"
- name: "Golang"
repositoryId: "16614"
formulaFilePath: "formulas/api/golang.yml"
- name: "NewProject DontPickMe"
repositoryId: "16613"
formulaFilePath: "formulas/api/express.yml"
dbTemplates:
- name: "None"
repositoryId: ""
formulaFilePath: ""
- name: "PostgresSQL"
repositoryId: "postgres"
formulaFilePath: "formulas/db/postgres.yml"
- name: "MySQL"
repositoryId: "mysql"
formulaFilePath: "formulas/db/mysql.yml"
useBaseline: formulas/baselines/node.yml
service:
composeFile: docker/docker-compose-vue.yml
pipeline:
substitutions:
subProject: -ui
useBaseline: formulas/baselines/node.yml
service:
composeFile: docker/docker-compose-vue.yml
pipeline:
substitutions:
subProject: -ui
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