Skip to content

Commit 83b9bdc

Browse files
authored
Merge pull request #16733 from MinaProtocol/dkijania/skip_consistency_check_for_unstable_channel
[CI][Publish] skip debian channel check for unstable channel
2 parents e466d94 + 598fa8c commit 83b9bdc

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

scripts/debian/publish.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,18 @@ do
109109

110110
if [ ${#debs[@]} -eq 0 ]; then
111111
echo "✅ All debians are correctly published to our debian repository"
112-
echo "📋 Validating debian repository consistency after push..."
113-
114-
if deb-s3 verify $BUCKET_ARG $S3_REGION_ARG -c $DEB_CODENAME -m $DEB_RELEASE; then
115-
echo "✅ Debian repository is consistent"
116-
else
117-
echo "❌ Error: Debian repository is not consistent. Please run: "
118-
echo "💻 deb-s3 verify $BUCKET_ARG $S3_REGION_ARG -c $DEB_CODENAME -m $DEB_RELEASE --fix-manifests"
119-
exit 1
112+
113+
if [[ $DEB_RELEASE == "unstable" ]]; then
114+
echo "⏩️ Skipping debian repository consistency check after push to unstable channel as it is taking too long."
115+
else
116+
echo "📋 Validating debian repository consistency after push..."
117+
if deb-s3 verify $BUCKET_ARG $S3_REGION_ARG -c $DEB_CODENAME -m $DEB_RELEASE; then
118+
echo "✅ Debian repository is consistent"
119+
else
120+
echo "❌ Error: Debian repository is not consistent. Please run: "
121+
echo "💻 deb-s3 verify $BUCKET_ARG $S3_REGION_ARG -c $DEB_CODENAME -m $DEB_RELEASE --fix-manifests"
122+
exit 1
123+
fi
120124
fi
121125
break
122126
fi

0 commit comments

Comments
 (0)