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

Use yarn for UI build #100

Merged
merged 8 commits into from
Apr 12, 2017
Merged

Use yarn for UI build #100

merged 8 commits into from
Apr 12, 2017

Conversation

black-adder
Copy link
Contributor

Install yarn in travis and use it for the UI build

.travis.yml Outdated
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
Copy link
Member

Choose a reason for hiding this comment

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

I would've thought sudo apt-get install -y -qq yarn should install all the dependencies.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@black-adder black-adder changed the title [WIP] Use yarn for UI build Use yarn for UI build Apr 12, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.941% when pulling 63a607e on use_yarn into aac4033 on master.

@@ -10,7 +10,7 @@ echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, REPO=$REPO, PR=$PR, BRANCH=$BRANCH, TAG=$TAG
make build-all-in-one-linux

# Only push the docker container to Docker Hub for master branch
if [ "$BRANCH" == "master" ]; then echo 'upload to Docker Hub'; else echo 'skip docker upload for PR'; exit 0; fi
#if [ "$BRANCH" == "master" ]; then echo 'upload to Docker Hub'; else echo 'skip docker upload for PR'; exit 0; fi
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is just for testing, gonna upload the container to docker hub to make sure the UI works. Will uncomment later.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.941% when pulling bab6a3a on use_yarn into aac4033 on master.

@black-adder
Copy link
Contributor Author

This works as intended; the containerized UI looks good.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.941% when pulling bab6a3a on use_yarn into aac4033 on master.

.travis.yml Outdated
before_install:
# Repo for newer Node.js versions
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# Repo for Yarn
Copy link
Member

Choose a reason for hiding this comment

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

@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.941% when pulling dd1e179 on use_yarn into aac4033 on master.

@black-adder black-adder merged commit 7e6aa97 into master Apr 12, 2017
@black-adder black-adder deleted the use_yarn branch April 12, 2017 20:48
ideepika pushed a commit to ideepika/jaeger that referenced this pull request Oct 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants