broad-zoo-34077
04/07/2022, 6:05 PMcrooked-daybreak-55253
04/07/2022, 6:12 PMgreen-thailand-87645
04/07/2022, 6:13 PMgreen-thailand-87645
04/07/2022, 6:13 PMcrooked-daybreak-55253
04/07/2022, 6:16 PMcrooked-daybreak-55253
04/07/2022, 6:17 PMgreen-thailand-87645
04/07/2022, 6:17 PMcrooked-daybreak-55253
04/07/2022, 6:20 PMcurl -X POST --header "PRIVATE-TOKEN: redacted" --data-urlencode "body=test" <https://gitlab>.[redacted]/merge_requests/1/notes
green-thailand-87645
04/07/2022, 6:20 PMgreen-thailand-87645
04/07/2022, 6:21 PM$CI_SERVER_URL
--gitlab-token
crooked-daybreak-55253
04/07/2022, 6:23 PMthe problem was, at the gitlab group level, they had also defined GITLAB_TOKEN as a variable
and for some reason gitlab’s variable precedence prefers those group level variables to the ones I set in the pipeline
crooked-daybreak-55253
04/07/2022, 6:27 PMits working now with ci after adding below flag. can the sample pipeline and README file can be updated?Do you want to submit an MR? I’m happy to, but I’ll let you take the credit since you figured it out 🙂. Here’s the section of our docs where we talk abotu CI_SERVER_URL: https://www.infracost.io/docs/features/cli_commands/#gitlab
green-thailand-87645
04/07/2022, 7:06 PMgreen-thailand-87645
04/07/2022, 7:07 PMcrooked-daybreak-55253
04/07/2022, 7:31 PMcrooked-daybreak-55253
04/07/2022, 7:59 PMCI_PROJECT_URL
env, is that getting set?