Skip to content

Build info does not include conan_package.tgz #205

@Krakenus00

Description

@Krakenus00

Hi

I'm creating a new CI/CD infrastructure for our Conan 2.x packages. I used the demo in this repo as a reference to create build infos. The problem is that they don't include the most important part of a package, the archive with binaries and stuff.

It's weird that build-info only includes conanfile.py, conaninfo.txt, and metadata. Dumps from conan upload ... --format=json show that conan_package.tgz exists and was uploaded.

So my scripts do the following:
For each package:

conan create ... --format=json > unique_id.json
conan art:build-info create unique_id.json extra_unique_id 1 my_repo --server my_server > extra_unique_id.json

Upload:

conan remote login my_repo
conan upload --confirm -r my_repo *
conan remote logout my_repo

# For each build info:
conan art:build-info upload extra_unique_id.json --server my_server

# And then aggregate 
conan art:build-info append aggregate 1 --build-info=extra_unique_id,1 ... > aggregate.json
conan art:build-info upload aggregate.json --server my_server

Then I wanted to promote the aggregate, but it does not include build artefacts.

The Conan recipes are primitive, as we only repack existing archives.

Am I doing something wrong? Also, any advice on how to improve batch upload would be appreciated.

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions