Skip to content

Commit

Permalink
Quick fix for livestatus step.
Browse files Browse the repository at this point in the history
Change-Id: I531377eaf78e886ab25f970b267460a747345c79
  • Loading branch information
spt29 committed Dec 14, 2023
1 parent 4ed5b11 commit d4cd741
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions buildscripts/scripts/stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,19 @@ STAGES:
TEXT_ON_SKIP: 'No check-sql files changed'
RESULT_CHECK_FILE_PATTERN: "results/check-sql.txt"

# NOTE: This has to come *before* the neb & cmc packages, as they depend on
# livestatus. Their run scripts rebuild livestatus, "eating away" compiler
# invocations, leading to IWYU/clang-tidy/... not being called on enough
# files. The ordering is a bit ad hoc, perhaps we should keep the list of
# steps here in dependency order.
- NAME: 'Package livestatus'
ONLY_WHEN_NOT_EMPTY: CHANGED_IMAGE_TESTING,CHANGED_LIVESTATUS_FILES,CHANGED_ASIO_FILES,CHANGED_GOOGLETEST_FILES,CHANGED_RE2_FILES
DIR: 'packages/livestatus'
COMMAND: "GCC_TOOLCHAIN=/opt/gcc-13.2.0 ../../scripts/run-in-docker.sh ./run --all &> ${RESULTS}/livestatus.txt"
TEXT_ON_SKIP: 'No Livestatus files changed'
RESULT_CHECK_TYPE: "GCC"
RESULT_CHECK_FILE_PATTERN: "results/livestatus.txt"

- NAME: 'Package cmc'
ONLY_WHEN_NOT_EMPTY: CHANGED_IMAGE_TESTING,CHANGED_CMC_FILES,CHANGED_CMC_PROTO_FILES,CHANGED_LIVESTATUS_FILES,CHANGED_ASIO_FILES,CHANGED_GOOGLETEST_FILES,CHANGED_RE2_FILES
DIR: 'packages/cmc'
Expand Down Expand Up @@ -464,14 +477,6 @@ STAGES:
TEXT_ON_SKIP: 'No cmk-werks package files changed'
RESULT_CHECK_FILE_PATTERN: "results/cmk-werks.txt"

- NAME: 'Package livestatus'
ONLY_WHEN_NOT_EMPTY: CHANGED_IMAGE_TESTING,CHANGED_LIVESTATUS_FILES,CHANGED_ASIO_FILES,CHANGED_GOOGLETEST_FILES,CHANGED_RE2_FILES
DIR: 'packages/livestatus'
COMMAND: "GCC_TOOLCHAIN=/opt/gcc-13.2.0 ../../scripts/run-in-docker.sh ./run --all &> ${RESULTS}/livestatus.txt"
TEXT_ON_SKIP: 'No Livestatus files changed'
RESULT_CHECK_TYPE: "GCC"
RESULT_CHECK_FILE_PATTERN: "results/livestatus.txt"

- NAME: 'Package neb'
ONLY_WHEN_NOT_EMPTY: CHANGED_IMAGE_TESTING,CHANGED_NEB_FILES,CHANGED_LIVESTATUS_FILES,CHANGED_ASIO_FILES,CHANGED_GOOGLETEST_FILES,CHANGED_RE2_FILES
DIR: 'packages/neb'
Expand Down

0 comments on commit d4cd741

Please sign in to comment.