Skip to content

Commit

Permalink
Merge pull request #5862 from kgolab/makefile-status
Browse files Browse the repository at this point in the history
Execute git commands to show the state of local clone of the repo.
  • Loading branch information
k8s-ci-robot committed Jun 15, 2023
2 parents d7fa2d9 + 1944c82 commit 231868e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vertical-pod-autoscaler/pkg/admission-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ build-in-docker: $(addprefix build-in-docker-,$(ALL_ARCHITECTURES))

.PHONY: build-in-docker-*
build-in-docker-%: clean docker-builder
echo '=============== local git status ==============='
git status
echo '=============== last commit ==============='
git log -1
echo '=============== bulding from the above ==============='
docker run -v `pwd`/../..:/gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler vpa-autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler && make build-binary-with-vendor-$* -C pkg/admission-controller'


Expand Down
5 changes: 5 additions & 0 deletions vertical-pod-autoscaler/pkg/recommender/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ build-in-docker: $(addprefix build-in-docker-,$(ALL_ARCHITECTURES))

.PHONY: build-in-docker-*
build-in-docker-%: clean docker-builder
echo '=============== local git status ==============='
git status
echo '=============== last commit ==============='
git log -1
echo '=============== bulding from the above ==============='
docker run -v `pwd`/../..:/gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler vpa-autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler && make build-binary-with-vendor-$* -C pkg/recommender'

release: build-in-docker docker-build docker-push
Expand Down
5 changes: 5 additions & 0 deletions vertical-pod-autoscaler/pkg/updater/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ build-in-docker: $(addprefix build-in-docker-,$(ALL_ARCHITECTURES))

.PHONY: build-in-docker-*
build-in-docker-%: clean docker-builder
echo '=============== local git status ==============='
git status
echo '=============== last commit ==============='
git log -1
echo '=============== bulding from the above ==============='
docker run -v `pwd`/../..:/gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler vpa-autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/vertical-pod-autoscaler && make build-binary-with-vendor-$* -C pkg/updater'

.PHONY: release
Expand Down

0 comments on commit 231868e

Please sign in to comment.