Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use our own shepherd-pool instead of the public one #367

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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