Skip to content

Commit

Permalink
fix(test): Prevent skipping and use correct image version
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Jan 20, 2025
1 parent 3b43fd2 commit 871e5e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ stages:
- setup
- build
- availability_message
- trigger_build_kernels
- test
- dev_envs
- devcontainer
Expand Down Expand Up @@ -325,7 +324,7 @@ build_gitlab_agent_deploy:
IMAGE: gitlab_agent_deploy

trigger_build_kernels:
stage: trigger_build_kernels
stage: test
needs:
["build_kernel_version_testing_x64", "build_kernel_version_testing_arm64"]
rules:
Expand Down
5 changes: 3 additions & 2 deletions .gitlab/kernel_version_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ stages:


variables:
IMAGE_VERSION: "v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}"
LINUX_SRC_DIR: /tmp/kernel-src
S3_DD_AGENT_OMNIBUS_KERNEL_VERSION_TESTING_URI: s3://dd-agent-omnibus/kernel-version-testing

Expand Down Expand Up @@ -48,7 +49,7 @@ variables:

build_kernels_x64:
extends: .build_kernels
image: registry.ddbuild.io/ci/datadog-agent-buildimages/kernel-version-testing_x64${ECR_TEST_ONLY}:v$PARENT_PIPELINE_ID
image: registry.ddbuild.io/ci/datadog-agent-buildimages/kernel-version-testing_x64${ECR_TEST_ONLY}:$IMAGE_VERSION
tags: [ "runner:main" ]
variables:
ARCH: x86
Expand All @@ -59,7 +60,7 @@ build_kernels_x64:

build_kernels_arm64:
extends: .build_kernels
image: registry.ddbuild.io/ci/datadog-agent-buildimages/kernel-version-testing_arm64${ECR_TEST_ONLY}:v$PARENT_PIPELINE_ID
image: registry.ddbuild.io/ci/datadog-agent-buildimages/kernel-version-testing_arm64${ECR_TEST_ONLY}:$IMAGE_VERSION
tags: [ "runner:docker-arm", "platform:arm64" ]
variables:
ARCH: arm64
Expand Down

0 comments on commit 871e5e8

Please sign in to comment.