This repository has been archived by the owner on May 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible: add lxd_transport option (#94)
The "lxd" transport in ansible allows us to provision our containers without SSH, directly through "lxc exec" calls! I had the idea for quite a while that I should explore the possibility of plugging "lxc exec" into ansible, but I didn't know that the plug was already there, ready to be used! Had I known that, I would have used it from the start, it would have saved me SSH fiddling... I've also performed some "drive by" improvements of the affected tests by parametrizing them. I've also converted the modified test in `test_container` so it uses the global re-usable container rather than a new one. It's less elegant, but faster. Our integration tests are soooo slow...
- Loading branch information
Virgil Dupras
committed
Jul 16, 2017
1 parent
9b72e2f
commit 7742b71
Showing
9 changed files
with
110 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
ipython>=5.1.0 | ||
|
||
# Provisioners | ||
ansible>=2.1 | ||
|
||
# Testing | ||
-r requirements-tests.txt | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ansible>=2.3 | ||
codecov>=1.6 | ||
pytest>=3.0 | ||
pytest-cov>=1.8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters