-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Deploy to aws broken after 2023-02-04 #7049
Comments
Thank you, @benbai123 ! We will take a look. |
@benbai123 could you please upload logs from the successful and failed builds since I don't have access to the links in repository you provided? |
@ddobranic sure, success and faild logs : |
@benbai123 I can see the error in |
Yes, the command start failed today, it works well till 2023-02-04, the yml file is not changed before the failed build, you can find same command in same file for successful build. I have tried diff them online with diffchecker, they almost the same. |
@benbai123 |
Thanks, I tried it but still not working. |
One more information: I did not restart and update by Github Desktop several months, it crashed today (2023-02-07) and I reinstall it. My Mac said Github desktop "will damage your computer. You should move this app to the Trash" Not sure whether they are related. |
It is not related. You should download new official version and reinstall. |
@m3rolam thank you for providing workaround. |
@ddobranic the solution need a self hosted Dockerfile but that is not my case. I've tried to deploy by upload a zip file to aws eb and it works, probably the total size of files caused this issue (since the npm install in my yml). I will use zip upload deploy in the mean time and try to figure it out. UPDATE: Problem still exists after remove the |
Finally solved it by the steps below:
|
Same issue with the same package |
@bsonmez you can use my fork it has the fix you are looking for. Here: https://github.com/thebigsearch/actions-aws-eb |
Description
I use github action to deploy my project to aws elasticbeanstalk, it works well till 2023-02-04 and broken today.
There are 2 messages in failed action
And
I have checked the versions of ubuntu, actions/checkout@v2 git are
Current runner version: '2.301.1'
ubuntu 22.04.1
git version 2.39.1
And they are not changed from previous success action.
What I have tried:
git config --global --add safe.directory /github/workspace
before or after actions/checkout, failed.My yml as below
What I did before it broken is just change several lines of a js file.
Platforms affected
Runner images affected
Image version and build link
Runner Image
Image: ubuntu-22.04
Version: 20230129.2
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/2023012[9](https://github.com/Looplus/looplus-api-nest/actions/runs/4103340879/jobs/7077414052#step:1:10).2/images/linux/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230129.2
Is it regression?
first failed build: https://github.com/Looplus/looplus-api-nest/actions/runs/4099975042, previous successful build: https://github.com/Looplus/looplus-api-nest/actions/runs/4090737669
Expected behavior
build success and deployed to my aws elasticbeanstalk
Actual behavior
Failed with message
not a git repository
and error 128Repro steps
_force_deploy
to trigger the action.The text was updated successfully, but these errors were encountered: