From 8632266a2f88c85165dc72534e961e236b6a2f2a Mon Sep 17 00:00:00 2001 From: pducolin Date: Tue, 17 Dec 2024 12:56:08 +0100 Subject: [PATCH] [gitlab] sync and tidy all go modules in datadog-agent on test-infra bump --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af5d5155b..57d0b955d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -122,7 +122,8 @@ release-runner-image: - git checkout -b auto-bump/bump-test-infra-$CI_COMMIT_SHORT_SHA - export PREVIOUS_SHA=$(cat .gitlab/common/test_infra_version.yml | grep 'TEST_INFRA_DEFINITIONS_BUILDIMAGES:' | awk -F " " '{print $NF}') - inv -e buildimages.update-test-infra-definitions --commit-sha $CI_COMMIT_SHA $EXTRA_UPDATE_ARGS - - git add test/new-e2e/go.mod test/new-e2e/go.sum .gitlab/common/test_infra_version.yml + - inv -e tidy + - git add -u - git commit -m "[test-infra-definitions][automated] Bump test-infra-definitions to $CI_COMMIT_SHORT_SHA" - git push -f origin auto-bump/bump-test-infra-$CI_COMMIT_SHORT_SHA - popd