Advertisement
PandaAcademy

Artifactory build and push script

Oct 5th, 2023 (edited)
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. export PIP_BREAK_SYSTEM_PACKAGES=1
  2. pip3 install -r requirements.txt
  3. python3 -m pytest --cov=. --cov-report xml:test-results/coverage.xml --junitxml=test-results/pytest-report.xml
  4.  
  5. docker build . -t 192.168.44.44:8082/docker_registry/frontend
  6.  
  7. docker login 192.168.44.44:8082/docker_registry/ -u $ARTIFACTORY_USER -p $ARTIFACTORY_PASSWORD
  8. docker push 192.168.44.44:8082/docker_registry/frontend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement