DEV Community

Cover image for GitLab 13.11 is now available! 🦞
Benjamin Rancourt
Benjamin Rancourt

Posted on • Originally published at benjaminrancourt.ca on

GitLab 13.11 is now available! 🦞

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! 🀲

Use multiple caches in the same job

Screenshot of the feature Use multiple caches in the same job at GitLab.com.

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. πŸ˜€

Optional DAG ('needs:') jobs in CI/CD pipelines

Screenshot of the feature Optional DAG ('needs:') jobs in CI/CD pipelines at GitLab.com.

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! 😝

Search within a settings page

Screenshot of the feature Search within a settings page at GitLab.com.

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! πŸš€

Predefined CI/CD variable for commit author

Screenshot of the feature Predefined CI/CD variable for commit author at GitLab.com.

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! πŸ˜‰

Top comments (0)