-
Notifications
You must be signed in to change notification settings - Fork 914
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: git no longer available in container, throws error when using --from-last-tag #4196
Comments
Fixed by #4197. When will this be released? |
This should already have been released via: Can you confirm this? |
|
Not too familiar with this. |
What I meant by release is a GitHub release and a Git tag, not a Docker push. |
:( Can't publish because it wasn't a Wondering how this could have been solved better. |
Hm, doesn't help. Lerna is not picking up "the fix". $ lerna publish --conventional-commits
lerna notice cli v6.4.1
lerna info current version 19.6.0
lerna info Looking for changed packages since v19.6.0
lerna success No changed packages to publish
✨ Done in 3.15s. Ugh, yeah, I guess we didn't run into this before. Lerna always checks for changes in the packages. And this wasn't an issue until now. Any ideas how to solve this? |
First of all, I apologize for the inconvenience caused by #4185. We should have implemented checks to run unit tests in the container image created on the same branch. Currently, it seems that I see several possible solutions:
|
Thanks for your feedback! No worries, this happens. People can always revert to a previous container I guess. Going with option 3 would be fine with me for the current situation. In general I would like to know how this could be handled in the future. I guess there are similar projects out there. Maybe we can check how they handle this? |
Please never override version image tags. Those should be immutable to avoid unexpected result. |
Now it was possible to create a new release. Have a look if this works please: Still wondering how to handle such situation in the future. |
Steps to Reproduce
We are using commitlint in our GitLab CI pipelines. With the upgrade to 19.6.0 we noticed unexpected failures, which turns out to be caused by Git no longer being available in the container after #4185.
Config:
Current Behavior
Resulting error:
Expected Behavior
Commits since last tag should be grabbed and linted.
Affected packages
Possible Solution
Install Git in the container, not just in the build layer
Context
No response
commitlint --version
19.6.0
git --version
N/A
node --version
v18.20.5
The text was updated successfully, but these errors were encountered: