From 49f4177496ea6004a47dc9ec2f8f38812cdf9807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Fri, 9 Feb 2024 11:47:35 +0900 Subject: [PATCH] devnet: Pin to commit, manually downloading cairo not needed anymore --- ops/charts/devnet/templates/deployment.yaml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/ops/charts/devnet/templates/deployment.yaml b/ops/charts/devnet/templates/deployment.yaml index 05ce214d4..802df4466 100644 --- a/ops/charts/devnet/templates/deployment.yaml +++ b/ops/charts/devnet/templates/deployment.yaml @@ -21,22 +21,6 @@ spec: - name: vol hostPath: path: /dumps - - name: cairo-build - emptyDir: {} - initContainers: # TODO: probably not needed anymore - - name: cairo-download - image: appropriate/curl - command: ["/bin/sh"] - args: - - "-c" - - | - mkdir -p cairo-build - curl -L --output release.tgz https://github.com/starkware-libs/cairo/releases/download/v2.4.3/release-x86_64-unknown-linux-musl.tar.gz - tar xzf release.tgz - mv cairo/* cairo-build/ - volumeMounts: - - name: cairo-build - mountPath: /cairo-build containers: - name: {{ .Chart.Name }} volumeMounts: @@ -45,9 +29,7 @@ spec: {{- if eq .Values.real_node true }} image: "{{ .Values.repository | default "eqlabs/pathfinder"}}:{{ .Values.tag | default "v0.1.8-alpha"}}" {{- else }} - - name: cairo-build - mountPath: /cairo-build - image: "{{ .Values.repository | default "shardlabs/starknet-devnet-rs"}}:{{ .Values.tag | default "latest"}}" + image: "{{ .Values.repository | default "shardlabs/starknet-devnet-rs"}}:{{ .Values.tag | default "d7c168ac53da3e9d717ed3ff8dad665ccade43e0"}}" args: ["--port", {{ .Values.service.internalPort | quote}}, "--seed", {{ .Values.seed | quote}}, "--account-class", "cairo1", "--gas-price", "1"] {{- end }} imagePullPolicy: IfNotPresent