Closed tkaklam closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
not sure why pytest is failing. I didn't edit code, only the readme.
@tayloramurphy looking at the logs (twice, after retrying the failing run), I think there's an API token problem. Did it expire or is there some permissions issue? The job keeps failing on a query for group labels for meltano/infra
: /api/v4/groups/13315624/labels
@aaronsteers @WillDaSilva does this problem seem familiar to you all?
@tayloramurphy It's not familiar, but after looking at the logs I agree with @laurentS
@WillDaSilva has anything changed with the tokens that you know of? @ericboucher any thoughts here as well?
@tayloramurphy The GITLAB_PRIVATE_TOKEN
action secret in this repository was last updated on 2022-05-09. Maybe it expired? I don't know whose token it is.
We could generate a new one using the MeltyBot or Meltano GitLab account, and then update the action secret. It wouldn't be difficult, so it might be worth a shot, but then we'll be responsible for ensuring that the token is not misused. That is true whether or not updating the token fixes the problem, since we cannot reverse the update, and the current token value is not known (to me at least).
I think we talked with @edgarrmondragon and @aaronsteers about setting up these tokens in https://github.com/MeltanoLabs/tap-gitlab/pull/69, hopefully it might help figure out where they came from? Or is it that gitlab has a new scope delineation for permissions on the API following some upgrade?
@WillDaSilva - I logged in to GitLab with the tap-gitlab service account (login info in 1Password) and confirmed that the token is still active.
I think the problem here is that we're running under a fork and the fork doesn't have access to the secret.
Given that this only modifies the README, I'm inclined to go ahead and use Admin permissions to merge without tests passing.
@tkaklam - Thanks very much for this contribution!
Added info about the GraphQL config to the readme. Without this info, people who run on a different server than gitlab.com will run REST API requests against whatever is configured in
api_url
, but graphQL requests will still go to gitlab.com.