Gitlab runner 工件:405 方法不允许
Gitlab runner artifacts : 405 Method Not allowed
我尝试在我的 Gitlab 上使用工件,当我的跑步者试图将我的工件文件放在 Giltlab 上时,我收到这条消息:
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
WARNING: Retrying...
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
WARNING: Retrying...
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
FATAL: invalid argument
ERROR: Job failed: exit code 1
我的工作是:
build:
stage: build
script:
- echo "Building the app" > out.txt
artifacts:
paths:
- out.txt
Gitlab 8.16 或 8.17:同样的问题
其他主机上的 Gitlab 运行程序(docker 执行程序):1.11.0 或 1.10.4:同样的问题
简单地说,在 /etc/gitlab/gitlab.rb 文件中启用了经过验证的工件:
## Build Artifacts
# gitlab_rails['artifacts_enabled'] = true
# gitlab_rails['artifacts_path'] = "/mnt/storage/artifacts"
我尝试在我的 Gitlab 上使用工件,当我的跑步者试图将我的工件文件放在 Giltlab 上时,我收到这条消息:
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
WARNING: Retrying...
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
WARNING: Retrying...
WARNING: Uploading artifacts to coordinator... failed id=504 responseStatus=405 Method Not Allowed status=405 Method Not Allowed token=HebbSqMD
FATAL: invalid argument
ERROR: Job failed: exit code 1
我的工作是:
build:
stage: build
script:
- echo "Building the app" > out.txt
artifacts:
paths:
- out.txt
Gitlab 8.16 或 8.17:同样的问题
其他主机上的 Gitlab 运行程序(docker 执行程序):1.11.0 或 1.10.4:同样的问题
简单地说,在 /etc/gitlab/gitlab.rb 文件中启用了经过验证的工件:
## Build Artifacts
# gitlab_rails['artifacts_enabled'] = true
# gitlab_rails['artifacts_path'] = "/mnt/storage/artifacts"