Skip to content

Commit

Permalink
chore(packages): use cardano-configs in cardano-node
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 committed May 23, 2024
1 parent b8d1770 commit e8acf0b
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 e8acf0b

Please sign in to comment.