fix grouping GT vs prediction by not assuming only pred have score - #14
fix grouping GT vs prediction by not assuming only pred have score#14bertsky wants to merge 9 commits into
Conversation
|
I've merged the current master to give the new CI a try. Unfortunately, the credentials problem persists... The current Github workflow configuration still tries to build and push Docker images for pull requests. IMHO @i008 you need two different job definitions here, one for push to master (including all steps of the |
|
If you work on the fork it will not work. Dockerhub credentials are added
to the original repo and only accessible here. But I assume once you open a
pr it will work properly?
…On Wed, Mar 24, 2021, 12:28 AM Robert Sachunsky ***@***.***> wrote:
I've merged the current master to give the new CI a try. Unfortunately,
the credentials problem persists...
The current Github workflow configuration still tries to *build and push
Docker images for pull requests*. IMHO @i008 <https://github.com/i008>
you need two different job definitions here, one for push to master
(including all steps of the setup-build-publish job) and one for PRs
(only Checkout and Build).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTZGEII5UO27LRWESABVXDTFEP2HANCNFSM4ZUCZXBQ>
.
|
|
I don't see much value in just building without pushing for manual testing.
…On Wed, Mar 24, 2021, 12:32 AM Jakub Cieslik ***@***.***> wrote:
If you work on the fork it will not work. Dockerhub credentials are added
to the original repo and only accessible here. But I assume once you open a
pr it will work properly?
On Wed, Mar 24, 2021, 12:28 AM Robert Sachunsky ***@***.***>
wrote:
> I've merged the current master to give the new CI a try. Unfortunately,
> the credentials problem persists...
>
> The current Github workflow configuration still tries to *build and push
> Docker images for pull requests*. IMHO @i008 <https://github.com/i008>
> you need two different job definitions here, one for push to master
> (including all steps of the setup-build-publish job) and one for PRs
> (only Checkout and Build).
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#14 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABTZGEII5UO27LRWESABVXDTFEP2HANCNFSM4ZUCZXBQ>
> .
>
|
|
Ok it seems it's more complicated that this i guess using the github registry might be a better way. Will check. |
I disagree. Whether or not an image can be built at all is already a test on its own. Pushing certainly is not, and can (must) be reserved for As soon as someone comes up with more elaborate checks (unit tests or smoke tests for a demo on sample data), that could be integrated into both strains.
No, because a PR is technically a branch on a fork (for which a ref/alias exists) – see above.
I don't think it's complicated at all from here on. You've already covered all the bases, just differentiate the jobs for |
I ment its more complicated to have builds and pushing to a open registry, from a PR. not just commit to the repo . Anyhow i guess you are right i was not exactly sure what happens on a PR and wrongly assumed this might work:P |
|
@bertsky Please chceck the current workflow in master if this will work. |
|
Oh, now I understand. I am a bit surprised you prefer Docker for testing over a native venv, but in that case, I always try to keep an up-to-date
Will do... |
So partial success it is. PR still triggers the publish job (which fails), but also the build job. Cannot open suggestions without an open PR for the CI, but I propose the following changes:
|
…rainset-can-have-scores
This removes the assumption that only the prediction dataset contains
scorevalues.