Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Travis fails on all PRs #114

Closed
ixdy opened this issue Oct 15, 2018 · 3 comments
Closed

Travis fails on all PRs #114

ixdy opened this issue Oct 15, 2018 · 3 comments

Comments

@ixdy
Copy link

ixdy commented Oct 15, 2018

It looks like the Travis configuration uses secret environment variables to log into various docker repositories, but Travis only exports these variables on postsubmit runs (to prevent them from being stolen).

As a result, all PRs fail tests, which is not a great user experience.

@bajacondor
Copy link

Does anyone at Google own this?

@KaylaNguyen
Copy link
Contributor

I will look into this.

@KaylaNguyen
Copy link
Contributor

By default, Travis tests fail on all external PRs due to security reason: https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
You are correct. We do use secret environment variables for logins. During Travis run, contributors can run malicious scripts to get those credentials and we of course don't want that.

There are ways to work around, e.g. https://blog.algolia.com/travis-encrypted-variables-external-contributions/ and discussion about it, e.g. OHDSI/Achilles#165

Since currently there's no plan to maintain this repository, I would only consider urgent CLs to merge in our codebase. Our suggestion is to migrate to our Golang library as Github is the source of truth for the repo and is actively maintained - https://github.com/google/go-containerregistry

Thanks for your understanding.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants