Skip to content

Commit

Permalink
Use our own shepherd-pool instead of the public one (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
brayanhenao authored May 10, 2024
1 parent ad70298 commit 765957d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pipelines/templates/buildpack.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -309,7 +309,7 @@ resources: #####################################################################
lease:
namespace: buildpacks
pool:
namespace: official
namespace: buildpacks
name: <%= tas_pool_name %>
compatibility-mode: environments-app
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion scripts/cf-target
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 765957d

Please sign in to comment.