-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix travis build process #116
Fix travis build process #116
Conversation
**Why this PR does ?** This PR will fix the build issue in travis. Now travis will buils mayactl as well as maya-apiserver binaries and if build is tagged by github it will release and deploy them in Github relaeas pages.
Codecov Report
@@ Coverage Diff @@
## master #116 +/- ##
=======================================
Coverage 19.86% 19.86%
=======================================
Files 58 58
Lines 7419 7419
=======================================
Hits 1474 1474
Misses 5838 5838
Partials 107 107 Continue to review full report at Codecov.
|
GNUmakefile
Outdated
@@ -23,7 +23,7 @@ APISERVER=maya-apiserver | |||
# Specify the date o build | |||
BUILD_DATE = $(shell date +'%Y%m%d%H%M%S') | |||
|
|||
all: test | |||
all: test bin apiserver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the target bin be renamed to mayactl or something more appropriate ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming it as mayactl
@@ -28,15 +28,15 @@ XC_OSS=(${XC_OS// / }) | |||
|
|||
# Delete the old dir | |||
echo "==> Removing old directory..." | |||
rm -rf bin/* | |||
mkdir -p bin/ | |||
rm -rf bin/maya/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it be good to move this file to buildscripts/mayactl ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure !!!
Done !! |
GNUmakefile
Outdated
@echo "----------------------------" | ||
@echo "--> maya " | ||
@echo "----------------------------" | ||
@MAYACTL=${MAYACTL} sh -c "'$(PWD)/buildscripts/build.sh'" | ||
@MAYACTL=${MAYACTL} sh -c "'$(PWD)/buildscripts/ctl/build.sh'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well why ctl ? & why not mayactl ?
Changing to buildscript/mayactl dir as a naming convention follows is a repo.
What this PR does / why we need it
This PR will fix the build issue in travis. Now travis will build mayactl as well as maya-apiserver
binaries and if this is tagged by github it will release and deploy them in Github release pages
fixes openebs/openebs#599
fixes openebs/openebs#597