|
|
Subscribe / Log in / New account

Remote imports for Python?

Remote imports for Python?

Posted Sep 1, 2017 10:07 UTC (Fri) by amarao (guest, #87073)
In reply to: Remote imports for Python? by drag
Parent article: Remote imports for Python?

There is a huge difference between 'direct from http' and apt-get (yum) install.

1. when we compile anything from external git we clone it into our git.
2. Normally all code comes with tests and those tests are executed at build time (at CI)
3. Packages are artifacts, they are stored and used every time in pristine manner to rebuild working environment on each run.

If you replace whole build->publish->install cycle, you will have flaky production. What if there was a hiccup in the connectivity during installation? What if author pushed new version between deploying two servers with same dependencies (but their subdependencies unpinned?).

Best practice for DevOps:

1. Everything can be rebuild and deployed automatically.
2. And we have it sources.
3. On our premises
4. Even build system and jobs can be rebuild from git.
5. Every deploy can be repeated in precise manner.
6. Everythin committed is covered by tests.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds