From 0ecad89912b2547e5309cac87aaa650e413b9efe Mon Sep 17 00:00:00 2001 From: Paul Steckler Date: Wed, 4 Oct 2023 16:23:10 -0700 Subject: [PATCH] Update berkeley replayer cron image --- helm/cron_jobs/berkeley-replayer-cronjob.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/cron_jobs/berkeley-replayer-cronjob.yaml b/helm/cron_jobs/berkeley-replayer-cronjob.yaml index 7f9e26f4f58..ee68d072856 100644 --- a/helm/cron_jobs/berkeley-replayer-cronjob.yaml +++ b/helm/cron_jobs/berkeley-replayer-cronjob.yaml @@ -32,12 +32,12 @@ spec: echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list; curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - ; apt-get update && apt-get install -y google-cloud-cli ; - ARCHIVE_DUMP_URI=$(gsutil ls gs://mina-archive-dumps/berkeley-archive-dump-*.sql.tar.gz | sort -r | head -n 1); + ARCHIVE_DUMP_URI=$(gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json ls gs://mina-archive-dumps/berkeley-archive-dump-*.sql.tar.gz | sort -r | head -n 1); ARCHIVE_DUMP=$(basename $ARCHIVE_DUMP_URI); ARCHIVE_SQL=$(basename $ARCHIVE_DUMP_URI .tar.gz); echo "Getting archive dump" $ARCHIVE_DUMP_URI; gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json cp $ARCHIVE_DUMP_URI . ; - MOST_RECENT_CHECKPOINT_URI=$(gsutil ls gs://berkeley-replayer-checkpoints/berkeley-replayer-checkpoint-*.json | sort -r | head -n 1); + MOST_RECENT_CHECKPOINT_URI=$(gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json ls gs://berkeley-replayer-checkpoints/berkeley-replayer-checkpoint-*.json | sort -r | head -n 1); MOST_RECENT_CHECKPOINT=$(basename $MOST_RECENT_CHECKPOINT_URI); echo "Getting replayer checkpoint file" $MOST_RECENT_CHECKPOINT; gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json cp $MOST_RECENT_CHECKPOINT_URI . ; @@ -77,7 +77,7 @@ spec: env: - name: GCLOUD_KEYFILE value: /gcloud/keyfile.json - image: gcr.io/o1labs-192920/mina-rosetta:2.0.0rampup2-feature-replayer-check-snark-ledger-hash-berkeley-c6da972-bullseye + image: gcr.io/o1labs-192920/mina-rosetta:2.0.0rampup4-14047c5-bullseye imagePullPolicy: IfNotPresent name: berkeley-replayer-cronjob resources: