diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-19 09:23:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 09:23:01 -0800 |
commit | eddfe6ba628d17435559ba32a8ef748c386105aa (patch) | |
tree | c24dacc703c3a2024a5d02ca831f1343f195fd2e /Makefile | |
parent | c8eaf59d5f4bec249db8134c6a9fcfbcac792519 (diff) | |
parent | 98c5d9d9624f82c5525558bf699642a929b229e4 (diff) | |
download | podman-eddfe6ba628d17435559ba32a8ef748c386105aa.tar.gz podman-eddfe6ba628d17435559ba32a8ef748c386105aa.tar.bz2 podman-eddfe6ba628d17435559ba32a8ef748c386105aa.zip |
Merge pull request #1996 from giuseppe/validate-all-commits
Makefile: validate that each commit can at least build
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,7 @@ HEAD ?= HEAD CHANGELOG_BASE ?= HEAD~ CHANGELOG_TARGET ?= HEAD PROJECT := github.com/containers/libpod +GIT_BASE_BRANCH ?= origin/master GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null) GIT_BRANCH_CLEAN ?= $(shell echo $(GIT_BRANCH) | sed -e "s/[^[:alnum:]]/-/g") LIBPOD_IMAGE ?= libpod_dev$(if $(GIT_BRANCH_CLEAN),:$(GIT_BRANCH_CLEAN)) @@ -345,6 +346,10 @@ API.md: cmd/podman/varlink/io.podman.varlink validate: gofmt .gitvalidation +build-all-new-commits: + # Validate that all the commits build on top of $(GIT_BASE_BRANCH) + git rebase $(GIT_BASE_BRANCH) -x make + .PHONY: \ .gopathok \ binaries \ |