There are two options, either you put version info in code and then use that in automation to create git tag. The another way is to let git tag drive the version info in the compiled application. In this post we see the later option.
Docker makes it easy to develop and deploy application, reducing friction between the processes. And ElasticBeanstak is a great platform build upon EC2 infrastructure which provides provisioning capability without much effort.
In this post, I talk about why TDD is important. Why it is essential part of build process. I also talk a little bit about test coverage and having more coverage is always better. I also provision a Travis CI pipeline to test same application in different environments.
One of the benefits of multi stage build is that you can improve on build time. Second benefit is that size of your final images can drastically reduced.
Why wait for CI/CD services to run your test? And in case you've already submitted a pull request, you'll have to push another commit to fix the cause of failed test held by CI provider. You can prevent that by running unit tests locally before every commit.
Every little software grows big, trying to solve more problem regarding its particular domain. It faces bugs in the way which also needs to be taken care of. As software grows big. It becomes harder to go and test if every part of the software is behaving the way it should...
While learning to program in C++, have this though ever cross your mind that how to exclude all the binary file created with 'make source'? This has happened with me. And that is the reason which inspired me to write this post.
Today I will walk through how you can take out a single file from a git repository and create its own repository with all the file commit history preserved.
The process of merging commits together is called squashing. There are many commands to do the same thing, but I will discuss the one I learned. There's a read more section below if you want to know more about this topic.