Skip to content

Commit

Permalink
chore(packages): use cardano-configs in cardano-node (#233)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 authored May 23, 2024
1 parent 1a2d87e commit f4ac6db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
28 changes: 0 additions & 28 deletions packages/cardano-node/cardano-node-8.7.3.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion packages/cardano-node/cardano-node-8.9.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: cardano-node
version: 8.9.2
description: Cardano node software by Input Output Global
dependencies:
- cardano-config >= 20240515
- cardano-cli >= 8.20
- mithril-client >= 0.7
installSteps:
Expand All @@ -12,10 +13,13 @@ installSteps:
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
NETWORK: '{{ .Context.Network }}'
binds:
- '{{ .Paths.ContextDir }}/config:/opt/cardano/config'
- '{{ .Paths.ContextDir }}/node-ipc:/ipc'
- '{{ .Paths.DataDir }}/data:/data'
ports:
- "3001"
- "12788"
- "12798"
pullOnly: false
- file:
binary: true
Expand All @@ -30,7 +34,6 @@ outputs:
description: Path to the Cardano Node UNIX socket
value: '{{ .Paths.ContextDir }}/node-ipc/node.socket'
preInstallScript: 'test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0 || mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest'
postInstallScript: 'mkdir -p {{ .Paths.ContextDir }}/config && docker cp {{ .Package.Name }}-{{ .Package.ShortName }}:/opt/cardano/config/{{ .Context.Network }}/ {{ .Paths.ContextDir }}/config/'
tags:
- docker
- linux
Expand Down

0 comments on commit f4ac6db

Please sign in to comment.