-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fix VCS errors in daily serverless tests #3924
Fix VCS errors in daily serverless tests #3924
Conversation
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
This pull request does not have a backport label. Could you fix it @fearful-symmetry? 🙏
NOTE: |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
|
||
git clone --filter=tree:0 [email protected]:elastic/beats.git | ||
cd .. | ||
git clone [email protected]:elastic/beats.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might help if we do shallow clone
git clone [email protected]:elastic/beats.git | |
git clone --depth=1 [email protected]:elastic/beats.git |
This fixes an issue where the tests were failing with an
error obtaining VCS status: exit status 128
message. Turns out that something in a newer go version doesn't like our--filter=tree:0
flag we were passing to git.Technically that's the only part of this required to fix things, the shuffling around of directory setup is to deal with the other circumstances where we might get the same VCS error.