You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
So in my pipeline I clone a repo that has a bunch of git lfs tar files. I then extract (tar xvf) one of the files.
In the clone step I have:
However tar fails, and I confirmed that if I manually add the original file, tar works as intended and extracts.
I also ensured that I am in the Docker image `atlassian/default-image:2`, which supports git, if that was an issue.
In further research I did find the "git lfs migrate export" command, but apparently `git lfs` commands are not supported (second to last paragraph).
How do I clone the repo and extract the original file?
EDIT: So if I have the lfs files on the same repo, the "lfs: true" step works properly and I can extract the files.
But when I clone from a separate repo it does not clone the actual artifacts.