From 2c4963f6c16e68834fe4ec4a8f68f5e8f2417ae1 Mon Sep 17 00:00:00 2001 From: Walid Baruni Date: Mon, 28 Oct 2024 08:10:18 +0200 Subject: [PATCH] release 1.5.1 (#4668) Fix release pipeline and deploy v1.5.1 to stating and demo networks --- buildkite/scripts/release_cli.sh | 4 ++-- ops/terraform/main.tf | 1 - ops/terraform/prod.tfvars | 2 +- ops/terraform/remote_files/scripts/start-bacalhau.sh | 1 - ops/terraform/stage.tfvars | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/buildkite/scripts/release_cli.sh b/buildkite/scripts/release_cli.sh index 820c924f32..f4a839fbe5 100644 --- a/buildkite/scripts/release_cli.sh +++ b/buildkite/scripts/release_cli.sh @@ -16,12 +16,12 @@ download_artifact() { upload_artifact_to_github() { echo "$BACALHAU_RELEASE_TOKEN" | gh auth login --with-token - if [ -z "$BUILDKITE_TAG" ]; then + if [ -z "${BUILDKITE_TAG:-}" ]; then echo "Tag is Missing" exit 1 fi - gh release upload $BUILDKITE_TAG bacalhau_$BUILDKITE_TAG_* + gh release upload "$BUILDKITE_TAG" bacalhau_"${BUILDKITE_TAG}"* } main() { diff --git a/ops/terraform/main.tf b/ops/terraform/main.tf index da5d9fa6d5..e29595ef5d 100644 --- a/ops/terraform/main.tf +++ b/ops/terraform/main.tf @@ -70,7 +70,6 @@ export OTEL_RESOURCE_ATTRIBUTES="deployment.environment=${terraform.workspace}" export BACALHAU_ORCHESTRATORS="${var.internal_ip_addresses[0]}:4222" export BACALHAU_ORCHESTRATOR_ADVERTISE="${var.public_ip_addresses[count.index]}:4222" export BACALHAU_LOCAL_PUBLISHER_ADDRESS="${var.public_ip_addresses[count.index]}" -export BACALHAU_WEBUI_BACKEND="http://${var.public_ip_addresses[0]}:1234" ### secrets are installed in the install-node.sh script export SECRETS_GRAFANA_CLOUD_PROMETHEUS_API_KEY="${var.grafana_cloud_prometheus_api_key}" diff --git a/ops/terraform/prod.tfvars b/ops/terraform/prod.tfvars index c626227559..6d212fe323 100644 --- a/ops/terraform/prod.tfvars +++ b/ops/terraform/prod.tfvars @@ -1,4 +1,4 @@ -bacalhau_version = "v1.5.0" +bacalhau_version = "v1.5.1" bacalhau_port = "1235" bacalhau_environment = "production" ipfs_version = "v0.18.1" diff --git a/ops/terraform/remote_files/scripts/start-bacalhau.sh b/ops/terraform/remote_files/scripts/start-bacalhau.sh index b7c30ad446..b58122dd2b 100644 --- a/ops/terraform/remote_files/scripts/start-bacalhau.sh +++ b/ops/terraform/remote_files/scripts/start-bacalhau.sh @@ -42,7 +42,6 @@ bacalhau serve \ --config Orchestrator.Advertise="${BACALHAU_ORCHESTRATOR_ADVERTISE}" \ --config WebUI.Enabled="${BACALHAU_NODE_WEBUI}" \ --config WebUI.Listen=0.0.0.0:80 \ - --config WebUI.Backend="${BACALHAU_WEBUI_BACKEND}" \ --config JobDefaults.Batch.Task.Publisher.Type=local \ --config JobDefaults.Ops.Task.Publisher.Type=local \ --config Publishers.Types.Local.Address="${BACALHAU_LOCAL_PUBLISHER_ADDRESS}" diff --git a/ops/terraform/stage.tfvars b/ops/terraform/stage.tfvars index 628f78e0ee..2c40848756 100644 --- a/ops/terraform/stage.tfvars +++ b/ops/terraform/stage.tfvars @@ -1,4 +1,4 @@ -bacalhau_version = "v1.5.0" +bacalhau_version = "v1.5.1" bacalhau_branch = "" # deploy from a branch instead of the version above bacalhau_port = "1235" bacalhau_environment = "staging"