fix(datasource/gitlab-packages): prefer checking for conan_package_name if it exists #69270
Annotations
3 errors and 1 warning
Unit tests:
lib/modules/datasource/gitlab-packages/index.spec.ts#L44
expect(received).toMatchSnapshot()
Snapshot name: `modules/datasource/gitlab-packages/index getReleases returns package from custom registry 1`
- Snapshot - 1
+ Received + 1
@@ -1,11 +1,11 @@
{
"registryUrl": "https://gitlab.com",
"releases": [
{
"releaseTimestamp": "2020-03-04T18:01:37.000Z",
- "version": "1.0.0",
+ "version": "v1.0.0",
},
{
"releaseTimestamp": "2020-04-04T18:01:37.000Z",
"version": "v1.1.0",
},
at Object.<anonymous> (lib/modules/datasource/gitlab-packages/index.spec.ts:44:19)
|
Unit tests:
lib/modules/datasource/gitlab-packages/index.spec.ts#L88
expect(received).toMatchSnapshot()
Snapshot name: `modules/datasource/gitlab-packages/index getReleases returns conan package from custom registry 1`
New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default.
Received:
{
"registryUrl": "https://gitlab.com",
"releases": [
{
"releaseTimestamp": "2020-03-04T18:01:37.000Z",
"version": "v1.0.0",
},
{
"releaseTimestamp": "2020-04-04T18:01:37.000Z",
"version": "v1.1.0",
},
{
"releaseTimestamp": "2020-05-04T18:01:37.000Z",
"version": "v1.1.1",
},
],
}
at Object.<anonymous> (lib/modules/datasource/gitlab-packages/index.spec.ts:88:19)
|
Unit tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading