From 765957d1174a4cefef0c618e9bdfc06a8182bd71 Mon Sep 17 00:00:00 2001 From: Brayan Henao Date: Fri, 10 May 2024 16:22:22 -0500 Subject: [PATCH] Use our own shepherd-pool instead of the public one (#367) --- pipelines/templates/buildpack.yml.erb | 4 ++-- scripts/cf-target | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelines/templates/buildpack.yml.erb b/pipelines/templates/buildpack.yml.erb index 6f5019581..c168d6a5c 100644 --- a/pipelines/templates/buildpack.yml.erb +++ b/pipelines/templates/buildpack.yml.erb @@ -70,7 +70,7 @@ } } %> <% tas_version = '4.0' %> -<% tas_pool_name = 'tas_four' %> +<% tas_pool_name = 'tas_4' %> <% low_nodes_lts = ['ruby', 'python', 'dotnet-core', 'php'] %> --- resource_types: @@ -309,7 +309,7 @@ resources: ##################################################################### lease: namespace: buildpacks pool: - namespace: official + namespace: buildpacks name: <%= tas_pool_name %> compatibility-mode: environments-app <% end %> diff --git a/scripts/cf-target b/scripts/cf-target index 078058fc2..e8738c9b4 100755 --- a/scripts/cf-target +++ b/scripts/cf-target @@ -64,7 +64,7 @@ function claim_environment() { local claimer output env_name lease_id claimer="$(whoami)" - output=$(shepherd create lease --pool cfd --pool-namespace official --duration 4h --description "Claimed by ${claimer} from Buildpacks team" --json) + output=$(shepherd create lease --pool cfd --pool-namespace buildpacks --duration 4h --description "Claimed by ${claimer} from Buildpacks team" --json) if [[ $? -ne 0 ]]; then util::print::error "Failed to claim an environment ${output}" fi