Skip to content

Commit

Permalink
fix the expected arch suffix for 'kmt-dockers' directory (#24347)
Browse files Browse the repository at this point in the history
  • Loading branch information
usamasaqib authored and gjulianm committed Dec 11, 2024
1 parent 91e530e commit 996216e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/kernel_matrix_testing/system_probe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ upload_dependencies_sysprobe_x64:
needs: ["pull_test_dockers_x64"]
rules: !reference [.on_system_probe_or_e2e_changes_or_manual]
variables:
ARCH: amd64
ARCH: x86_64
INSTANCE_TYPE: m5d.metal
TEST_COMPONENT: system-probe

Expand Down Expand Up @@ -43,7 +43,7 @@ upload_dependencies_sysprobe_arm64:
pull_test_dockers_x64:
extends: .pull_test_dockers
variables:
ARCH: amd64
ARCH: x86_64

pull_test_dockers_arm64:
extends: .pull_test_dockers
Expand Down
4 changes: 4 additions & 0 deletions tasks/system_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,6 +1767,10 @@ def save_test_dockers(ctx, output_dir, arch, use_crane=False):
if is_windows:
return

# crane does not accept 'x86_64' as a valid architecture
if arch == "x86_64":
arch = "amd64"

# only download images not present in preprepared vm disk
resp = requests.get('https://dd-agent-omnibus.s3.amazonaws.com/kernel-version-testing/rootfs/master/docker.ls')
docker_ls = {line for line in resp.text.split('\n') if line.strip()}
Expand Down

0 comments on commit 996216e

Please sign in to comment.