[CDRIVER-1991] Unfinished "make-release-archive" logic in config.yml Created: 13/Jan/17  Updated: 24/Jan/17  Resolved: 24/Jan/17

Status: Closed
Project: C Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Bug Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

There's some funny logic in libbson's config.yml, maybe in libmongoc's too.

At the start of the build, "fetch source" both gets the source from git, and also curls libbson-${CURRENT_VERSION}.tar.gz from S3 if it exists (which it often doesn't).

At the end of the build, "upload artifacts" archives the working directory into artifacts.tar.gz twice. Then, it ignores artifacts.tar.gz, and uploads the file it got from S3 (if any) in the "fetch source" step.



 Comments   
Comment by Hannes Magnusson [ 24/Jan/17 ]

this should be fixed now

Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1991 Ensure we limit the hex to 7 digits
Branch: master
https://github.com/mongodb/libbson/commit/39a2ce7189c56b6d5aca7954f5ee90db3b5006e8

Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1991 Ensure we limit the hex to 7 digits
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/670366c954d6cd1c8ac609e9b76aa5fe6616062c

Comment by Hannes Magnusson [ 24/Jan/17 ]

adding --abbrev=7 should ensure its always 7, even though it is the default value. Maybe there is a strange config on that host?

Comment by Githook User [ 24/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1991 Compress the archive once and upload the right file
Branch: master
https://github.com/mongodb/libbson/commit/1d461e491be7514feca2c6f4a9ac381f28d3f484

Comment by Hannes Magnusson [ 20/Jan/17 ]

The clang task is failing to fetch the prepared release archive because the URL its trying to fetch is wrong:
http://s3.amazonaws.com/mciuploads/mongo-c-driver/mongo-c-driver-1.5.0-rc4-110-gc4fb5bea-patch-587d57eb3ff1224ad7000a32.tar.gz
vs
http://s3.amazonaws.com/mciuploads/mongo-c-driver/mongo-c-driver-1.5.0-rc4-110-gc4fb5be-patch-587d57eb3ff1224ad7000a32.tar.gz

The "1.5.0-rc4-110-gc4fb5be" is created by running git describe.
I have no idea how that could possibly be returning different value for that particular task, or why and random "a" is appended to it.

Generated at Wed Feb 07 21:13:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.