From 568a742d83955284522adb4713c4821426891b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pereira?= Date: Mon, 10 Jun 2024 11:49:15 -0500 Subject: [PATCH] Start using cflinuxfs3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Pereira --- .github/ops-files/use-cflinuxfs3.yml | 105 ++++++++++++++++++ .../workflows/tests-integration-reusable.yml | 1 + 2 files changed, 106 insertions(+) create mode 100644 .github/ops-files/use-cflinuxfs3.yml diff --git a/.github/ops-files/use-cflinuxfs3.yml b/.github/ops-files/use-cflinuxfs3.yml new file mode 100644 index 00000000000..5e52e190372 --- /dev/null +++ b/.github/ops-files/use-cflinuxfs3.yml @@ -0,0 +1,105 @@ +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/diego/droplet_destinations/cflinuxfs3? + value: /home/vcap +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/diego/lifecycle_bundles/buildpack~1cflinuxfs3? + value: buildpack_app_lifecycle/buildpack_app_lifecycle.tgz +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/stacks/name=cflinuxfs4:before + value: + description: Cloud Foundry Linux-based filesystem (Ubuntu 18.04) + name: cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/0:before + value: + name: staticfile_buildpack + package: staticfile-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/0:after + value: + name: java_buildpack + package: java-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/1:after + value: + name: ruby_buildpack + package: ruby-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/2:after + value: + name: dotnet_core_buildpack + package: dotnet-core-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/3:after + value: + name: nodejs_buildpack + package: nodejs-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/4:after + value: + name: go_buildpack + package: go-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/5:after + value: + name: python_buildpack + package: python-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/6:after + value: + name: php_buildpack + package: php-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/7:after + value: + name: nginx_buildpack + package: nginx-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/8:after + value: + name: r_buildpack + package: r-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/install_buildpacks/9:after + value: + name: binary_buildpack + package: binary-buildpack-cflinuxfs3 +- type: replace + path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/diego/droplet_destinations/cflinuxfs3? + value: /home/vcap +- type: replace + path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/diego/lifecycle_bundles/buildpack~1cflinuxfs3? + value: buildpack_app_lifecycle/buildpack_app_lifecycle.tgz +- type: replace + path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/diego/droplet_destinations/cflinuxfs3? + value: /home/vcap +- type: replace + path: /instance_groups/name=scheduler/jobs/name=cloud_controller_clock/properties/cc/diego/lifecycle_bundles/buildpack~1cflinuxfs3? + value: buildpack_app_lifecycle/buildpack_app_lifecycle.tgz +- type: replace + path: /instance_groups/name=scheduler/jobs/name=cc_deployment_updater/properties/cc/diego/droplet_destinations/cflinuxfs3? + value: /home/vcap +- type: replace + path: /instance_groups/name=scheduler/jobs/name=cc_deployment_updater/properties/cc/diego/lifecycle_bundles/buildpack~1cflinuxfs3? + value: buildpack_app_lifecycle/buildpack_app_lifecycle.tgz +- type: replace + path: /instance_groups/name=diego-cell/jobs/name=cflinuxfs3-rootfs-setup? + value: + name: cflinuxfs3-rootfs-setup + properties: + cflinuxfs3-rootfs: + trusted_certs: + - ((diego_instance_identity_ca.ca)) + - ((credhub_tls.ca)) + - ((uaa_ssl.ca)) + release: cflinuxfs3 +- type: replace + path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego/rep/preloaded_rootfses/0:before + value: cflinuxfs3:/var/vcap/packages/cflinuxfs3/rootfs.tar +- type: replace + path: /releases/name=cflinuxfs4:before + value: + name: cflinuxfs3 + sha1: 5463400cd5490e9d847326668d504a8833cf3e4e + url: https://bosh.io/d/github.com/cloudfoundry/cflinuxfs3-release?v=0.369.0 + version: 0.369.0 diff --git a/.github/workflows/tests-integration-reusable.yml b/.github/workflows/tests-integration-reusable.yml index fed1851a000..6239c51dc38 100644 --- a/.github/workflows/tests-integration-reusable.yml +++ b/.github/workflows/tests-integration-reusable.yml @@ -156,6 +156,7 @@ jobs: # deploy bosh -d cf manifest > /tmp/manifest.yml bosh interpolate /tmp/manifest.yml \ + -o .github/ops-files/use-cflinuxfs3.yml \ -o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \ -o cli-ci/ci/infrastructure/operations/add-oidc-provider.yml \ -o cli-ci/ci/infrastructure/operations/add-uaa-client-credentials.yml \