~/talk

Can We Deploy Yet?

Talkat Python Web Conf 2021 · 2021-03-22..03-26· [devops-and-delivery, security]
slides:none on file

A concise production checklist with concrete fixes: stop catching BaseException and use raise ... from to preserve root errors; replace print-silenced except blocks with actionable handlers and custom exceptions; switch to structlog JSON logs with bound key/value context and processors so logs are machine-parsable; run CI (example uses GitHub Actions) without continue-on-error—demo shows a hidden failing pytest step when continued; secure Docker by pinning images, avoiding ADD, not running as root and running hadolint Docker linter on CI; add Sphinx/readthedocs docs.

AI-written summary · about

  1. 0:00Start
  2. 1:44What Does Production Mean to You
  3. 2:18Production and Non-Production Environment
  4. 3:23How To Actually Check if Your Code Is Ready for Production
  5. 4:31Exception Handling
  6. 9:13How To Handle Exceptions
  7. 12:01Logging
  8. 16:36Improve the Logging
  9. 18:57Demo
  10. 20:29Define a Custom Log Level
  11. 21:11Json Format
  12. 21:50Questions
  13. 24:57Effective Ci Cd Pipelines Continuous Integration
  14. 28:19Set Up a New Workflow
  15. 28:44Documentation Coverage
  16. 29:30Fail on Error
  17. 30:59Docker Images and How To Secure
  18. 33:09Which User Are You Using for Your Production Docker Images
  19. 34:41Check the Authenticity of the Image
  20. 38:41How To Start with Python
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.