Skip to content

Commit

Permalink
deploy v1.6.0 to demo network (#4776)
Browse files Browse the repository at this point in the history
[dist.ipfs.tech](https://dist.ipfs.tech) is down and had to switch to
deploying from github instead

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Updated `bacalhau_version` to `"v1.6.0"` in production and staging
configurations.
- Enhanced the installation script for IPFS to download from a new
source, targeting the Kubo project.

- **Bug Fixes**
	- Addressed versioning issues in the IPFS installation process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
wdbaruni authored Dec 16, 2024
1 parent 6d61b6f commit 7498c46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ops/terraform/prod.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bacalhau_version = "v1.5.1"
bacalhau_version = "v1.6.0"
bacalhau_port = "1235"
bacalhau_environment = "production"
ipfs_version = "v0.18.1"
Expand Down
6 changes: 3 additions & 3 deletions ops/terraform/remote_files/scripts/install-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ function install-healthcheck() {

function install-ipfs() {
echo "Installing IPFS"
wget "https://dist.ipfs.tech/go-ipfs/${IPFS_VERSION}/go-ipfs_${IPFS_VERSION}_linux-amd64.tar.gz"
tar -xvzf "go-ipfs_${IPFS_VERSION}_linux-amd64.tar.gz"
wget "https://github.com/ipfs/kubo/releases/download/${IPFS_VERSION}/kubo_${IPFS_VERSION}_linux-amd64.tar.gz"
tar -xvzf "kubo_${IPFS_VERSION}_linux-amd64.tar.gz"
# TODO should reset PWD to home dir after each function call
pushd go-ipfs
pushd kubo
sudo bash install.sh
ipfs --version
popd
Expand Down
2 changes: 1 addition & 1 deletion ops/terraform/stage.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bacalhau_version = "v1.5.1"
bacalhau_version = "v1.6.0"
bacalhau_branch = "" # deploy from a branch instead of the version above
bacalhau_port = "1235"
bacalhau_environment = "staging"
Expand Down

0 comments on commit 7498c46

Please sign in to comment.