-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat(github): long-term datasource caching (#15653)"
- Loading branch information
Showing
23 changed files
with
514 additions
and
1,318 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
lib/modules/datasource/github-releases/__snapshots__/index.spec.ts.snap
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,64 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`modules/datasource/github-releases/index getReleases returns releases 1`] = ` | ||
Object { | ||
"registryUrl": "https://github.com", | ||
"releases": Array [ | ||
Object { | ||
"gitRef": "1.0.0", | ||
"releaseTimestamp": "2020-03-09T11:00:00.000Z", | ||
"version": "1.0.0", | ||
}, | ||
Object { | ||
"gitRef": "v1.1.0", | ||
"releaseTimestamp": "2020-03-09T10:00:00.000Z", | ||
"version": "v1.1.0", | ||
}, | ||
Object { | ||
"gitRef": "2.0.0", | ||
"isStable": false, | ||
"releaseTimestamp": "2020-04-09T10:00:00.000Z", | ||
"version": "2.0.0", | ||
}, | ||
], | ||
"sourceUrl": "https://github.com/some/dep", | ||
} | ||
`; | ||
|
||
exports[`modules/datasource/github-releases/index getReleases supports ghe 1`] = ` | ||
Object { | ||
"releases": Array [ | ||
Object { | ||
"gitRef": "a", | ||
"isStable": undefined, | ||
"releaseTimestamp": "2020-03-09T13:00:00Z", | ||
"version": "a", | ||
}, | ||
Object { | ||
"gitRef": "v", | ||
"isStable": undefined, | ||
"releaseTimestamp": "2020-03-09T12:00:00Z", | ||
"version": "v", | ||
}, | ||
Object { | ||
"gitRef": "1.0.0", | ||
"isStable": undefined, | ||
"releaseTimestamp": "2020-03-09T11:00:00Z", | ||
"version": "1.0.0", | ||
}, | ||
Object { | ||
"gitRef": "v1.1.0", | ||
"isStable": undefined, | ||
"releaseTimestamp": "2020-03-09T10:00:00Z", | ||
"version": "v1.1.0", | ||
}, | ||
Object { | ||
"gitRef": "2.0.0", | ||
"isStable": false, | ||
"releaseTimestamp": "2020-04-09T10:00:00Z", | ||
"version": "2.0.0", | ||
}, | ||
], | ||
"sourceUrl": "https://git.enterprise.com/some/dep", | ||
} | ||
`; |
262 changes: 0 additions & 262 deletions
262
lib/modules/datasource/github-releases/cache/cache-base.spec.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.