Terramar 包:GitLab 8.3.2 webhooks 失败
Terramar Packages: GitLab 8.3.2 webhooks fail
使用 GitLab 8.3.2 所有 webhook 都失败并显示消息 Hook execution failed: Accepted
命令行 satis:build 失败
[Composer\Json\JsonValidationException]
The json config file does not match the expected JSON schema
satis.json 是
{
"output-dir": "\/var\/www\/packages\/web",
"repositories": [
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx.git"
},
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx-ui-kit.git"
},
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx2.git"
}
],
"output-html": false,
"require-dependencies": true,
"require-dev-dependencies": true
}
谁能指出问题出在哪里?我不太确定这是否是软件包的问题。
如果我对问题的理解正确,这就是
- 与 composer 相关的问题(因为它不应该将 satis 配置文件验证为 composer 文件)或
- 与生成您引用的配置文件的任何程序有关。在这种情况下,它应该生成可接受的配置文件。
目前,您可以手动使 json 符合架构,并希望在两个相关项目中的任何一个中得到修复 - and/or 文件问题。
使用 GitLab 8.3.2 所有 webhook 都失败并显示消息 Hook execution failed: Accepted
命令行 satis:build 失败
[Composer\Json\JsonValidationException]
The json config file does not match the expected JSON schema
satis.json 是
{
"output-dir": "\/var\/www\/packages\/web",
"repositories": [
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx.git"
},
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx-ui-kit.git"
},
{
"type": "vcs",
"url": "git@git.example.com:xxx\/xxx2.git"
}
],
"output-html": false,
"require-dependencies": true,
"require-dev-dependencies": true
}
谁能指出问题出在哪里?我不太确定这是否是软件包的问题。
如果我对问题的理解正确,这就是
- 与 composer 相关的问题(因为它不应该将 satis 配置文件验证为 composer 文件)或
- 与生成您引用的配置文件的任何程序有关。在这种情况下,它应该生成可接受的配置文件。
目前,您可以手动使 json 符合架构,并希望在两个相关项目中的任何一个中得到修复 - and/or 文件问题。