Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stages:
- - build
- - test
- - release
- - preprod
- - integration
- - prod
- build:
- stage: build
- script:
- - virtualenv env
- - source env/bin/activate
- - pip install -r requirements.txt
- - python manage.py check
- test:
- stage: test
- script:
- - virtualenv env
- - source env/bin/activate
- - pip install -r requirements.txt
- - python manage.py test taskManager
- oast:
- stage: test
- script:
- - safety check -r requirements.txt --json > oast-results.json
- artifacts:
- paths: [oast-results.json]
- when: always
- allow_failure: true
- oast-frontend:
- stage: test
- script:
- - npm install -g retire
- - retire --outputformat json --outputpath retirejs-report.json --severity high --exitwith 0
- artifacts:
- paths:
- - retirejs-report.json
- expire_in: one week
- allow_failure: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement