From f38836776c9d27830c3e5d461db0cd2ffb2dfd3d Mon Sep 17 00:00:00 2001 From: DevopsGoth Date: Thu, 12 May 2022 15:18:00 -0600 Subject: [PATCH 01/61] resolving bug report on flag name --- run-chainweb-node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-chainweb-node.sh b/run-chainweb-node.sh index 6bfb77a..b9fd60c 100644 --- a/run-chainweb-node.sh +++ b/run-chainweb-node.sh @@ -9,7 +9,7 @@ export CHAINWEB_SERVICE_PORT=${CHAINWEB_SERVICE_PORT:-1848} export LOGLEVEL=${LOGLEVEL:-warn} export MINER_KEY=${MINER_KEY:-} export MINER_ACCOUNT=${MINER_ACCOUNT:-$MINER_KEY} -export ENABLE_ROSETTA=${ENABLE_ROSETTA:-} +export ROSETTA=${ROSETTA:-} export SKIP_REACHABILITY_CHECK=${SKIP_REACHABILITY_CHECK:-0} if [[ -z "$CHAINWEB_P2P_HOST" ]] ; then From a7850a8e812dfd0ea2c8381ba9216ae62c57c298 Mon Sep 17 00:00:00 2001 From: Louis Page Date: Wed, 17 May 2023 10:36:38 -0500 Subject: [PATCH 02/61] chainweb-node version 2.19 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 75ceccd..d47b98a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=09b4dc6 +ARG REVISION=0260628 ARG GHCVER=8.10.7 ARG UBUNTUVER ARG STRIP=1 From b419af5bee180f5986f50d110a6e06504402a36e Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Sat, 20 May 2023 21:44:40 -0700 Subject: [PATCH 03/61] chainweb-node version 2.19.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d47b98a..ae41beb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=0260628 +ARG REVISION=f9e4929 ARG GHCVER=8.10.7 ARG UBUNTUVER ARG STRIP=1 From e20e85121a56a0127528929461cc6c3065f3ecc2 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Fri, 21 Jul 2023 02:07:05 -0600 Subject: [PATCH 04/61] 2.19.2 release this will be automated soon --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ae41beb..bbf72be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=f9e4929 +ARG REVISION=7d06965 ARG GHCVER=8.10.7 ARG UBUNTUVER ARG STRIP=1 From c71fbce19c49ac7ddf070006c0bb600b016c74bb Mon Sep 17 00:00:00 2001 From: DevopsGoth Date: Fri, 21 Jul 2023 02:19:56 -0600 Subject: [PATCH 05/61] chainweb-node version 2.19.2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bbf72be..6b472e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ ENV LANG=en_US.UTF-8 # Install chainweb applications WORKDIR /chainweb -RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.${GHCVER}.ubuntu-${UBUNTUVER}.${REVISION}.tar.gz" \ +RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.false.${GHCVER}.ubuntu-${UBUNTUVER}.${REVISION}.tar.gz" \ | tar -xzC "/" \ chainweb/chainweb-node \ chainweb/LICENSE \ From 378232c72e23fc08b97c3d2e22d01293b28855fd Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:46:35 -0600 Subject: [PATCH 06/61] bump ghc to 9.6.2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6b472e8..12850d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} ARG REVISION=7d06965 -ARG GHCVER=8.10.7 +ARG GHCVER=9.6.2 ARG UBUNTUVER ARG STRIP=1 From 9b1fa031500e434806930b714da39b41d90810c5 Mon Sep 17 00:00:00 2001 From: "github-actions[chainweb-node release]" Date: Wed, 30 Aug 2023 21:26:37 +0000 Subject: [PATCH 07/61] chainweb-node version 2.20 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 12850d4..891d6e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=7d06965 +ARG REVISION=5615db5 ARG GHCVER=9.6.2 ARG UBUNTUVER ARG STRIP=1 From 6523c1183f56ba66a51fc05d73508575b0bf15d4 Mon Sep 17 00:00:00 2001 From: "github-actions[chainweb-node release]" Date: Wed, 11 Oct 2023 19:43:15 +0000 Subject: [PATCH 08/61] chainweb-node version 2.20 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 891d6e6..dba8233 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=5615db5 +ARG REVISION=667121e ARG GHCVER=9.6.2 ARG UBUNTUVER ARG STRIP=1 From 24d8bb72328c8699728ab987843118e8b2e48e7c Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:35:16 -0600 Subject: [PATCH 09/61] Create dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 73 +++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/workflows/dockerhub_release.yml diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml new file mode 100644 index 0000000..3605af3 --- /dev/null +++ b/.github/workflows/dockerhub_release.yml @@ -0,0 +1,73 @@ +name: Release - Bump and Publish Version + +## Release automation for chainweb-node +# Designed to run systems in chainweb/binary-release + +## Currently has manual version setting and creates draft releases; +# when we are confident in this process, it can auto-increment and publish non-drafts +# tbd: connect k8s firing mechanism, create and connect chainweb-node-docker update workflow + +run-name: "Release chainweb-node ${{ inputs.release_sha }} from ${{ github.sha}}" +on: + workflow_dispatch: + inputs: + SHORT_SHA: + description: "hash of chainweb-node release, default to branch running this job" + type: string + required: true + VERSION_NEW: + description: "The X.Y.Z tag for the new version" + type: string + required: true + +jobs: + Build-Push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + repository: kadena-io/chainweb-node-docker + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_PAT }} + + - name: Update Dockerfile reference sha + run: | + echo "DOCKERHUB_SHA=not yet updated" >> $GITHUB_ENV + sed -i -e "s/ARG REVISION=.*/ARG REVISION=${{ inputs.SHORT_REVISION }}/" Dockerfile + + - name: Build and push ubuntu image + uses: docker/build-push-action@v5 + with: + context: . + platforms: linux/amd64 + push: true + tags: kadena/chainweb-node:${{ inputs.VERSION_NEW }},kadena/chainweb-node:latest + + - name: Test run docker image + run: | + docker run --rm kadena/chainweb-node:${{ inputs.VERSION_NEW }} ./chainweb-node --version + + - name: Update master branch with dockerfile version + run: | + git config --local user.name "Kadena DevOps" + git config --local user.email "devops@kadena.io" + git add Dockerfile + git commit -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" + git tag chainweb-${{ inputs.VERSION_NEW }} + git push + + - name: Validate SHAs + run: | + ## spit these to output + digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') + digest2=$(docker inspect kadena/chainweb-node:latest --format '{{ .RepoDigests }}') + if [[ $digest1 != $digest2 ]]; then + echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_ENV + exit 1 + fi + echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_ENV + echo "DOCKERHUB_SHA=$digest1" From 719e48b2e3d65bb7d9c7d5034018483846b65037 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:40:03 -0600 Subject: [PATCH 10/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 3605af3..84a4217 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -37,7 +37,7 @@ jobs: - name: Update Dockerfile reference sha run: | echo "DOCKERHUB_SHA=not yet updated" >> $GITHUB_ENV - sed -i -e "s/ARG REVISION=.*/ARG REVISION=${{ inputs.SHORT_REVISION }}/" Dockerfile + sed -i -e "s/ARG REVISION=.*/ARG REVISION=${{ inputs.SHORT_SHA }}/" Dockerfile - name: Build and push ubuntu image uses: docker/build-push-action@v5 From 0abe0c9580bfa8e4aca558daf69ef05e081d2d5a Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:48:46 -0600 Subject: [PATCH 11/61] disable pushron publish-on-github.yaml --- .github/workflows/publish-on-github.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/publish-on-github.yaml b/.github/workflows/publish-on-github.yaml index 18b8a17..91c5bff 100644 --- a/.github/workflows/publish-on-github.yaml +++ b/.github/workflows/publish-on-github.yaml @@ -1,9 +1,5 @@ name: Publish Docker image on: - release: - types: [published] - push: - branchs: [master] workflow_dispatch: inputs: ubuntu_version: From 55d667a879d666ce2208a6e2372f1fe1188d7632 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:51:34 -0600 Subject: [PATCH 12/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 84a4217..d1a068d 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -58,7 +58,7 @@ jobs: git add Dockerfile git commit -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" git tag chainweb-${{ inputs.VERSION_NEW }} - git push + git push origin chainweb-${{ inputs.VERSION_NEW }} - name: Validate SHAs run: | From f11608e622db19a2852ba6d865f082a87ef157ad Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:55:01 -0600 Subject: [PATCH 13/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index d1a068d..10bcceb 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -56,8 +56,10 @@ jobs: git config --local user.name "Kadena DevOps" git config --local user.email "devops@kadena.io" git add Dockerfile - git commit -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" git tag chainweb-${{ inputs.VERSION_NEW }} + git commit --allow-empty -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" + # allow empty in case this is a re-run + git status git push origin chainweb-${{ inputs.VERSION_NEW }} - name: Validate SHAs From 6049431ca3b840f54b685e75f901c22443e7ddbf Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:16:33 -0700 Subject: [PATCH 14/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 10bcceb..b044c3c 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -19,7 +19,16 @@ on: description: "The X.Y.Z tag for the new version" type: string required: true - + workflow_call: + inputs: + SHORT_SHA: + description: "hash of chainweb-node release, default to branch running this job" + type: string + required: true + VERSION_NEW: + description: "The X.Y.Z tag for the new version" + type: string + required: true jobs: Build-Push: runs-on: ubuntu-latest From a5ab7ce4ede0ec4bebacaee356527887842b0026 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 13:42:57 -0700 Subject: [PATCH 15/61] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dba8233..e5dff23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} ARG REVISION=667121e -ARG GHCVER=9.6.2 +ARG GHCVER=9.6.3 ARG UBUNTUVER ARG STRIP=1 From 44476a931cef90832ba7d1e3f6ef232c12522a20 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:23:26 -0700 Subject: [PATCH 16/61] Allow for ghc version updates --- .github/workflows/dockerhub_release.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index b044c3c..b2d279b 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -19,6 +19,10 @@ on: description: "The X.Y.Z tag for the new version" type: string required: true + GHC_VERSION: + description: "Input an updated ghc version" + type: string + required: false workflow_call: inputs: SHORT_SHA: @@ -29,6 +33,11 @@ on: description: "The X.Y.Z tag for the new version" type: string required: true + GHC_VERSION: + description: "Input an updated ghc version" + type: string + required: false + jobs: Build-Push: runs-on: ubuntu-latest @@ -47,7 +56,12 @@ jobs: run: | echo "DOCKERHUB_SHA=not yet updated" >> $GITHUB_ENV sed -i -e "s/ARG REVISION=.*/ARG REVISION=${{ inputs.SHORT_SHA }}/" Dockerfile - + + - name: Update GHC version if needed + run: | + if [[ ! -z ${{ inputs.GHC_VERSION }} ]] + sed -i -e "s/ARG GHCVER=.*/ARG GHCVER=${{ inputs.GHC_VERSION }}/" Dockerfile + fi - name: Build and push ubuntu image uses: docker/build-push-action@v5 with: From 20b8ecb744e2e3020f1d93e60afc16b7ef092744 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:31:49 -0700 Subject: [PATCH 17/61] Add output of dockerhub sha --- .github/workflows/dockerhub_release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index b2d279b..8105efa 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -41,6 +41,8 @@ on: jobs: Build-Push: runs-on: ubuntu-latest + outputs: + DOCKERHUB_SHA: ${{ steps.validate-sha.outputs.DOCKERHUB_SHA }} steps: - uses: actions/checkout@v3 with: @@ -59,7 +61,7 @@ jobs: - name: Update GHC version if needed run: | - if [[ ! -z ${{ inputs.GHC_VERSION }} ]] + if [[ ! -z ${{ inputs.GHC_VERSION }} ]]; then sed -i -e "s/ARG GHCVER=.*/ARG GHCVER=${{ inputs.GHC_VERSION }}/" Dockerfile fi - name: Build and push ubuntu image @@ -86,6 +88,7 @@ jobs: git push origin chainweb-${{ inputs.VERSION_NEW }} - name: Validate SHAs + id: validate-sha run: | ## spit these to output digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') @@ -94,5 +97,5 @@ jobs: echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_ENV exit 1 fi - echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_ENV + echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_OUTPUT echo "DOCKERHUB_SHA=$digest1" From 4d8863ee85851ab26278e8c06973f9a12d9aab0b Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:47:46 -0700 Subject: [PATCH 18/61] dependency on gh_deploykey_chainwebdocker --- .github/workflows/dockerhub_release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 8105efa..5407d39 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -47,6 +47,7 @@ jobs: - uses: actions/checkout@v3 with: repository: kadena-io/chainweb-node-docker + ssh-key: ${{ secrets.GH_DEPLOYKEY_CHAINWEBDOCKER }} - name: Login to Docker Hub uses: docker/login-action@v3 From 031cfe4db73a1ca7cc426ae551c8d541114ec446 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:52:45 -0700 Subject: [PATCH 19/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 5407d39..dc50370 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -92,6 +92,8 @@ jobs: id: validate-sha run: | ## spit these to output + docker pull kadena/chainweb-node:${{ inputs.VERSION_NEW }} + docker pull kadena/chainweb-node:latest digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') digest2=$(docker inspect kadena/chainweb-node:latest --format '{{ .RepoDigests }}') if [[ $digest1 != $digest2 ]]; then From 9d25644f59bb0d8ac9e32f25944b45b900c60575 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:20:07 -0700 Subject: [PATCH 20/61] output value --- .github/workflows/dockerhub_release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index dc50370..73da433 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -37,6 +37,10 @@ on: description: "Input an updated ghc version" type: string required: false + outputs: + DOCKERHUB_SHA: + description: "The sha of the final dockerhub image" + value: ${{ jobs.Build-Push.outputs.DOCKERHUB_SHA }} jobs: Build-Push: @@ -97,8 +101,8 @@ jobs: digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') digest2=$(docker inspect kadena/chainweb-node:latest --format '{{ .RepoDigests }}') if [[ $digest1 != $digest2 ]]; then - echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_ENV + echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_OUTPUT exit 1 fi echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_OUTPUT - echo "DOCKERHUB_SHA=$digest1" + echo $digest1 From a2c6430cb041b2537eb57a17e133ba0a7edd41a3 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:31:21 -0700 Subject: [PATCH 21/61] dockerhub sha not updating --- .github/workflows/dockerhub_release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 73da433..db50f80 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -48,7 +48,7 @@ jobs: outputs: DOCKERHUB_SHA: ${{ steps.validate-sha.outputs.DOCKERHUB_SHA }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: kadena-io/chainweb-node-docker ssh-key: ${{ secrets.GH_DEPLOYKEY_CHAINWEBDOCKER }} @@ -69,6 +69,7 @@ jobs: if [[ ! -z ${{ inputs.GHC_VERSION }} ]]; then sed -i -e "s/ARG GHCVER=.*/ARG GHCVER=${{ inputs.GHC_VERSION }}/" Dockerfile fi + cat Dockerfile - name: Build and push ubuntu image uses: docker/build-push-action@v5 with: From 816edf9fe047c89ee8f35279d3ba4eee8c786143 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:40:01 -0700 Subject: [PATCH 22/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index db50f80..b67ec0d 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -91,7 +91,8 @@ jobs: git commit --allow-empty -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" # allow empty in case this is a re-run git status - git push origin chainweb-${{ inputs.VERSION_NEW }} + git push origin --tags + git push - name: Validate SHAs id: validate-sha @@ -105,5 +106,7 @@ jobs: echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_OUTPUT exit 1 fi + echo "Digest compare succeeded, new tags match" + echo "$digest1 and $digest2" echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_OUTPUT - echo $digest1 + echo "Pushed to github output" From 79eab131e9a2118ab9f3c8e5a5c61f3d690fbda4 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:44:33 -0700 Subject: [PATCH 23/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index b67ec0d..f6ebc2c 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -91,8 +91,8 @@ jobs: git commit --allow-empty -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" # allow empty in case this is a re-run git status - git push origin --tags git push + git push origin --tags - name: Validate SHAs id: validate-sha From 080b9657ef7e8c521803421c703e62c412c811be Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Dec 2023 22:45:34 +0000 Subject: [PATCH 24/61] chainweb-node version bump 2.22 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e5dff23..b5de8e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=667121e +ARG REVISION=b205880 ARG GHCVER=9.6.3 ARG UBUNTUVER ARG STRIP=1 From 23d4027352fffbf356117fb02228baa0fa77af27 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:51:43 -0700 Subject: [PATCH 25/61] Update dockerhub_release.yml --- .github/workflows/dockerhub_release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index f6ebc2c..746861a 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -87,10 +87,10 @@ jobs: git config --local user.name "Kadena DevOps" git config --local user.email "devops@kadena.io" git add Dockerfile - git tag chainweb-${{ inputs.VERSION_NEW }} git commit --allow-empty -m "chainweb-node version bump ${{ inputs.VERSION_NEW }}" # allow empty in case this is a re-run git status + git tag chainweb-${{ inputs.VERSION_NEW }} git push git push origin --tags @@ -102,11 +102,12 @@ jobs: docker pull kadena/chainweb-node:latest digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') digest2=$(docker inspect kadena/chainweb-node:latest --format '{{ .RepoDigests }}') + echo "$digest1 and $digest2" if [[ $digest1 != $digest2 ]]; then echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_OUTPUT + echo "sha mismatch between pushed images" exit 1 fi echo "Digest compare succeeded, new tags match" - echo "$digest1 and $digest2" echo "DOCKERHUB_SHA=$digest1" >> $GITHUB_OUTPUT echo "Pushed to github output" From c388cef3fce26c5fdaa0bd68f7a0c4ad8d986f80 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Dec 2023 22:53:35 +0000 Subject: [PATCH 26/61] chainweb-node version bump 2.22 From 0e6ca1814e622e3ff97ca9dc385938898d1b80b0 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Dec 2023 16:16:09 -0700 Subject: [PATCH 27/61] of course it's quotes --- .github/workflows/dockerhub_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index 746861a..bc4ded9 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -103,7 +103,7 @@ jobs: digest1=$(docker inspect kadena/chainweb-node:${{ inputs.VERSION_NEW }} --format '{{ .RepoDigests }}') digest2=$(docker inspect kadena/chainweb-node:latest --format '{{ .RepoDigests }}') echo "$digest1 and $digest2" - if [[ $digest1 != $digest2 ]]; then + if [[ "$digest1" != "$digest2" ]]; then echo "DOCKERHUB_SHA=sha mismatches in dockerhub image" >> $GITHUB_OUTPUT echo "sha mismatch between pushed images" exit 1 From 367e7552f066517fb453f48df5e2dabe222582da Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Dec 2023 23:17:16 +0000 Subject: [PATCH 28/61] chainweb-node version bump 2.22 From 28d0b4a0c6cae248f9f25520a7b4c323e3a4f95b Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Dec 2023 23:32:21 +0000 Subject: [PATCH 29/61] chainweb-node version bump 2.22 From 241da95cdfe5a40ef25d8afbfcec5e8d0251fb88 Mon Sep 17 00:00:00 2001 From: "github-actions[chainweb-node release]" Date: Sun, 3 Mar 2024 16:13:46 +0000 Subject: [PATCH 30/61] chainweb-node version 2.23 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b5de8e8..0842709 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=b205880 +ARG REVISION=f4a8d59 ARG GHCVER=9.6.3 ARG UBUNTUVER ARG STRIP=1 From 6750a769e3607bdec8bf9fcd859f779285d4a0a5 Mon Sep 17 00:00:00 2001 From: "github-actions[chainweb-node release]" Date: Fri, 8 Mar 2024 06:40:29 +0000 Subject: [PATCH 31/61] chainweb-node version 2.23.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0842709..5bce94a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=f4a8d59 +ARG REVISION=c7311ec ARG GHCVER=9.6.3 ARG UBUNTUVER ARG STRIP=1 From 65ab52b20c34e86787263ee44752e5dcf9930924 Mon Sep 17 00:00:00 2001 From: "github-actions[chainweb-node release]" Date: Tue, 19 Mar 2024 00:21:48 +0000 Subject: [PATCH 32/61] chainweb-node version 2.23.2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5bce94a..20377aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=c7311ec +ARG REVISION=5ca1ca1 ARG GHCVER=9.6.3 ARG UBUNTUVER ARG STRIP=1 From 0bb58a7a040d636254b6ae8bf5358791adc32ac2 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 23 May 2024 20:25:14 +0000 Subject: [PATCH 33/61] chainweb-node version bump 2.24 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 20377aa..0df86c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=5ca1ca1 -ARG GHCVER=9.6.3 +ARG REVISION=e363858 +ARG GHCVER=9.6.4 ARG UBUNTUVER ARG STRIP=1 From 98865fd17ebf39940a692adc019d22927ef7e1ad Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:17:40 -0600 Subject: [PATCH 34/61] freeze file use is true now --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0df86c7..32408e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ ENV LANG=en_US.UTF-8 # Install chainweb applications WORKDIR /chainweb -RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.false.${GHCVER}.ubuntu-${UBUNTUVER}.${REVISION}.tar.gz" \ +RUN curl -Ls "https://kadena-cabal-cache.s3.amazonaws.com/chainweb-node/chainweb.true.${GHCVER}.ubuntu-${UBUNTUVER}.${REVISION}.tar.gz" \ | tar -xzC "/" \ chainweb/chainweb-node \ chainweb/LICENSE \ From f98161526377bf325bb23599df5ef1d7beeebfc0 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 24 Jun 2024 21:19:42 +0000 Subject: [PATCH 35/61] chainweb-node version bump 2.24.1 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 32408e7..617d6ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=e363858 -ARG GHCVER=9.6.4 +ARG REVISION=89b0ac3 +ARG GHCVER=9.6.5 ARG UBUNTUVER ARG STRIP=1 From d568a6c7c076495660cec0fb11cc8acf7bdf63f7 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 24 Jun 2024 21:26:36 +0000 Subject: [PATCH 36/61] chainweb-node version bump 2.24.1 From 8ba8d751e3aeaa85618fd60dcd04855ac8357e10 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:28:08 -0600 Subject: [PATCH 37/61] force git push to allow re-runs with same tag --- .github/workflows/dockerhub_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub_release.yml b/.github/workflows/dockerhub_release.yml index bc4ded9..a0a9882 100644 --- a/.github/workflows/dockerhub_release.yml +++ b/.github/workflows/dockerhub_release.yml @@ -92,7 +92,7 @@ jobs: git status git tag chainweb-${{ inputs.VERSION_NEW }} git push - git push origin --tags + git push --force origin --tags - name: Validate SHAs id: validate-sha From b46d7f72d20af572c27e4ed66bc46c3c1a5215bc Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 24 Jun 2024 21:29:32 +0000 Subject: [PATCH 38/61] chainweb-node version bump 2.24.1 From 72fa8c189d174b975355563a291f91417368f66a Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 24 Jun 2024 21:33:23 +0000 Subject: [PATCH 39/61] chainweb-node version bump 2.24.1 From bc995d2d0c30929e1f5e9391abf4b3c3ed4b06a0 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 24 Jun 2024 22:04:41 +0000 Subject: [PATCH 40/61] chainweb-node version bump 2.24.1 From 69e637c2dfd2784ab7135ee21176c0fd43008cfe Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 19:30:10 +0000 Subject: [PATCH 41/61] chainweb-node version bump 2.25 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 617d6ef..6d7c53c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=89b0ac3 +ARG REVISION=7b2fb3b ARG GHCVER=9.6.5 ARG UBUNTUVER ARG STRIP=1 From b55c5b61a9c20bf10025368768148d2a060a1995 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 20:03:42 +0000 Subject: [PATCH 42/61] chainweb-node version bump 2.25 From aea5f4681a6950f36c232d911b0216a180ff24eb Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 21:06:33 +0000 Subject: [PATCH 43/61] chainweb-node version bump 2.25 From a1db09edbfb836baf65b8aa408817924d4938f92 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 21:13:13 +0000 Subject: [PATCH 44/61] chainweb-node version bump 2.25 From 98f68d522937f10b23a1bde4b5fcff310ffde14a Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 21:16:59 +0000 Subject: [PATCH 45/61] chainweb-node version bump 2.25 From 52871580e058e38c8049f39a645ddfc3abc147b9 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 15 Aug 2024 21:24:53 +0000 Subject: [PATCH 46/61] chainweb-node version bump 2.25 From 44c3fcab16172dc28792d3657f4cec6737d06dcf Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Sun, 25 Aug 2024 17:04:16 +0000 Subject: [PATCH 47/61] chainweb-node version bump 2.25.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6d7c53c..efffea1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=20.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=7b2fb3b +ARG REVISION=14ca523 ARG GHCVER=9.6.5 ARG UBUNTUVER ARG STRIP=1 From beeb80e643c6742e4b025707336a93501f549819 Mon Sep 17 00:00:00 2001 From: June <38109440+DevopsGoth@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:42:34 -0700 Subject: [PATCH 48/61] Update Dockerfile ubuntuver --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index efffea1..a6b336b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # --ulimit nofile=64000:64000 # BUILD PARAMTERS -ARG UBUNTUVER=20.04 +ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} From 87c1d5f52e6ee85e8160016a687a49a90b792826 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Nov 2024 22:47:14 +0000 Subject: [PATCH 49/61] chainweb-node version bump 2.26 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6b336b..d28362f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=14ca523 -ARG GHCVER=9.6.5 +ARG REVISION=f54fbeb +ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From d8c7b5e88130893adefffb9eb2f4cfb2ee6933e0 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 5 Nov 2024 23:59:51 +0000 Subject: [PATCH 50/61] chainweb-node version bump 2.26 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d28362f..61d5c90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=f54fbeb +ARG REVISION=40f49aa ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From f0c3fa4f9d2396f8d3a7c11dc0c527e75ff32963 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 3 Dec 2024 17:36:50 +0000 Subject: [PATCH 51/61] chainweb-node version bump 2.26.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 61d5c90..19a01fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=40f49aa +ARG REVISION=50a69fb ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From e742a8d27cfc6613a829f830734b7d912e6c2083 Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Thu, 12 Dec 2024 09:18:50 -0800 Subject: [PATCH 52/61] add libmpfr6 runtime dependency --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 19a01fa..ee38dfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ LABEL ubuntu="$UBUNTUVER" # install prerequisites RUN apt-get update \ - && apt-get install -y curl xxd openssl binutils libtbb2 libgflags2.2 libsnappy1v5 locales \ + && apt-get install -y curl xxd openssl binutils libtbb2 libgflags2.2 libsnappy1v5 locales libmpfr6 \ && rm -rf /var/lib/apt/lists/* \ && locale-gen en_US.UTF-8 \ && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 From eb619546295f5705ccb25cd48e31b51c78c27920 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Thu, 30 Jan 2025 16:21:26 +0000 Subject: [PATCH 53/61] chainweb-node version bump 2.27 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee38dfd..8753248 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=50a69fb +ARG REVISION=0c3de38 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From e01210c8fd30a5cde967d94fa02410af3c331689 Mon Sep 17 00:00:00 2001 From: chessai Date: Thu, 30 Jan 2025 21:04:40 -0600 Subject: [PATCH 54/61] delete rosetta from docker image --- README.md | 16 ---------------- run-chainweb-node.sh | 11 ----------- 2 files changed, 27 deletions(-) diff --git a/README.md b/README.md index 5565f8c..5068fa0 100644 --- a/README.md +++ b/README.md @@ -231,22 +231,6 @@ powerful enough to competitively mine on the Kadena Mainnet. Links to alternate mining software can be found [here](https://kadena-io.github.io/kadena-docs/Public-Chain-Docs/#start-mining). -# Enable [Rosetta API](https://www.rosetta-api.org/) - -The chainweb node has optional support for the rosetta API, which can be enabled -by setting the `ROSETTA` environment variable to any non-empty value. - -```sh -docker run \ - --detach \ - --publish 1848:1848 \ - --publish 1789:1789 \ - --env "ROSETTA=1" \ - --name chainweb-node \ - --mount type=volume,source=chainweb-data,target=/data \ - kadena/chainweb-node -``` - # API Overview TODO diff --git a/run-chainweb-node.sh b/run-chainweb-node.sh index b9fd60c..9a8bbac 100644 --- a/run-chainweb-node.sh +++ b/run-chainweb-node.sh @@ -9,7 +9,6 @@ export CHAINWEB_SERVICE_PORT=${CHAINWEB_SERVICE_PORT:-1848} export LOGLEVEL=${LOGLEVEL:-warn} export MINER_KEY=${MINER_KEY:-} export MINER_ACCOUNT=${MINER_ACCOUNT:-$MINER_KEY} -export ROSETTA=${ROSETTA:-} export SKIP_REACHABILITY_CHECK=${SKIP_REACHABILITY_CHECK:-0} if [[ -z "$CHAINWEB_P2P_HOST" ]] ; then @@ -59,15 +58,6 @@ chainweb: " fi -# ############################################################################ # -# Flags - -if [[ -n "$ROSETTA" ]] ; then - ROSETTA_FLAG="--rosetta" -else - ROSETTA_FLAG="--no-rosetta" -fi - # ############################################################################ # # Run node @@ -77,7 +67,6 @@ exec ./chainweb-node \ --p2p-hostname="$CHAINWEB_P2P_HOST" \ --p2p-port="$CHAINWEB_P2P_PORT" \ --service-port="$CHAINWEB_SERVICE_PORT" \ - "$ROSETTA_FLAG" \ --log-level="$LOGLEVEL" \ +RTS -N -t -A64M -H500M -RTS \ "$@" From 5b37167014a271c153065884576c5086bd2636ef Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Wed, 5 Feb 2025 01:38:31 +0000 Subject: [PATCH 55/61] chainweb-node version bump 2.27 From a0ffce641254c267fa52cc1729907ab266ec966e Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Mon, 3 Mar 2025 16:11:56 +0000 Subject: [PATCH 56/61] chainweb-node version bump 2.28 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8753248..6b2930b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=0c3de38 +ARG REVISION=80a188b ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From a24d1b9e2a50d9088775f771531c46efe79b9a00 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Sat, 19 Apr 2025 00:14:19 +0000 Subject: [PATCH 57/61] chainweb-node version bump 2.29 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6b2930b..0d9f9af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=80a188b +ARG REVISION=287c4c1 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From 428dad588e3d7192154ec68fed2b14d8960262e8 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Wed, 18 Jun 2025 00:11:58 +0000 Subject: [PATCH 58/61] chainweb-node version bump 2.29.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0d9f9af..74e88de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=287c4c1 +ARG REVISION=9b5a056 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From 60ea15969a45e713f1bb5ab7fa32ad1bba284bc2 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Wed, 9 Jul 2025 21:45:53 +0000 Subject: [PATCH 59/61] chainweb-node version bump 2.30 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 74e88de..cb6c176 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=9b5a056 +ARG REVISION=e0acda0 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From dc976158c08b938fef2fbef55d53373c3fce9772 Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Tue, 7 Oct 2025 18:38:50 +0000 Subject: [PATCH 60/61] chainweb-node version bump 2.31 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb6c176..877bd26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=e0acda0 +ARG REVISION=503ac67 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1 From 35f68c3f55ea19c2732aa5e9d72b41498ec98f8a Mon Sep 17 00:00:00 2001 From: Kadena DevOps Date: Fri, 10 Oct 2025 17:19:40 +0000 Subject: [PATCH 61/61] chainweb-node version bump 2.31.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 877bd26..b0970f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG UBUNTUVER=22.04 FROM ubuntu:${UBUNTUVER} -ARG REVISION=503ac67 +ARG REVISION=d7aee70 ARG GHCVER=9.8.2 ARG UBUNTUVER ARG STRIP=1