Advertisement
Guest User

Untitled

a guest
Jun 11th, 2020
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. stages:
  2. - build
  3. - test
  4. - release
  5. - preprod
  6. - integration
  7. - prod
  8.  
  9. build:
  10. stage: build
  11. script:
  12. - virtualenv env
  13. - source env/bin/activate
  14. - pip install -r requirements.txt
  15. - python manage.py check
  16.  
  17. test:
  18. stage: test
  19. script:
  20. - virtualenv env
  21. - source env/bin/activate
  22. - pip install -r requirements.txt
  23. - python manage.py test taskManager
  24.  
  25. oast:
  26. stage: test
  27. script:
  28. - safety check -r requirements.txt --json > oast-results.json
  29. artifacts:
  30. paths: [oast-results.json]
  31. when: always
  32. allow_failure: true
  33.  
  34. oast-frontend:
  35. stage: test
  36. script:
  37. - npm install -g retire
  38. - retire --outputformat json --outputpath retirejs-report.json --severity high --exitwith 0
  39. artifacts:
  40. paths:
  41. - retirejs-report.json
  42. expire_in: one week
  43. allow_failure: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement