bash-git-prompt tweaks
Some tweaks I made to bash-git-prompt. dynamic Python virtualenv path, new var GIT_MESSAGE, etc.
Some tweaks I made to bash-git-prompt. dynamic Python virtualenv path, new var GIT_MESSAGE, etc.
During CICD, we often have a large log output, it might be nice to have some common scripts to help us to format the log output, so that we can easily find the information we need.
Recently, when working with Sonar, I found that they have some scripts for such output formatting.
Bash shell in Github actions by default is run with -e -o pipefail
option. The full command used by Github actions is :
During CI/CD processes, and particularly during CI, we frequently hash dependency files to create cache keys (referred to as key
input in Github Action actions/cache and key
parameter in Azure pipelines Cache@2 task). However, the default hash functions come with certain limitations like this comment. To address this, we can use the following pure Bash shell command to manually generate the hash value.