Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Upload script won't work on drone v0.4 #116

Open
foresmac opened this issue Nov 18, 2015 · 0 comments
Open

Upload script won't work on drone v0.4 #116

foresmac opened this issue Nov 18, 2015 · 0 comments
Assignees

Comments

@foresmac
Copy link
Contributor

Build steps on drone v0.4 don't have access to environment variables injected via the secrets file. Therefore, the upload script needs to check for the existence of CVR_TOKEN, and if it isn't available look for REPO_OWNER and REPO_NAME and send those params instead of a token. If all are missing, error out.

I.e.,

"${COVERAGE_URL}?owner=${REPO_OWNER}&repo=${REPO_NAME}&commit=${GIT_HASH}&coveragetype=${COVERAGE_TYPE}"
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

2 participants