You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/03/20 16:43:12 UTC
[solr] branch branch_9x updated: Fix smoke test jar checks & release wizard (#1470)
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 6c3e3f206b8 Fix smoke test jar checks & release wizard (#1470)
6c3e3f206b8 is described below
commit 6c3e3f206b8c56f315c36222e3f5ab299eef68f5
Author: Houston Putman <ho...@apache.org>
AuthorDate: Mon Mar 20 12:38:18 2023 -0400
Fix smoke test jar checks & release wizard (#1470)
(cherry picked from commit 37b8c3cc5ebb53b7c4d02140450ea0d32889d62c)
---
dev-tools/scripts/releaseWizard.yaml | 2 +-
dev-tools/scripts/smokeTestRelease.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-tools/scripts/releaseWizard.yaml b/dev-tools/scripts/releaseWizard.yaml
index 7e6875889aa..42fb044383d 100644
--- a/dev-tools/scripts/releaseWizard.yaml
+++ b/dev-tools/scripts/releaseWizard.yaml
@@ -747,7 +747,7 @@ groups:
cmd: git pull --ff-only
tee: true
- !Command
- cmd: python3 -u dev-tools/scripts/buildAndPushRelease.py {{ local_keys }} --logfile {{ logfile }} --push-local "{{ dist_file_path }}" --rc-num {{ rc_number }} --manifest-username {{ gpg.apache_id }} --sign {{ gpg.gpg_fingerprint | default("<gpg_fingerprint>", True) }} --gpg-pass-noprompt
+ cmd: python3 -u dev-tools/scripts/buildAndPushRelease.py {{ local_keys }} --logfile {{ logfile }} --push-local "{{ dist_file_path }}" --rc-num {{ rc_number }} --dev-mode --mf-username {{ gpg.apache_id }} --sign {{ gpg.gpg_fingerprint | default("<gpg_fingerprint>", True) }} --gpg-pass-noprompt
comment: "Using gpg command for signing."
logfile: build_rc.log
tee: true
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 5a78213d298..191ccdf4598 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -204,9 +204,9 @@ def checkAllJARs(topDir, gitRevision, version):
for file in files:
if file.lower().endswith('.jar'):
if ((normRoot.endswith('/modules/extraction/lib') and file.startswith('jakarta.activation-'))
- or (normRoot.endswith('/modules/extraction/lib') and file.startswith('jakarta.annotation-api-'))
- or (normRoot.endswith('/modules/extraction/lib') and file.startswith('jakarta.xml.bind-api-'))
- or (normRoot.endswith('/modules/extraction/lib') and file.startswith('unit-api-'))):
+ or (normRoot.endswith('/modules/extraction/lib') and file.startswith('unit-api-'))
+ or (normRoot.endswith('/server/solr-webapp/webapp/WEB-INF/lib') and file.startswith('jakarta.'))
+ or (normRoot.endswith('/server/lib/ext') and file.startswith('jetty-servlet-api-'))):
print(' **WARNING**: skipping check of %s/%s: it has javax.* classes' % (root, file))
continue
fullPath = '%s/%s' % (root, file)