Page MenuHomeDevCentral

Fix docker_containers app_port/host test
Needs ReviewPublic

Authored by dereckson on Thu, Sep 11, 22:58.

Details

Summary

Instead of reading the pillar from paas/docker.sls,
with Salt Tower, we need to read every .sls files
in pillar/paas/docker/.

The new structure contains directly the services,
so we skip the "by node" step when reading the dictionary.

This is a follow-up for bbc48f9eb26d.

Ref T2123

Test Plan

(cd _tests && python3 -m unittest pillar/paas/test_docker.py)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
tests-pillar-docker
Build Status
Buildable 5863
Build 6145: arc lint + arc unit

Event Timeline

dereckson created this revision.