Skip to content

Commit

Permalink
devnet: Pin to commit, manually downloading cairo not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Feb 9, 2024
1 parent 58d9847 commit 49f4177
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions ops/charts/devnet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 49f4177

Please sign in to comment.