gitlab-ci: set a common job parent for build stage