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

Non-zero exit code but package get's build and uploaded successfully #836

Open
timosachsenberg opened this issue Feb 9, 2023 · 0 comments

Comments

@timosachsenberg
Copy link

Hi, our bioconda build always returns with exit code != 0 because it doesn't find the tar.gz file

OpenMS/OpenMS#6514 (comment)

We disabled upload during build and the perform the upload separately - which works:

Using Anaconda API: https://api.anaconda.org
[DEBUG] Using token from command line args
Using "openms" as upload username
Processing '/home/builder/jenkins-ws/ws/openms/ntly/conda/output/linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2'
Detecting file type...
[DEBUG] Testing if conda package ..
[DEBUG] This is a conda package
File type is "conda"
Extracting conda package attributes for upload
Creating package "libopenms"
Creating release "3.0.0dev"
Uploading file "openms/libopenms/3.0.0dev/linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2"
[WARNING] Distribution "linux-64/libopenms-3.0.0dev-h135471a_0.tar.bz2" already exists. Removing.
Upload complete

Could this be an error in build?

jpfeuffer added a commit to jpfeuffer/bioconda-utils that referenced this issue Feb 24, 2023
bgruening added a commit that referenced this issue Nov 19, 2024
completely untested but it is an obvious bug.
If you want to change the package dirs earlier in the code somewhere,
please suggest changes

---------

Co-authored-by: Ryan Dale <[email protected]>
Co-authored-by: Johannes Köster <[email protected]>
Co-authored-by: Johannes Köster <[email protected]>
Co-authored-by: Björn Grüning <[email protected]>
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

1 participant