SymbiFlow / conda-packages

Conda build recipes for the toolchains needed by LiteX / MiSoC firmware
https://github.com/mithro/HDMI2USB-litex-firmware
Apache License 2.0
2 stars 10 forks source link

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

Open HackerFoo opened 3 years ago

HackerFoo commented 3 years ago

UnavailableInvalidChannel: The channel is not accessible or is invalid.

  channel name: HackerFoo

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

  error code: 404
``
litghost commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

umarcor commented 3 years ago

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

HackerFoo commented 3 years ago

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
HackerFoo/conda-packages
Conda build recipes for the toolchains needed by LiteX / MiSoC firmware - HackerFoo/conda-packages
GitHub
Build software better, together
GitHub is where people build software. More than 50 million people use GitHub to discover, fork, and contribute to over 100 million projects.