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

Travis #188

Closed
enyachoke opened this issue Jan 17, 2017 · 5 comments
Closed

Travis #188

enyachoke opened this issue Jan 17, 2017 · 5 comments
Assignees

Comments

@enyachoke
Copy link

We are working on an opensource product and accept external pull requests from forks. Unfortunately we can't use kendo with travis because of authentication any way around this?

@tsvetomir tsvetomir self-assigned this Jan 17, 2017
@tsvetomir
Copy link
Member

You can use the following .travis.yml configuration to set up your .npmrc file:

before_install:
  - echo "@progress:registry=https://registry.npm.telerik.com/" > .npmrc
  - echo "//registry.npm.telerik.com/:_authToken=\"$PROGRESS_REGISTRY_TOKEN\"" >> .npmrc

Here PROGRESS_REGISTRY_TOKEN is an environment variable set in the build settings. You can take it from your local ~/.npmrc file after logging in.

@enyachoke
Copy link
Author

@tsvetomir Thanks for the response. My understanding is that for security reasons the env variables are not available to forks. In our current setup we don't do development on the main repo everybody works from a fork and makes pull request which means for us to use kendo we have to change our process I really hope there is another way because really like kendo.

@tsvetomir
Copy link
Member

You can use encrypted variables in .travis.yml as alternative. Each user will have to encrypt his access token as the encryption keys are tied to the fork.

@enyachoke
Copy link
Author

I see we shall try that

@KirilNN KirilNN closed this as completed Feb 15, 2017
@tsvetomir
Copy link
Member

The Build Agents Authentication has been published. Let us know if you have any further questions.

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

No branches or pull requests

3 participants