Closed GilbN closed 4 months ago
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-ci:d43cab19-pkg-d43cab19-dev-792527a8824809a6931fc1c608452677b7921ca8-pr-35
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-ci:d43cab19-pkg-d43cab19-dev-809343661ba1a319d47961b34e5e2a284b8423a3-pr-35
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-ci:d3aeef46-pkg-d3aeef46-dev-efbea9038858ccf0e349e3bd870beca7993b7615-pr-35
General thoughts:
CI_DELAY
set in all the repos' jenkins-vars.yml
, which currently translates to DELAY_START
but it will be deprecated and not used in this PR. We could potentially use the existing value for one of the new vars (perhaps DOCKER_LOGS_TIMEOUT
) in the jenkins-builder
- We currently have
CI_DELAY
set in all the repos'jenkins-vars.yml
, which currently translates toDELAY_START
but it will be deprecated and not used in this PR. We could potentially use the existing value for one of the new vars (perhapsDOCKER_LOGS_TIMEOUT
) in the jenkins-builder
So something like this?
self.logs_timeout: int = os.environ.get("DOCKER_LOGS_TIMEOUT", os.environ.get("DOCKER_LOGS_DELAY", os.environ.get("DELAY_START ","900")))
DOCKER_LOGS_TIMEOUT
-> DOCKER_LOGS_DELAY
-> DELAY_START
-> 900
I actually did it on the jenkins-builder side so no changes necessary here: https://github.com/linuxserver/docker-jenkins-builder/pull/255/files#diff-80cf75bfcd603f93321535f40851571b49b190e57b737f22e8a31a9334e74526R1000-R1004
If CI_DOCKER_LOGS_TIMEOUT
is set in the project's jenkins-vars.yml
, it will use that to set DOCKER_LOGS_TIMEOUT
in ci tests. If that's not set, but CI_DELAY
exists, it will set DOCKER_LOGS_TIMEOUT
to CI_DELAY
value in ci tests.
It will provide some backwards compatibility while we update the project repos over time.
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-ci:d3aeef46-pkg-d3aeef46-dev-77fffdfd60c02993a35d0af86cdb318a5a2a272a-pr-35
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-ci:d3aeef46-pkg-d3aeef46-dev-24b729cd82601158dec2ee97179bc67effb85a5a-pr-35
Added
Added dynamic timeout on the screenshot test.
New env variables:
WEB_SCREENSHOT_TIMEOUT
: ReplacesWEB_SCREENSHOT_DELAY
. default 120s.WEB_SCREENSHOT_DELAY
: Time in seconds to delay before taking a screenshot after loading the web page. Default 10sDOCKER_LOGS_TIMEOUT
: ReplacesDOCKER_LOGS_DELAY
. default 120.Added validation of the numeric class attributes.
Added possibility to add volumes or privilege for future. Currently not in use.
Added new log level
success
. Logs with green text.Added logging of env data
Changed
Deprecated
Tests
Lidarr: https://gilbnlsio2.s3.us-east-1.amazonaws.com/linuxserver/lidarr/PR-70/index.html
Healthchecks: https://gilbnlsio2.s3.us-east-1.amazonaws.com/linuxserver/healthchecks/PR-99/index.html
For local testing run: