Skip to content
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

Merged
merged 3 commits into from
Oct 17, 2017

Conversation

prateekpandey14
Copy link
Contributor

@prateekpandey14 prateekpandey14 commented Oct 15, 2017

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

**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
Copy link

codecov bot commented Oct 15, 2017

Codecov Report

Merging #116 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf93b23...3fdf2d5. Read the comment docs.

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

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 ?

Copy link
Contributor Author

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/*

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 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure !!!

@prateekpandey14
Copy link
Contributor Author

Done !!

GNUmakefile Outdated
@echo "----------------------------"
@echo "--> maya "
@echo "----------------------------"
@MAYACTL=${MAYACTL} sh -c "'$(PWD)/buildscripts/build.sh'"
@MAYACTL=${MAYACTL} sh -c "'$(PWD)/buildscripts/ctl/build.sh'"

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants