Last week, on April 22, GitLab released their 13.11 version, according to its monthly release, for April 2021.
Many features have been released in this new version, but some of them have caught my attention more than others. Let's check them out together! 🤲
For some projects, I exactly would have needed to have multiple caches, because sometimes, I have two
package-lock.json files: one for the build process and one for the frontend dependencies.
So with this new feature, I should not need to update two caches anymore if one of them changes. I can't wait to see if this will have a positive impact on the duration of the pipeline. 😀
One of the reasons I did not use the
needs keyword as much I would have liked was precisely because all jobs had to run, otherwise the pipelines would have failed. So we couldn't use the
needs keyword and the
cache keyword together.
With the the new
optional keyword, this will no longer be the case! I cannot wait to try the new keyword in my pipelines! 😝
For newcomers or people who are not yet familiar with the repositories settings on GitLab, being able to search a specific keyword within the page will certainly be neat.
The search is currently only available on the current view, but once it is extended to all views, our instructions for properly setting up a repository will be much shorter! 🚀
A new predefined variable has been made available in GitLab CI with the information of the commit author and it is always good to keep track of them, as they can be useful for a job.
I have not checked its value yet, but as soon as I find out, I will update my personal post GitLab CI predefined variables with an example for us! 😉