From d104cf651fa473c2bca218a4f077dbedacfd5768 Mon Sep 17 00:00:00 2001 From: alvarof2 Date: Thu, 19 Sep 2024 16:01:38 +0200 Subject: [PATCH] Add genesis and fix path --- .../templates/scripts/_compress-and-upload.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/cel2-migration-tool/templates/scripts/_compress-and-upload.tpl b/charts/cel2-migration-tool/templates/scripts/_compress-and-upload.tpl index c8e6b7f8..e113f538 100644 --- a/charts/cel2-migration-tool/templates/scripts/_compress-and-upload.tpl +++ b/charts/cel2-migration-tool/templates/scripts/_compress-and-upload.tpl @@ -7,7 +7,10 @@ source /root/google-cloud-sdk/path.bash.inc /root/google-cloud-sdk/bin/gcloud components install alpha -q # Uplaod rollup config -/root/google-cloud-sdk/bin/gcloud alpha storage cp /output/config/rollup-config.json gs://{{ .Values.gcsBucket | trimPrefix "gs://" | trimSuffix "/" }}/{{ .Values.cel2NetworkName }}-rollup.json +/root/google-cloud-sdk/bin/gcloud alpha storage cp /output/config/rollup.json gs://{{ .Values.gcsBucket | trimPrefix "gs://" | trimSuffix "/" }}/{{ .Values.cel2NetworkName }}-rollup.json + +# Uplaod genesis +/root/google-cloud-sdk/bin/gcloud alpha storage cp /output/config/genesis.json gs://{{ .Values.gcsBucket | trimPrefix "gs://" | trimSuffix "/" }}/{{ .Values.cel2NetworkName }}-genesis.json # Delete jwt and nodekey rm -f /output/geth/nodekey /output/geth/jwtsecret