-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: improve QA with cram based tests
Currently we've broken master container but we're not aware about it as current tests are very lame, so lets improve it a bit with some more reliable, extensible solution. Signed-off-by: Petr Štetiar <[email protected]>
- Loading branch information
Showing
5 changed files
with
22 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,5 @@ phase[12]/twistd.* | |
!.github/**/* | ||
!requirements-dev.txt | ||
!.ruff.toml | ||
!tests | ||
!tests/**/* |
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,2 +1,3 @@ | ||
cram==0.7 | ||
black==23.3.0 | ||
ruff==0.0.267 |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Check that logs have expected content after container startup: | ||
|
||
$ docker logs test-master | ||
updating existing installation | ||
creating /master/master.cfg.sample | ||
creating database (sqlite:///state.sqlite) | ||
buildmaster configured in /master |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Check that logs have expected content after container startup: | ||
|
||
$ docker logs test-worker | ||
updating existing installation | ||
mkdir /builder/info | ||
Creating info/admin, you need to edit it appropriately. | ||
Creating info/host, you need to edit it appropriately. | ||
Not creating info/access_uri - add it if you wish | ||
Please edit the files in /builder/info appropriately. | ||
worker configured in /builder |