Gitlab Auto DevOps测试工作失败了Laravel
我正在使用新鲜的Laravel安装(V 9.2),并尝试使用Gitlab Auto DevOps,但测试作业失败了。我不使用任何其他buildpack,gitlab(yaml)或docker文件。 我尝试将变量 buildpack_url 与value heroku/php 一起使用,但是发生以下错误:
+ [[ -n heroku/php ]]
+ title 'Fetching custom buildpack'
+ echo '----->' 'Fetching custom buildpack'
-----> Fetching custom buildpack
+ selected_path=/tmp/buildpacks/custom
+ rm -rf /tmp/buildpacks/custom
+ IFS='#'
+ read -r url commit
+ buildpack-install heroku/php '' custom
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
没有变量 buildpack_url 测试作业找到nodejs并搜索NPM测试脚本,但我想要的只是在测试工作中使用phpunit。有人可以建议如何使用启用自动DEVOPS在测试作业中使用Phpunit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
说
导致此页面列表支持的格式:
请注意, heroku风格的速记像
Heroku/php
未列出。尝试将完整URL使用到
.tar.gz
/a>而不是。目前,这是最新版本:The only documentation about this that I can find says
which leads to this page listing supported formats:
Note that Heroku-style shorthands like
heroku/php
are not listed.Try using the full URL to a
.tar.gz
release instead. At the moment, this is the latest version: