diff --git a/ansible/archival-snapshots/playbook.yml b/ansible/archival-snapshots/playbook.yml index 97a18eb9c..e3cf3c23c 100644 --- a/ansible/archival-snapshots/playbook.yml +++ b/ansible/archival-snapshots/playbook.yml @@ -5,7 +5,7 @@ local_resources_path: "resources" remote_resources_path: "/mnt/md0/exported/archival" zip_file_name: "resources.zip" - forest_version: "v0.17.1" + forest_version: "v0.17.2" forest_release_url: "https://github.com/ChainSafe/forest/releases/download/{{ forest_version }}/forest-{{ forest_version }}-linux-amd64.zip" tasks: - name: Check if AWS CLI is installed diff --git a/ansible/archival-snapshots/resources/diff_script.sh b/ansible/archival-snapshots/resources/diff_script.sh index 3bb9b2452..0f9295ca2 100755 --- a/ansible/archival-snapshots/resources/diff_script.sh +++ b/ansible/archival-snapshots/resources/diff_script.sh @@ -2,7 +2,7 @@ set -euxo pipefail -FOREST=/mnt/md0/exported/archival/forest-v0.17.1/forest-tool +FOREST=/mnt/md0/exported/archival/forest-v0.17.2/forest-tool UPLOADED_DIFFS=/mnt/md0/exported/archival/uploaded-diff-snaps.txt EPOCH_START="$1" diff --git a/ansible/archival-snapshots/resources/main.sh b/ansible/archival-snapshots/resources/main.sh index bbf1e6095..823d2254a 100755 --- a/ansible/archival-snapshots/resources/main.sh +++ b/ansible/archival-snapshots/resources/main.sh @@ -6,8 +6,8 @@ set -euxo pipefail GENESIS_TIMESTAMP=1598306400 SECONDS_PER_EPOCH=30 -FOREST_CLI="/mnt/md0/exported/archival/forest-v0.17.1/forest-cli" -FOREST_TOOL="/mnt/md0/exported/archival/forest-v0.17.1/forest-tool" +FOREST_CLI="/mnt/md0/exported/archival/forest-v0.17.2/forest-cli" +FOREST_TOOL="/mnt/md0/exported/archival/forest-v0.17.2/forest-tool" CURRENT_SNAPSHOT=$(aws --profile prod --endpoint "$ENDPOINT" s3 ls "s3://forest-archive/mainnet/lite/" | sort | tail -n 1 | awk '{print $NF}') CURRENT_EPOCH=$(echo "$CURRENT_SNAPSHOT" | awk -F'_' '{gsub(/[^0-9]/, "", $6); print $6}')