mirror of https://github.com/renovatebot/renovate
313 lines
8.2 KiB
Plaintext
313 lines
8.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`modules/manager/ansible-galaxy/extract extractPackageFile() check collection style requirements file 1`] = `
|
|
[
|
|
{
|
|
"currentValue": "0.9.3",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "geerlingguy.php_roles",
|
|
"depType": "galaxy-collection",
|
|
"registryUrls": [
|
|
"https://galaxy.ansible.com",
|
|
],
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "davidban77.gns3",
|
|
"depType": "galaxy-collection",
|
|
"registryUrls": [],
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "github-tags",
|
|
"depName": "github.com/organization/repo_name",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://github.com/organization/repo_name.git",
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "git-tags",
|
|
"depName": "example.com/organization/repo_name",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://example.com/organization/repo_name.git",
|
|
},
|
|
{
|
|
"currentValue": "3.0.0",
|
|
"datasource": "git-tags",
|
|
"depName": "namespace.mycollection",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://example.com/organization/repo_name.git",
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "git-tags",
|
|
"depName": "example.com/organization/repo_name",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://example.com/organization/repo_name.git",
|
|
},
|
|
{
|
|
"datasource": "galaxy-collection",
|
|
"depName": "f5networks.f5_modules",
|
|
"depType": "galaxy-collection",
|
|
"registryUrls": [
|
|
"https://cloud.redhat.com/api/automation-hub/",
|
|
],
|
|
"skipReason": "unspecified-version",
|
|
},
|
|
{
|
|
"currentValue": null,
|
|
"datasource": "git-tags",
|
|
"depName": "foo.bar/organization/repo_name",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://foo.bar/organization/repo_name.git",
|
|
"skipReason": "unspecified-version",
|
|
},
|
|
{
|
|
"currentValue": "1.0.0",
|
|
"depName": "fooBar",
|
|
"depType": "galaxy-collection",
|
|
"skipReason": "no-source-match",
|
|
},
|
|
{
|
|
"depName": "foo.Bar",
|
|
"depType": "galaxy-collection",
|
|
"skipReason": "unsupported",
|
|
},
|
|
{
|
|
"depName": "foo.Bar",
|
|
"depType": "galaxy-collection",
|
|
"skipReason": "local-dependency",
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "git-tags",
|
|
"depName": "example.com/organization/repo_name",
|
|
"depType": "galaxy-collection",
|
|
"packageName": "https://example.com/organization/repo_name.git",
|
|
"skipReason": "unsupported",
|
|
},
|
|
{
|
|
"currentValue": "1.9.6",
|
|
"datasource": "galaxy",
|
|
"depName": "geerlingguy.java",
|
|
"depType": "role",
|
|
"packageName": "geerlingguy.java",
|
|
},
|
|
{
|
|
"currentValue": "2.9.0",
|
|
"datasource": "galaxy",
|
|
"depName": "geerlingguy.docker",
|
|
"depType": "role",
|
|
"packageName": "geerlingguy.docker",
|
|
},
|
|
]
|
|
`;
|
|
|
|
exports[`modules/manager/ansible-galaxy/extract extractPackageFile() check collection style requirements file in reverse order and missing empty line 1`] = `
|
|
[
|
|
{
|
|
"currentValue": "0.9.3",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "geerlingguy.php_roles",
|
|
"depType": "galaxy-collection",
|
|
"registryUrls": [
|
|
"https://galaxy.ansible.com",
|
|
],
|
|
},
|
|
{
|
|
"currentValue": "1.2.2",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "davidban77.gns3",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "1.9.6",
|
|
"datasource": "galaxy",
|
|
"depName": "geerlingguy.java",
|
|
"depType": "role",
|
|
"packageName": "geerlingguy.java",
|
|
},
|
|
{
|
|
"currentValue": "2.9.0",
|
|
"datasource": "galaxy",
|
|
"depName": "geerlingguy.docker",
|
|
"depType": "role",
|
|
"packageName": "geerlingguy.docker",
|
|
},
|
|
]
|
|
`;
|
|
|
|
exports[`modules/manager/ansible-galaxy/extract extractPackageFile() check galaxy definition file 1`] = `
|
|
[
|
|
{
|
|
"currentValue": "1.5.4",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "ansible.posix",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "1.5.4",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "ansible.posix_with_comment",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "1.4.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "ansible.windows",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "1.4.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "ansible.windows_with_comment",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "7.3.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.general",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "7.3.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.general_with_comment",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": ">=1.0.0,<2.0.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.windows",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "7.3.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.general_quoted",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": "7.3.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.general_with_comment_quoted",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
{
|
|
"currentValue": ">=1.0.0,<2.0.0",
|
|
"datasource": "galaxy-collection",
|
|
"depName": "community.windows_quoted",
|
|
"depType": "galaxy-collection",
|
|
},
|
|
]
|
|
`;
|
|
|
|
exports[`modules/manager/ansible-galaxy/extract extractPackageFile() extracts dependencies from a not beautified requirements file 1`] = `
|
|
[
|
|
{
|
|
"currentValue": "0.1.0",
|
|
"datasource": "galaxy",
|
|
"depName": "yatesr.timezone",
|
|
"depType": "role",
|
|
"packageName": "yatesr.timezone",
|
|
},
|
|
{
|
|
"currentValue": "0.1",
|
|
"datasource": "git-tags",
|
|
"depName": "mygroup/ansible-base",
|
|
"depType": "role",
|
|
"packageName": "git@gitlab.company.com:mygroup/ansible-base.git",
|
|
},
|
|
]
|
|
`;
|
|
|
|
exports[`modules/manager/ansible-galaxy/extract extractPackageFile() extracts multiple dependencies from requirements.yml 1`] = `
|
|
[
|
|
{
|
|
"currentValue": "0.1.0",
|
|
"datasource": "galaxy",
|
|
"depName": "yatesr.timezone",
|
|
"depType": "role",
|
|
"packageName": "yatesr.timezone",
|
|
},
|
|
{
|
|
"currentValue": "0.19.0",
|
|
"datasource": "galaxy",
|
|
"depName": "cloudalchemy.node-exporter",
|
|
"depType": "role",
|
|
"packageName": "cloudalchemy.node-exporter",
|
|
},
|
|
{
|
|
"currentValue": "master",
|
|
"datasource": "git-tags",
|
|
"depName": "nginx_role",
|
|
"depType": "role",
|
|
"packageName": "https://github.com/bennojoy/nginx",
|
|
},
|
|
{
|
|
"currentValue": "v1.4",
|
|
"datasource": "git-tags",
|
|
"depName": "willthames/git-ansible-galaxy",
|
|
"depType": "role",
|
|
"packageName": "http://bitbucket.org/willthames/git-ansible-galaxy",
|
|
},
|
|
{
|
|
"currentValue": "0.1",
|
|
"datasource": "git-tags",
|
|
"depName": "mygroup/ansible-base",
|
|
"depType": "role",
|
|
"packageName": "git@gitlab.company.com:mygroup/ansible-base.git",
|
|
},
|
|
{
|
|
"currentValue": "0.1",
|
|
"datasource": "git-tags",
|
|
"depName": "testGroup/testProject",
|
|
"depType": "role",
|
|
"packageName": "ssh://git@gitlab.company.com/testGroup/testProject.git",
|
|
},
|
|
{
|
|
"currentValue": "0.1",
|
|
"datasource": "git-tags",
|
|
"depName": "testGroup/testProject2",
|
|
"depType": "role",
|
|
"packageName": "ssh://gitlab.company.com/testGroup/testProject2.git",
|
|
},
|
|
{
|
|
"currentValue": "3.1",
|
|
"datasource": "git-tags",
|
|
"depName": "testGroup/testProject3",
|
|
"depType": "role",
|
|
"packageName": "ssh://git@gitlab.company.com:23/testGroup/testProject3.git",
|
|
},
|
|
{
|
|
"currentValue": "0.14",
|
|
"datasource": "git-tags",
|
|
"depName": "mygroup/ansible-base",
|
|
"depType": "role",
|
|
"packageName": "git@gitlab.company.com:mygroup/ansible-base.git",
|
|
},
|
|
{
|
|
"currentValue": "0.14",
|
|
"datasource": "git-tags",
|
|
"depName": "mygroup/ansible-base",
|
|
"depType": "role",
|
|
"packageName": "company.com:mygroup/ansible-base.git",
|
|
},
|
|
{
|
|
"currentValue": "47.11",
|
|
"datasource": "git-tags",
|
|
"depName": "org/repo",
|
|
"depType": "role",
|
|
"packageName": "git://github.com/org/repo.git",
|
|
},
|
|
{
|
|
"currentValue": "47.11",
|
|
"datasource": "git-tags",
|
|
"depName": "org/re.po",
|
|
"depType": "role",
|
|
"packageName": "git://github.com/org/re.po.git",
|
|
},
|
|
]
|
|
`;
|