155 Commits

Author SHA1 Message Date
thespad
2fc439eab9
Pin syft to 1.26.1 due to permissions changes 2025-06-09 22:20:10 +01:00
aptalca
efeece61de
add riscv64 support 2025-05-02 10:27:10 -04:00
GilbN
0f11971018
Fix/add lsiobase (#59)
* Forgot to add baseimage as alternative.

* update tests for lsiobase
2024-10-07 19:03:07 +02:00
GilbN
d07596774e Truncate long text in the build info section 2024-09-23 19:32:25 +02:00
GilbN
dfcf34a150 Fix link name.
Add More information to build info section in the report. Center and split the top report headers
2024-09-22 12:50:27 +02:00
GilbN
e1575730d9 Set correct build url based on if its a dev of pr image.
Add test for build_url function.
2024-09-18 21:28:35 +02:00
GilbN
37488e9e4f Add release tag env and use it for uploads. 2024-09-03 19:49:30 +02:00
GilbN
9f802777fc If amd64 tag fails creenshot test, mark CI run a "FAIL". 2024-08-27 19:04:53 +02:00
GilbN
f43598e8cc Fixes small screenshots on noble. 2024-08-26 19:15:53 +02:00
Marius
6553ed5d48 Add builder info to html report
Add some basic tests of the CI methods.
Add test workflow
2024-08-24 15:56:46 +02:00
GilbN
eb696184ad Prep logger.py for python 3.12 2024-08-19 20:56:00 +02:00
GilbN
83fc82d134 - Run generate_sbom and watch_container_logs concurrently so runtime data is more correct. (Fixes watch_container_logs runtime = 0.1s etc, as init was already done while sbom step was running)
- Always run get_build_info
- Use correct sbom data if build_info["version"] = ERROR
- Add ghcr.io link for each tag.
- Overwrite badge if it exists.
2024-06-11 16:50:56 +02:00
GilbN
4640609d1f Remove comments 2024-06-11 12:42:39 +02:00
GilbN
e2e78ba92e Add timestamps to container logs 2024-06-11 11:28:48 +02:00
GilbN
b3a38b2d4a Fixes default sbom timeout value typo. 2024-06-06 14:44:37 +02:00
GilbN
c48f1e72dc Run sbom test before init test so we get any uwsgi warnings in the report. Fixes #41 2024-06-02 20:30:40 +02:00
GilbN
4b9b14d2cd Add runtime info to report. #39 2024-06-02 17:18:17 +02:00
GilbN
9831b910d2 Make sure the numeric values are set even if they are set to empty strings in the environment.
Fixes #38
2024-06-02 13:00:47 +02:00
GilbN
dbcadd0bba Don't alter a shared attribute. Fixes #37 2024-06-02 12:52:25 +02:00
Roxedus
c82eab03ca
Ignored self-signed certificates on response check 2024-05-21 15:44:46 +02:00
Marius
1f1bd94d9e Use WEB_SCREENSHOT_DELAY instead of SCREENSHOT_DELAY as it was never used anywhere. 2024-05-09 00:50:25 +02:00
Marius
587638fbc8 Set DOCKER_LOGS_TIMEOUT to 120 default.
Remove deprecation warnings on unused envs.
2024-05-09 00:26:38 +02:00
Marius
6afa2060c0 Fix indentation 2024-05-05 15:33:28 +02:00
GilbN
792527a882 Bump default SCREENSHOT_DELAY to 10s 2024-05-04 23:59:08 +02:00
Marius
441424ca72 Validate numeric envs
Add SCREENSHOT_DELAY env.
Add a response check on the endpoint before loading the page with selenium
Move some of the code out of the take_screenshot while loop
2024-05-04 19:22:24 +02:00
Marius
05fad6b33d Add docker engine info
Fix some typos/logging
2024-05-04 16:19:14 +02:00
Marius
1ae0257977 If ACCESS_KEY or SECRET_KEY set to a default value 2024-05-04 16:14:56 +02:00
Marius
de90faa653 More logging 2024-05-04 11:58:28 +02:00
GilbN
bb91f12ed5 Update readme
Fix typos
Add new success log level
Fix take_screenshot while loop
Use new loglevel when test passes.
2024-05-04 11:41:02 +02:00
Marius
d015715499 Add dynamic timeout to take_screenshot test.
Add multiple helper methods
Add env logging
Depricate env and replace with new
Add volume method for future.
Add privilege env for future.
2024-05-01 22:40:15 +02:00
aptalca
3330d48b19
increase logs delay to 900s from 300s 2024-02-20 09:30:22 -05:00
GilbN
258b90c31a Use the latest tag on the syft container. 2023-05-31 21:00:20 +02:00
GilbN
234dc6ec66 Add get_build_info method
Replace single quotes with double
Add meta tags to the template
2023-05-29 21:38:29 +02:00
GilbN
116308431a Add a deprecated decorator :)
Use the chrome driver directly instead of
the tester container.
2023-04-18 19:55:44 +02:00
GilbN
e7d2c3c56c Add more typehints and better docstrings 2023-04-15 16:20:31 +02:00
GilbN
e8de5edbac Add back the log expand section 2023-04-14 00:35:42 +02:00
GilbN
96dab1a5f6 Add a testing decorator for dry runs
Move creation of s3 client to a method
2023-04-10 23:37:24 +02:00
GilbN
17ce41cc0d Add ansi colors to python logs 2023-04-10 23:36:19 +02:00
Marius
2255a6739d Use Ansi2HTMLConverter on the python logs 2023-04-07 23:54:38 +02:00
Marius
bfeceee4d1 Add get_platform method
mount docker.sock to syft container
Fix SBOM tag_report_tests status if VERSION is not found.
2023-04-07 22:39:28 +02:00
Marius
032fd723af - Add new option env: DOCKER_LOGS_DELAY
- Replace the old package dump with SBOM output.
- Move all created files to be in /ci/output
- Update template for the new sbom output.
2023-03-19 20:23:59 +01:00
Marius
7e5b967944 Place the ci.log file in the output folder 2023-03-19 20:13:28 +01:00
Marius
52c643af5b CI:
- Splits up container_test() into multiple
methods for readabilty.
- Made the some of the test methods more failure proof.
- Made sure autoescape is enabled when rendering the template.
- Correct exception logging.
- Readded the logblob object to the report_containers dictionary.
(For the report.json file)
Logger:
- Muted urllib3 when DEBUG is true
Template:
- Fixed table styling
- Added a Pass/Fail header for each tag section
- Disabled anchor href when using the 404 image
2023-03-18 17:44:34 +01:00
hydazz
07b94dd839 add arrow, remove underline 2023-01-30 18:40:27 +11:00
hydazz
3cf1f76fb2 commit 2023-01-30 18:13:28 +11:00
gilbn
6ca76d5cc2 Pull latest tester image, add .summary hover color 2022-10-26 22:37:33 +02:00
gilbn
5f83947418 add margin to summary container 2022-10-25 21:12:10 +02:00
gilbn
8dcdb62ab5 Rework the report summary sections. Adds new "has_warnings" key to json file 2022-10-25 20:53:46 +02:00
gilbn
24d4a424d6 Add option for multiple warning texts 2022-10-24 20:14:59 +02:00
aptalca
e47225f671 update tester repo, prepare for tester update to jammy 2022-10-14 10:38:02 -04:00