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

Gitlab repo download fails #651

Closed
NegativeFeedback opened this issue Nov 23, 2023 · 3 comments · Fixed by #665 or #667
Closed

Gitlab repo download fails #651

NegativeFeedback opened this issue Nov 23, 2023 · 3 comments · Fixed by #665 or #667

Comments

@NegativeFeedback
Copy link

NegativeFeedback commented Nov 23, 2023

I am on otf 0.1.18 running docker containers on nomad with projects on gitlab, When I attempt a plan or apply with VCS now it fails with
"retrieving repository tarball: malformed directory name found in tarball"
and
:ERROR constructing new run error="retrieving repository tarball: malformed directory name found in tarball: cloudflare-main-***" subject="

@leg100
Copy link
Owner

leg100 commented Nov 24, 2023

Thanks for the raising the issue. The Gitlab support is less than robust, so I'm not wholly surprised. I'll take a look and see what I can do.

@NegativeFeedback
Copy link
Author

awesome thanks! Please let me know if I can grab any other logs or anything else

@jpetrucciani
Copy link
Contributor

We've run into this as well - it would appear that the directory name inside the tarball may have changed to be $project-$branch-$hash - I've opened a PR with a potential fix at #654

leg100 pushed a commit that referenced this issue Dec 6, 2023
This was a small change we had to make for solving the issue with #651
wherein we see a different name structure for the directory within the
tarball that we get from gitlab
leg100 added a commit that referenced this issue Dec 12, 2023
This PR builds upon #654 to fix further Gitlab issues, and to bring it
generally into line with the Github support.

Fixes #651
leg100 pushed a commit that referenced this issue Dec 12, 2023
🤖 I have created a release *beep* *boop*
---


## [0.2.3](v0.2.2...v0.2.3)
(2023-12-12)


### Bug Fixes

* gitlab support ([#665](#665))
([eaf9b15](eaf9b15)),
closes [#651](#651)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants