Skip to content

Commit 219372e

Browse files
authored
[CI] Ignore error about missing UBI artifact (#117506)
1 parent 1402e68 commit 219372e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.buildkite/scripts/dra-workflow.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ find "$WORKSPACE" -type d -path "*/build/distributions" -exec chmod a+w {} \;
7575

7676
echo --- Running release-manager
7777

78+
set +e
7879
# Artifacts should be generated
7980
docker run --rm \
8081
--name release-manager \
@@ -91,4 +92,16 @@ docker run --rm \
9192
--version "$ES_VERSION" \
9293
--artifact-set main \
9394
--dependency "beats:https://artifacts-${WORKFLOW}.elastic.co/beats/${BEATS_BUILD_ID}/manifest-${ES_VERSION}${VERSION_SUFFIX}.json" \
94-
--dependency "ml-cpp:https://artifacts-${WORKFLOW}.elastic.co/ml-cpp/${ML_CPP_BUILD_ID}/manifest-${ES_VERSION}${VERSION_SUFFIX}.json"
95+
--dependency "ml-cpp:https://artifacts-${WORKFLOW}.elastic.co/ml-cpp/${ML_CPP_BUILD_ID}/manifest-${ES_VERSION}${VERSION_SUFFIX}.json" \
96+
2>&1 | tee release-manager.log
97+
EXIT_CODE=$?
98+
set -e
99+
100+
# This failure is just generating a ton of noise right now, so let's just ignore it
101+
# This should be removed once this issue has been fixed
102+
if grep "elasticsearch-ubi-9.0.0-SNAPSHOT-docker-image.tar.gz" release-manager.log; then
103+
echo "Ignoring error about missing ubi artifact"
104+
exit 0
105+
fi
106+
107+
exit "$EXIT_CODE"

0 commit comments

Comments
 (0)