Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump versions #196

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Bump versions #196

wants to merge 10 commits into from

Conversation

OleMussmann
Copy link

Changes

Code

  • Add section README.md on how to find logs
  • Update packages
  • Fix all models broken through package updates
    • mostly removing deprecated options
  • Pin new packages
    • requirements.*.txt contain pinned packages
    • requirements.*.unversioned.txt contain unversioned packages

Procedure

Changed procedure for package updates

  • Re-build containers with unversioned requirements file
  • Pull newest packages
  • Bump package versions in newsgac/templates/html_dependencies.html, if necessary
  • Pin new packages versions in requirements.*.txt
  • Re-build containers with versioned requirements file
  • Test pipelines
  • Fix broken functionality, if necessary

Findings

Access debug logs

  • Brief model crash logs
    • Mouse-over the Status.FAILURE field on the "Pipelines" page
  • Web console
    • Find the web container with docker ps
    • Read the logs with docker logs newsgacdev_web.[many_numbers] (use tab completion), search for PIN
    • Click on the terminal icon on the right of the crash log on the pipeline details page, paste the PIN
    • You now have a terminal for debugging
  • Full crash logs
    • Find the worker container with docker ps
    • Read the logs with docker logs newsgacdev_worker.[many_numbers] (use tab completion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant