From d1130946040f79adc905e832665f70f5113304a1 Mon Sep 17 00:00:00 2001 From: Muskan Paliwal Date: Tue, 31 Oct 2023 18:47:44 +0530 Subject: [PATCH] added repo-profiler.pem file to test env --- Dockerfile | 1 + cloudbuild-test.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 63c8afae..fce162f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,7 @@ ENV SERVER_URL=$SERVER_URL COPY ./vibi-dpu/target/debug/vibi-dpu /app/vibi-dpu COPY ./pubsub-sa.json /app/pubsub-sa.json +COPY ./repo-profiler.pem /app/repo-profiler.pem # Start the Rust application CMD ["/app/vibi-dpu"] diff --git a/cloudbuild-test.yaml b/cloudbuild-test.yaml index 084ff5bb..3c86af13 100644 --- a/cloudbuild-test.yaml +++ b/cloudbuild-test.yaml @@ -2,6 +2,10 @@ steps: # Fetch the credentials from the GCP bucket - name: 'gcr.io/cloud-builders/gsutil' args: ['cp', 'gs://vibi-test-secrets/pubsub-sa-test.json', 'pubsub-sa.json'] + + - name: 'gcr.io/cloud-builders/gsutil' + args: ['cp', 'gs://vibi-test-secrets/repo-profiler-test.pem', 'repo-profiler.pem'] + # Perform cargo build inside vibi-dpu directory - name: 'rust:latest'