diff --git a/.github/workflows/actions/publish-npm-package/action.yml b/.github/workflows/actions/publish-npm-package/action.yml index fc1f6088e1f..3c0d43bbe88 100644 --- a/.github/workflows/actions/publish-npm-package/action.yml +++ b/.github/workflows/actions/publish-npm-package/action.yml @@ -75,4 +75,5 @@ runs: NPM_TOKEN: ${{ inputs.api_token }} run: | echo "Publish '@${{ inputs.scope }}/${{ inputs.package }}' package" + cd ${{ inputs.package }}/pkg npm publish --tag ${{ inputs.tag }} --access ${{ inputs.access }} diff --git a/mithril-infra/assets/infra.version b/mithril-infra/assets/infra.version index a53741c09b8..967b33ffb25 100644 --- a/mithril-infra/assets/infra.version +++ b/mithril-infra/assets/infra.version @@ -1 +1 @@ -0.2.6 \ No newline at end of file +0.2.7 \ No newline at end of file diff --git a/mithril-infra/mithril.aggregator.tf b/mithril-infra/mithril.aggregator.tf index a71817c2570..e36f31ab41e 100644 --- a/mithril-infra/mithril.aggregator.tf +++ b/mithril-infra/mithril.aggregator.tf @@ -35,6 +35,8 @@ set -e # Setup cardano node configuration AGGREGATOR_CONFIG_DIRECTORY=/home/curry/data/${var.cardano_network}/mithril-aggregator/cardano/config cp -R /home/curry/docker/cardano-configurations/network/${var.cardano_network}_p2p $AGGREGATOR_CONFIG_DIRECTORY +rm -rf $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network} +mv $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}_p2p $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network} cat $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json | jq ".hasPrometheus[0] |= \"cardano-node-aggregator\"" > $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json.new rm -f $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json mv $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json.new $AGGREGATOR_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json diff --git a/mithril-infra/mithril.signer.tf b/mithril-infra/mithril.signer.tf index 99c6520cca0..b0e5a5d99fc 100644 --- a/mithril-infra/mithril.signer.tf +++ b/mithril-infra/mithril.signer.tf @@ -57,6 +57,8 @@ for SIGNER_TYPE in $SIGNER_TYPES; do SIGNER_TYPE_CONFIG_DIRECTORY=/home/curry/data/${var.cardano_network}/mithril-signer-${each.key}/cardano/config/$SIGNER_TYPE mkdir -p $SIGNER_TYPE_CONFIG_DIRECTORY cp -R /home/curry/docker/cardano-configurations/network/${var.cardano_network}_p2p $SIGNER_TYPE_CONFIG_DIRECTORY + rm -rf $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network} + mv $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}_p2p $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network} cat $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json | jq ".hasPrometheus[0] |= \"cardano-node-$SIGNER_TYPE-signer-${each.key}\"" > $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json.new rm -f $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json mv $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json.new $SIGNER_TYPE_CONFIG_DIRECTORY/${var.cardano_network}/cardano-node/config.json