How to use the Matrix strategy in Azure DevOps pipelines
The matrix strategy in Azure DevOps pipelines allows you to run the same job multiple times using different variable-sets. Instead of creating separate jobs for each variable, you define a single job and a matrix of configurations, and the pipeline automatically creates one job for every combination.
How to solve the "here-document at line 1 delimited by end-of-file (wanted 'EOF')" warning
Recently, I ran into a frustrating issue with a shell script that uses heredocs. The closing EOF had indentation, so the shell didn’t recognize it as the closing tag. Everything after it kept getting added to the file, breaking the whole thing and the logs were showing this warning: here-document at line 1 delimited by end-of-file (wanted 'EOF') warning.
Moving from software development to DevOps means the terminal is no longer just for Git commits; it’s your primary interface for production infrastructure. This guide categorizes the 20 most critical commands by their real-world utility.
A Git submodule lets you include another repository inside your own project. This is useful for reusing shared code, libraries, or dependencies across multiple projects.
To add a submodule to your parent repository, follow these steps: