From 943c79079400f87b217a605369f4677be63eac93 Mon Sep 17 00:00:00 2001 From: Van Nguyen Date: Fri, 12 Jul 2024 09:15:59 -0400 Subject: [PATCH] Ops file to pin capi for now --- bosh/opsfiles/pin-capi.yml | 18 ++++++++++++++++++ ci/pipeline.yml | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 bosh/opsfiles/pin-capi.yml diff --git a/bosh/opsfiles/pin-capi.yml b/bosh/opsfiles/pin-capi.yml new file mode 100644 index 00000000..e6669b60 --- /dev/null +++ b/bosh/opsfiles/pin-capi.yml @@ -0,0 +1,18 @@ +# Pin CAPI because of valkey +- type: replace + path: /releases/name=capi + value: + name: capi + version: 1.183.0 + url: https://bosh.io/d/github.com/cloudfoundry/capi-release?v=1.183.0 + sha1: fceb5095f6ffc975fe12e0cc36daca00a3cf4db4 + +# Switch to Redis +- type: remove + path: /instance_groups/name=api/jobs/name=valkey + +- type: replace + path: /instance_groups/name=api/jobs/- + value: + name: redis + release: capi diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 0a9c1156..97c92243 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -102,6 +102,7 @@ jobs: - cf-manifests/bosh/opsfiles/diego-cpu-entitlement.yml - cf-manifests/bosh/opsfiles/diego-cpu-entitlement-diego-cell.yml - cf-manifests/bosh/opsfiles/aggregate_drains.yml + - cf-manifests/bosh/opsfiles/pin-capi.yml vars_files: - cf-manifests/bosh/varsfiles/development.yml - terraform-secrets/terraform.yml @@ -642,6 +643,7 @@ jobs: - cf-manifests/bosh/opsfiles/add-bosh-dns-other-deployments.yml - cf-manifests/bosh/opsfiles/diego-cpu-entitlement.yml - cf-manifests/bosh/opsfiles/diego-cpu-entitlement-diego-cell.yml + - cf-manifests/bosh/opsfiles/pin-capi.yml vars_files: - cf-manifests/bosh/varsfiles/staging.yml - terraform-secrets/terraform.yml @@ -1191,6 +1193,7 @@ jobs: - cf-manifests/bosh/opsfiles/add-bosh-dns-other-deployments.yml - cf-manifests/bosh/opsfiles/diego-cpu-entitlement.yml - cf-manifests/bosh/opsfiles/diego-cpu-entitlement-diego-cell.yml + - cf-manifests/bosh/opsfiles/pin-capi.yml vars_files: - cf-manifests/bosh/varsfiles/production.yml - terraform-secrets/terraform.yml