Page MenuHomeDevCentral

Install Python Docker library through pip
ClosedPublic

Authored by dereckson on Feb 14 2020, 01:46.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 08:35
Unknown Object (File)
Fri, Nov 8, 07:15
Unknown Object (File)
Sun, Nov 3, 17:05
Unknown Object (File)
Sun, Nov 3, 16:10
Unknown Object (File)
Sat, Oct 26, 22:27
Unknown Object (File)
Sun, Oct 20, 15:44
Unknown Object (File)
Oct 13 2024, 16:15
Unknown Object (File)
Oct 12 2024, 09:14
Subscribers
None

Details

Summary

Salt now uses Python 3, so the 2/3 logic isn't needed anymore.

EPEL 8 doesn't provide a package for this library. As such,
we fallback to an installation through pip.

Ref T1592.

Test Plan

Tested with import docker on Equatower

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
pip-docker-py
Build Status
Buildable 3420
Build 3669: arc lint + arc unit

Event Timeline

dereckson created this revision.
EquaTower
$ salt-call state.sls roles/paas-docker/salt
local:
----------
          ID: required_python_packages_for_docker_and_salt
    Function: pip.installed
        Name: docker
      Result: True
     Comment: Python package docker was already installed
              All specified packages are already installed
     Started: 01:48:53.208144
    Duration: 1711.55 ms
     Changes:

Summary for local
------------
Succeeded: 1
Failed:    0
------------
Total states run:     1
Total run time:   1.712 s
This revision is now accepted and ready to land.Feb 14 2020, 01:49
This revision was automatically updated to reflect the committed changes.