Skip to content

Commit

Permalink
fix(heroku): Add extraction support
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Mar 7, 2025
1 parent e08f756 commit e804f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tasks/libs/package/size.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from tasks.libs.package.utils import find_package

DEBIAN_OS = "debian"
HEROKU_OS = "heroku"
CENTOS_OS = "centos"
SUSE_OS = "suse"
WINDOWS_OS = "windows"
Expand Down Expand Up @@ -72,7 +73,7 @@ def extract_zip_archive(ctx, package_path, extract_dir):


def extract_package(ctx, package_os, package_path, extract_dir):
if package_os == DEBIAN_OS:
if package_os in (DEBIAN_OS, HEROKU_OS):
return extract_deb_package(ctx, package_path, extract_dir)
elif package_os in (CENTOS_OS, SUSE_OS):
return extract_rpm_package(ctx, package_path, extract_dir)
Expand Down
2 changes: 1 addition & 1 deletion test/static/static_quality_gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static_quality_gate_docker_agent_windows1809_core:

static_quality_gate_docker_agent_windows1809_core_jmx:
max_on_wire_size: "2058 MiB"
max_on_disk_size: "6382 MiB"
max_on_disk_size: "6405 MiB"

static_quality_gate_docker_agent_windows1809_jmx:
max_on_wire_size: "602 MiB"
Expand Down

0 comments on commit e804f24

Please sign in to comment.