Skip to content

Commit

Permalink
[gitlab] Run check_pkg_size, allowed to fail, on main and release bra…
Browse files Browse the repository at this point in the history
…nches (#32796)
  • Loading branch information
KSerrania authored Jan 9, 2025
1 parent cb1b267 commit cc7d330
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .gitlab/pkg_metrics/pkg_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ check_pkg_size:
image: registry.ddbuild.io/ci/datadog-agent-buildimages/deb_x64$DATADOG_AGENT_BUILDIMAGES_SUFFIX:$DATADOG_AGENT_BUILDIMAGES
tags: ["arch:amd64"]
rules:
- !reference [.except_main_or_release_branch]
- if: $CI_COMMIT_BRANCH == "main"
when: on_success
allow_failure: true
- if: $CI_COMMIT_BRANCH =~ /^[0-9]+\.[0-9]+\.x$/
when: on_success
allow_failure: true
- !reference [.except_mergequeue]
- when: on_success
needs:
- agent_deb-x64-a7
Expand Down

0 comments on commit cc7d330

Please sign in to comment.