Adding S3 as option for sstate
Hi together,
We would like to extend poky to be able to write and read sstate packages not only from HTTP and FILE but also S3 buckets which would fit our CI setup much better than our current „zip everything and upload to S3“ in terms of incremental speed up builds. I already did some research if there is something read-to-use but didn’t find anything.
My two questions are:
1. Do you have any hint where to hook into? I already went through runqueue.py but I’m just a extensive user of poky, never worked on itself.
2. Would that change have any chance to be accepted upstream, or is this something too special for the project?
Best regards,
Alexander
Signature · 22 lines
— bitshift dynamics GmbH Neudorfer Str. 1, 79541 Lörrach Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747 Geschäftsführer: Alexander Nassian, Markus Pfaffinger http://www.bitshift-dynamics.de <http://www.bitshift-dynamics.de/> Zentrale: +49 762158673 - 0 Fax: +49 7621 58673 - 90 Allgemeine Anfragen: [email protected] <mailto:[email protected]> Technischer Support: [email protected] <mailto:[email protected]> Buchhaltung: [email protected] <mailto:[email protected]>
Quoted 8 lines · Alexander Nassian
Hi together,
We would like to extend poky to be able to write and read sstate packages not only from HTTP and FILE but also S3 buckets which would fit our CI setup much better than our current „zip everything and upload to S3“ in terms of incremental speed up builds. I already did some research if there is something read-to-use but didn’t find anything.
My two questions are:
1. Do you have any hint where to hook into? I already went throughrunqueue.pybut I’m just a extensive user of poky, never worked on itself.
2. Would that change have any chance to be accepted upstream, or is this something too special for the project?
I have a CI setup that I host in EC2 using an S3 bucket for mirroring and have implemented some hooks that make it work better for me. The basic parts consist of a replacement for the built-in S3 fetcher and a bbclass to assist with populating the S3-hosted mirror. I have a writeup on it at
https://github.com/madisongh/tegra-test-distro/wiki/Using-AWS-S3-for-sstate-and-downloads-mirrors
if you're interested. It may not be the right answer for you, but it may give you some ideas.
Regards,
-Matt
Quoted 42 lines
Best regards,
Alexander
--—
bitshift dynamics GmbH
Neudorfer Str. 1, 79541 Lörrach
Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747 Geschäftsführer: Alexander Nassian, Markus Pfaffingerhttp://www.bitshift-dynamics.de <http://www.bitshift-dynamics.de/>
Zentrale: +49 762158673 - 0
Fax: +49 7621 58673 - 90Allgemeine Anfragen:
[email protected] <mailto:[email protected]> Technischer
Support: [email protected] <mailto:[email protected]>
Buchhaltung:
[email protected] <mailto:[email protected]>
Thank you very much for your feedback and sharing your solution! I will definetly have a look into it, but had a very busy online training week.
If I see it right your class enables pulling sstate packages from S3 but not uploading them on the go like the filesystem module, right?
Beste Grüße / Best regards,
Alexander Nassian, Geschäftsführer / CEO
[email protected]
Quoted 24 lines
Am 14.11.2020 um 15:30 schrieb Matt Madison <[email protected]>:
Quoted 8 lines · Alexander Nassian
Hi together,
We would like to extend poky to be able to write and read sstate packages not only from HTTP and FILE but also S3 buckets which would fit our CI setup much better than our current „zip everything and upload to S3“ in terms of incremental speed up builds. I already did some research if there is something read-to-use but didn’t find anything.
My two questions are:
1. Do you have any hint where to hook into? I already went throughrunqueue.pybut I’m just a extensive user of poky, never worked on itself.
2. Would that change have any chance to be accepted upstream, or is this something too special for the project?I have a CI setup that I host in EC2 using an S3 bucket for mirroring and have implemented some hooks that make it work better for me. The basic parts consist of a replacement for the built-in S3 fetcher and a bbclass to assist with populating the S3-hosted mirror. I have a writeup on it at
https://github.com/madisongh/tegra-test-distro/wiki/Using-AWS-S3-for-sstate-and-downloads-mirrors
if you're interested. It may not be the right answer for you, but it may give you some ideas.Regards,
-Matt
Signature · 19 lines
— bitshift dynamics GmbH Neudorfer Str. 1, 79541 Lörrach Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747 Geschäftsführer: Alexander Nassian, Markus Pfaffinger https://bitshift-dynamics.com <https://bitshift-dynamics.com> Phone: +49 762158673 - 0 General support: [email protected] <mailto:[email protected]> Technical support: [email protected] <mailto:[email protected]> Accounting: [email protected] <mailto:[email protected]>
Quoted 4 lines · Alexander Nassian
Thank you very much for your feedback and sharing your solution! I will definetly have a look into it, but had a very busy online training week.
If I see it right your class enables pulling sstate packages from S3 but not uploading them on the go like the filesystem module, right?
No, it does handle uploading both downloaded source packages as well as sstate packages.
Regards,
-Matt
Quoted 48 lines
Beste Grüße / Best regards,
Alexander Nassian, Geschäftsführer / CEO
[email protected]Am 14.11.2020 um 15:30 schrieb Matt Madison <[email protected]>:
On Fri, Nov 13, 2020 at 11:50 PM Alexander Nassian <[email protected]> wrote:
Hi together,
We would like to extend poky to be able to write and read sstate packages not only from HTTP and FILE but also S3 buckets which would fit our CI setup much better than our current „zip everything and upload to S3“ in terms of incremental speed up builds. I already did some research if there is something read-to-use but didn’t find anything.
My two questions are:
1. Do you have any hint where to hook into? I already went throughrunqueue.pybut I’m just a extensive user of poky, never worked on itself.
2. Would that change have any chance to be accepted upstream, or is this something too special for the project?I have a CI setup that I host in EC2 using an S3 bucket for mirroring and have implemented some hooks that make it work better for me. The basic parts consist of a replacement for the built-in S3 fetcher and a bbclass to assist with populating the S3-hosted mirror. I have a writeup on it at
https://github.com/madisongh/tegra-test-distro/wiki/Using-AWS-S3-for-sstate-and-downloads-mirrors
if you're interested. It may not be the right answer for you, but it may give you some ideas.Regards,
-Matt—
bitshift dynamics GmbH
Neudorfer Str. 1, 79541 Lörrach
Registergericht: Amtsgericht Freiburg i. Breisgau, HRB 713747 Geschäftsführer: Alexander Nassian, Markus PfaffingerPhone: +49 762158673 - 0
General support: [email protected]
Technical support: [email protected]
Accounting: [email protected]