我无法将本地文件夹安装到 docker-compose 上的 docker 卷,因此无法在 docker-compose run cmd 上访问它。
这是来自 github https://github.com/up1/demo-k6-docker的存储库
当我按照自述文件进行操作时,docker-compose run k6 run scripts/sample.js它总是出现以下错误:
WARN[0000] The moduleSpecifier "scripts/sample.js" has no scheme but we will try to resolve it as remote module. This will be deprecated in the future and all remote modules will need to explicitly use "https" as scheme. ERRO[0000] The moduleSpecifier "scripts/sample.js" couldn't be found on local disk. Make sure that you've specified the right path to the file. If you're running k6 …
阅读问题答案后如何自动投放浏览器而不提供魅力报告
我想知道如何使用Nginx正确托管魅力报告吗?我想如果您可以给出一个用于nginx的命令示例并以适当的顺序进行诱惑就足够了。
PS:我正在尝试创建一个共享的Allure报告,作为整个公司的托管网站,而不必让报告的每个用户都将Allure安装在其本地计算机上,而不必在每个新测试结果上执行“诱惑服务”。计划在AWS EC2,解析域等上托管,并计划与AWS ELB分开进行托管。魅力文档未涵盖此主题,因为关于魅力,在StackOverflow上没有关于此主题的详细特定答案的其他问题。
提前致谢。