Commit Graph

175 Commits

Author SHA1 Message Date
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
Sergei Zharinov 228e3b6c6e refactor(terraform): Rename cache namespace for TerraformProviderHash class (#30883) 2024-08-19 12:42:19 +00:00
Sergei Zharinov 2fb7be44fc refactor: Use separate cache namespace for GithubReleaseAttachmentsDatasource class (#30867) 2024-08-19 05:47:06 +00:00
Sergei Zharinov 4354d2b57a refactor(jenkins): Rename cache namespace (#30868) 2024-08-19 05:45:50 +00:00
Sebastian Poxhofer f042ae4c9a feat(cache): add a mutex utility and prevent parallel processing with the same cache key (#30815)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-16 17:14:48 +00:00
renovate[bot] eb8c08079e chore(deps): update typescript-eslint monorepo to v8 (major) (#30750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-14 10:33:02 +00:00
Sebastian Poxhofer 4c15038aaa feat(datasources): add bitrise datasource (#30138)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-07-25 17:51:00 +00:00
Sergei Zharinov 8fc2a7bdb2 feat: Add cachePrivatePackages global config option (#30045) 2024-07-04 19:57:26 +00:00
Rhys Arkins 966e7a0a5e chore: improve redis logging (#29883) 2024-06-27 07:46:54 +00:00
Jakob Steiner bbde8073e8 feat(datasource): add glasskube packages datasource (#29430)
Signed-off-by: Jakob Steiner <jakob.steiner@glasskube.eu>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-06-26 13:33:40 +00:00
RahulGautamSingh a829d96891 refactor(cache): use rm.content to remove expired content (#29860) 2024-06-26 11:00:14 +00:00
Norbert Szulc c8aacc4c05 feat(datasource): Add python-version datasource (#27583)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-16 10:00:07 +00:00
Michael Kriese 906e0e491e feat(cache/package): make sqlite optional (#28777) 2024-05-02 08:06:55 +00:00
Sergei Zharinov 569f28bd33 feat(docker): Long-term cache for Docker Hub tags (#28489)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-04-19 05:41:00 +00:00
gg-kialo fcfbf3882d fix(cache): Trigger cacache to remove expired contents (#28275)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-04-09 13:10:39 +00:00
Vincent Mahnke 0b73d683df feat(datasource): Add Unity3D (#27971)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-03-25 20:45:13 +00:00
Sergei Zharinov 998705d5b0 refactor: Package cache stats utility (#27936) 2024-03-14 15:06:53 +00:00
Ronald van Butselaar 0867de846a fix(redis): keepalive ping (30s) (#27249) 2024-02-14 08:57:13 +00:00
renovate[bot] cbef575a2c chore(deps): update linters to v6.20.0 (#26925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-02-12 09:09:29 +00:00
RahulGautamSingh 8fb2a6b9d2 fix(datasource/cdnjs): update logic to accomodate api changes (#27212)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-02-11 10:57:56 +00:00
Sergei Zharinov f587531130 refactor(cache): Restrict type for package cache namespaces (#27121) 2024-02-08 07:35:41 +00:00
Sergei Zharinov 68d5faa96e fix(cache): Fix compression and decompression format mismatch (#27021) 2024-02-02 16:22:16 +00:00
Sergei Zharinov 0378bf7652 feat: SQLite-based package cache (#26608)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-30 07:50:24 +00:00
Sergei Zharinov bd0adf2d05 refactor: Deprecate compression with base64 encoding (#26711) 2024-01-17 19:52:22 +00:00
Bernat Mut c21bc85053 feat: redisPrefix (#26398)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-02 22:11:01 +00:00
Yun Lai f5b4da3c68 feat(presets): presetCachePersistence (#25825)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-01 11:22:26 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Michael Kriese 84a97a62fa test(perf): improve test speed (#24323) 2023-09-08 11:40:04 +00:00
Sergei Zharinov 6636b7c127 fix: Use globally-set hard TTL for package cache (#24116) 2023-08-27 16:44:09 +00:00
Sergei Zharinov 82cc5d4b1d feat(cache): Introduce fallbackTtlMinutes parameter for decorator (#24109) 2023-08-27 12:23:22 +00:00
Gabriel-Ladzaretti e45bacf026 feat(package-cache): add configurable cache TTL override (#24073)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-08-25 15:40:37 +00:00
Sergei Zharinov 11c05fc837 refactor: Default values for GlobalConfig.get (#22967) 2023-06-25 19:34:42 +00:00
renovate[bot] 6e2279f44e chore(deps): update dependency jest-extended to v4 (#22609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-06-09 05:20:40 +00:00
renovate[bot] da29ed179c chore(deps): update dependency @types/luxon to v3.3.0 (#21418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
Jamie Magee b23700d749 test: jest isolation (#21406) 2023-04-10 04:32:04 +00:00
Gabriel-Ladzaretti c5b7a451a9 fix(cache): catch redis set value errors (#21290) 2023-04-02 16:23:17 +00:00
Jamie Magee 176282e65f chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +00:00
Sergei Zharinov 3e28c4ee9f feat(cache): Fallback to older decorator results on error (#20795) 2023-03-23 15:59:51 +00:00
John Daly 15c7e8dea2 fix: Prevent uninitialized cacheProxy from being accessed in cleanup (#20975) 2023-03-16 04:57:34 +00:00
Sergei Zharinov 095c84ebfd test: Refactor tests for package cache decorator (#20958) 2023-03-15 15:37:12 +00:00
Rhys Arkins 222cda6058 feat(cache): file cache cleanup (#20061)
Checks file cache for expired items at the end of a run. Non-breaking change but it may result in some long cleanup jobs for any bots which have been left to populate their package cache for a long time.

Closes #13732
2023-03-10 09:34:39 +01:00
Jamie Magee 92eb2200fd refactor(jest): enable clearMocks (#18779) 2022-11-14 22:46:37 -08:00
Sergei Zharinov 98003f4cce feat(cache): Compress package cache (#18241) 2022-10-11 06:26:19 +03:00
Rhys Arkins 40b7393040 fix: don’t count duplicate package cache stats (#18172) 2022-10-07 11:36:49 +03:00
Rhys Arkins f34e89fec4 feat: package cache stats (#18170) 2022-10-07 07:57:37 +00:00
RahulGautamSingh 3d31fa371d refactor(lib/util): strict null check for test files (#15812)
* add types for tmp

* expand files in lib/util

* update yarn lock

* Update tsconfig.strict.json

* util/exec

* util/git

* util/http

* Revert "util/exec"

This reverts commit 96cf479a1b.

* update strict.json

* redo util/exec

* revert util/git

* util/merge-confidence

* update util/git

* util/package-rules

* fix util/git

* util/template

* util/

* revert extras

* rm newline

* add tmp back

* apply suggestion from review

* util/cache

* more changes

* Update tsconfig.strict.json

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Sergei Zharinov c32b74bdee fix(redis): Fix TTL minutes type (#15886) 2022-06-04 07:47:36 +02:00
Rhys Arkins dd84b9c7f3 fix(redis): valid integer for ttl 2022-06-04 07:04:33 +02:00
Jamie Magee 0cb19fa997 refactor(decorator): extract general purpose decorator methods (#15772) 2022-05-29 01:07:30 +02:00
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00