Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(packages): cardano-node 9.0.0 #272

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions packages/cardano-node/cardano-node-9.0.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: cardano-node
version: 9.0.0
description: Cardano node software by Input Output Global
dependencies:
- cardano-config = 20240702
- cardano-cli >= 9.0
- mithril-client >= 0.8
installSteps:
- docker:
containerName: cardano-node
image: ghcr.io/blinklabs-io/cardano-node:9.0.0
env:
CARDANO_NODE_SOCKET_PATH: /ipc/node.socket
NETWORK: '{{ .Context.Network }}'
RESTORE_NETWORK: 'false'
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
filename: nview
source: files/nview.sh.gotmpl
- file:
binary: true
filename: txtop
source: files/txtop.sh.gotmpl
outputs:
- name: port
description: Ouroboros Node-to-Node service
value: '{{ index (index .Ports "cardano-node") "3001" }}'
- name: socket_path
description: Path to the Cardano Node UNIX socket
value: '{{ .Paths.ContextDir }}/node-ipc/node.socket'
preInstallScript: |
set -e
test -e {{ .Paths.DataDir }}/data/db/protocolMagicId && exit 0
mithril-client cardano-db download --download-dir {{ .Paths.DataDir }}/data latest
tags:
- docker
- linux
- darwin
- amd64
- arm64