From 78288aadd9d819f12e9d93d5a19cd8e4a912ac25 Mon Sep 17 00:00:00 2001 From: Walmyr Lima Date: Fri, 12 Jul 2019 16:45:14 +0200 Subject: Fix trigger-build-docs script The GitLab docs project was moved from gitlab-com to gitlab-org and review-docs-deploy job is failing with the following error: $ ./$SCRIPT_NAME deploy /usr/local/bundle/gems/gitlab-4.12.0/lib/gitlab/request.rb:54:in `validate': Server responded with code 404, message: 404 Project Not Found. Request URI: https://gitlab.com/api/v4/projects/gitlab%2Dcom%2Fgitlab%2Ddocs /repository/branches (Gitlab::Error::NotFound) I don't know why the redirect is not working, but in any case, the script needs to be fixed. --- scripts/trigger-build-docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/trigger-build-docs b/scripts/trigger-build-docs index 0fc8f6fbd4b..4a51bd1edf6 100755 --- a/scripts/trigger-build-docs +++ b/scripts/trigger-build-docs @@ -13,7 +13,7 @@ end # # The remote docs project # -GITLAB_DOCS_REPO = 'gitlab-com/gitlab-docs'.freeze +GITLAB_DOCS_REPO = 'gitlab-org/gitlab-docs'.freeze # # Truncate the remote docs branch name otherwise we hit the filesystem -- cgit v1.2.1