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

CI fails on forks if user doesn't have their own channel at conda.anaconda.org #144

Open
HackerFoo opened this issue Nov 17, 2020 · 5 comments

Comments

@HackerFoo
Copy link

UnavailableInvalidChannel: The channel is not accessible or is invalid.

  channel name: HackerFoo

  channel url: https://conda.anaconda.org/HackerFoo

  error code: 404
``
@litghost
Copy link

litghost commented Nov 17, 2020

This is not a bug? Presubmit doesn't try to push to anaconda, and master is for pushing packages to anaconda. I don't believe there is a use case for per user channels?

@umarcor
Copy link
Member

umarcor commented Nov 17, 2020

This is not a bug? Presubmit doesn't try to push to anaconda, and master is for pushing packages to anaconda. I don't believe there is a use case for per user channels?

master will run in the forks too, where it won't find the expected environment. I suggest adding a condition to https://github.com/SymbiFlow/conda-packages/blob/master/.travis/after_success.sh#L19, so it is skipped when the repo is not SymbiFlow/conda-packages.

@HackerFoo
Copy link
Author

The test fails before it attempts to build the package, so you can't test on CI without a PR.

@HackerFoo HackerFoo reopened this Nov 18, 2020
@umarcor
Copy link
Member

umarcor commented Nov 18, 2020

@HackerFoo, mind providing a link to specific fork and CI runs where you are finding this issue?

@HackerFoo
Copy link
Author

HackerFoo commented Nov 18, 2020

It should be easy to reproduce - any fork should fail. Here's one of mine:

https://github.com/HackerFoo/conda-packages/tree/symbiflow-vtr-optimized-master+wip
https://github.com/HackerFoo/conda-packages/runs/1414776712

GitHub
Conda build recipes for the toolchains needed by LiteX / MiSoC firmware - HackerFoo/conda-packages
GitHub
GitHub is where people build software. More than 50 million people use GitHub to discover, fork, and contribute to over 100 million projects.

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