Strip build pipelines
This commit is contained in:
		
							parent
							
								
									05a052df25
								
							
						
					
					
						commit
						98dc169f6b
					
				
							
								
								
									
										6
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										6
									
								
								Makefile
								
								
								
								
							|  | @ -65,12 +65,6 @@ docker: ${DOCKERDIR}/${DOCKERFILE} docker-context | |||
| 	echo "git describe $(shell git describe --tags --always --dirty)" | ||||
| 	cd "${DOCKERDIR}" && docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_POSTFIX)" -f "${DOCKERFILE}" . | ||||
| 
 | ||||
| docker-logical-backup: scm-source.json | ||||
| 	mv scm-source.json ./docker/logical-backup | ||||
| 	docker build --rm -t "$(LB_IMAGE)" ./docker/logical-backup | ||||
| 	docker push "$(LB_IMAGE)" | ||||
| 	rm ./docker/logical-backup/scm-source.json | ||||
| 
 | ||||
| indocker-race: | ||||
| 	docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.8.1 bash -c "make linux" | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,17 +12,6 @@ pipeline: | |||
|         - desc: 'Install required build software' | ||||
|           cmd: | | ||||
|             apt-get install -y make git apt-transport-https ca-certificates curl build-essential | ||||
|         - desc: 'Build logical backup image' | ||||
|           cmd: | | ||||
|             IS_PR_BUILD=${CDP_PULL_REQUEST_NUMBER+"true"} | ||||
|             if [[ ${CDP_TARGET_BRANCH} == "master" && ${IS_PR_BUILD} != "true" ]] | ||||
|             then | ||||
|               LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup:${CDP_BUILD_VERSION} | ||||
|             else | ||||
|               LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup-test:${CDP_BUILD_VERSION} | ||||
|             fi | ||||
|             export LB_IMAGE | ||||
|             make docker-logical-backup | ||||
|         - desc: 'Install go' | ||||
|           cmd: | | ||||
|             cd /tmp | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue