privacysandbox / aggregation-service

This repository contains instructions and scripts to set up and test the Privacy Sandbox Aggregation Service
Apache License 2.0
64 stars 34 forks source link

Build Feature: GCP Build to upload zips to GCS #50

Open evgenyy-google opened 6 months ago

evgenyy-google commented 6 months ago

Hello,

I'm trying to build and deploy images based on the steps here: https://github.com/privacysandbox/aggregation-service/blob/2b3d5c450d0be4e2ce0f4cb49444f3f049508917/build-scripts/gcp/cloudbuild.yaml

This uploads the compiled JAR files to the bucket, however I can not use these directly in cloud functions and have to download them, zip them, and reupload them (this is automaticely done for users in terraform). Ideally I'd like to skip this step and was hoping to be able to directly upload those JAR files zipped.

kibab commented 6 months ago

You would also need to publish the hashes of zipped artifacts as well.

hostirosti commented 6 months ago

Hashes of published artifacts are published on our release page.

image

We'll investigate if using the jar files directly from GCS buckets is possible.