From e8acf0b02a51763cd932c2d8d4ff89c5c3e1dad5 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 23 May 2024 18:27:39 -0400 Subject: [PATCH] chore(packages): use cardano-configs in cardano-node Signed-off-by: Chris Gianelloni --- packages/cardano-node/cardano-node-8.7.3.yaml | 28 ------------------- packages/cardano-node/cardano-node-8.9.2.yaml | 5 +++- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 packages/cardano-node/cardano-node-8.7.3.yaml diff --git a/packages/cardano-node/cardano-node-8.7.3.yaml b/packages/cardano-node/cardano-node-8.7.3.yaml deleted file mode 100644 index cbe938d..0000000 --- a/packages/cardano-node/cardano-node-8.7.3.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: cardano-node -version: 8.7.3 -description: Cardano node software by Input Output Global -dependencies: - - cardano-cli >= 8.20 -installSteps: - - docker: - containerName: cardano-node - image: ghcr.io/blinklabs-io/cardano-node:8.7.3 - env: - CARDANO_NODE_SOCKET_PATH: /ipc/node.socket - NETWORK: '{{ .Context.Network }}' - binds: - - '{{ .Paths.ContextDir }}/node-ipc:/ipc' - - '{{ .Paths.DataDir }}/data:/data' - ports: - - "3001" - pullOnly: false -outputs: - - name: socket_path - description: Path to the Cardano Node UNIX socket - value: '{{ .Paths.ContextDir }}/node-ipc/node.socket' -tags: - - docker - - linux - - darwin - - amd64 - - arm64 diff --git a/packages/cardano-node/cardano-node-8.9.2.yaml b/packages/cardano-node/cardano-node-8.9.2.yaml index 87bbb64..13eee45 100644 --- a/packages/cardano-node/cardano-node-8.9.2.yaml +++ b/packages/cardano-node/cardano-node-8.9.2.yaml @@ -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: @@ -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 @@ -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