Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mux: updating PR status issue #2020

Closed
PertsevRoman opened this issue Jan 26, 2022 · 0 comments · Fixed by #2021
Closed

mux: updating PR status issue #2020

PertsevRoman opened this issue Jan 26, 2022 · 0 comments · Fixed by #2021
Labels
bug Something isn't working

Comments

@PertsevRoman
Copy link
Contributor

Community Note

I'll try to fix the bug, please follow comments of the issue


Overview of the Issue

Altantis should be able to provide workflow logs during apply. We're facing with issue below and logs can't be shown.
This happens in GitLab projects

Reproduction Steps

  1. Create MR in multiple-level folder (Gitlab)
  2. Make atlantis plan/apply

Logs

{"level":"error","ts":"2022-01-26T08:28:34.749Z","caller":"events/project_command_runner.go:156","msg":"updating project PR status%!(EXTRA *errors.withS
tack=creating job url for org-name/department/subdepartment/tucson/tucson-name/repo-name/1/folder-name/default: mux: variable \"org-name/department/subdepartment/tucson/tucson-name\" doesn't match, expected \"^[^/]+$\")","json":{"repo":"org-name/department/subdepartment/tucson/tucson-name/repo-name","pull":"1"},"stacktrace":"github.com/runatlantis/atlantis/server/events.(*ProjectOutputWrapper).updateProjectPRStatus\n\tgithu
b.com/runatlantis/atlantis/server/events/project_command_runner.go:156\ngithub.com/runatlantis/atlantis/server/events.(*ProjectOutputWrapper).Apply\n\tg
ithub.com/runatlantis/atlantis/server/events/project_command_runner.go:133\ngithub.com/runatlantis/atlantis/server/events.runProjectCmds\n\tgithub.com/r
unatlantis/atlantis/server/events/project_command_pool_executor.go:47\ngithub.com/runatlantis/atlantis/server/events.(*ApplyCommandRunner).Run\n\tgithub
.com/runatlantis/atlantis/server/events/apply_command_runner.go:146\ngithub.com/runatlantis/atlantis/server/events.(*DefaultCommandRunner).RunCommentCom
mand\n\tgithub.com/runatlantis/atlantis/server/events/command_runner.go:259"}

Environment details

Atlantis version: 0.18.1, 0.18.2
Helm chart: 0.13.5

Additional Context

See #2012

@PertsevRoman PertsevRoman added the bug Something isn't working label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant