ci-fairy lint needs authentication now
./helm-gitlab-omnibus (master)> ci-fairy lint
Traceback (most recent call last):
File "~/.local/bin/ci-fairy", line 33, in <module>
sys.exit(load_entry_point('ci-fairy==0.1', 'console_scripts', 'ci-fairy')())
File "~/.local/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "~/.local/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "~/.local/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "~/.local/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "~/.local/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "~/.local/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "~/.local/lib/python3.9/site-packages/ci_fairy.py", line 888, in lint
status, errors = ctx.obj.gitlab.lint(fd.read())
File "~/.local/lib/python3.9/site-packages/gitlab/exceptions.py", line 279, in wrapped_f
return f(*args, **kwargs)
File "~/.local/lib/python3.9/site-packages/gitlab/__init__.py", line 253, in lint
data = self.http_post("/ci/lint", post_data=post_data, **kwargs)
File "~/.local/lib/python3.9/site-packages/gitlab/__init__.py", line 674, in http_post
result = self.http_request(
File ~/.local/lib/python3.9/site-packages/gitlab/__init__.py", line 559, in http_request
raise GitlabAuthenticationError(
gitlab.exceptions.GitlabAuthenticationError: 401: 401 Unauthorized
It's a gitlab 13.10 "feature" -> https://gitlab.com/gitlab-org/gitlab/-/issues/321290 and https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54492, but we should probably think about doing something
Cc: @whot