You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2023/04/21 21:19:04 UTC
[allura] 01/01: [#8505] support python3.11 and arbitrary versions on jenkins
This is an automated email from the ASF dual-hosted git repository.
dill0wn pushed a commit to branch dw/8505
in repository https://gitbox.apache.org/repos/asf/allura.git
commit b6b1aa5cc3081b939d34b26e546d7a68c7e3d3f2
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Fri Apr 21 14:22:02 2023 -0400
[#8505] support python3.11 and arbitrary versions on jenkins
---
scripts/{jenkins-python3.7.sh => jenkins-run.sh} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/jenkins-python3.7.sh b/scripts/jenkins-run.sh
similarity index 97%
rename from scripts/jenkins-python3.7.sh
rename to scripts/jenkins-run.sh
index f6f08ba4c..3e2447a1d 100755
--- a/scripts/jenkins-python3.7.sh
+++ b/scripts/jenkins-run.sh
@@ -19,6 +19,7 @@
# under the License.
IMAGE_TAG=allura
+PY_VERSION="${PY_VERSION:-3.7}"
echo
echo "============================================================================="
@@ -50,7 +51,7 @@ echo
echo "============================================================================="
echo "Run: build docker image"
echo "============================================================================="
-docker-compose build
+docker-compose build --build-arg PY_VERSION=$PY_VERSION
echo
echo "============================================================================="
@@ -70,7 +71,6 @@ echo "Docker Container Info:"
echo "============================================================================="
docker-compose exec -T web bash -c '
echo python path: `which python; python -V`;
-echo python3.7 path: `which python3.7; python3.7 -V`;
git --version;
svn --version;
echo pip: `pip3 --version`;