-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Django 4.2.x for Python 3.9+ and 2.2.x for 3.6
- Loading branch information
1 parent
bc0f7d6
commit 3750a7d
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,7 +204,12 @@ test_application() { | |
|
||
test_from_dockerfile(){ | ||
info "Test from Dockerfile" | ||
{% if spec.version == "3.6" %} | ||
django_example_repo_url="https://github.com/sclorg/[email protected]" | ||
{% else %} | ||
# Django 4.2 supports Python 3.9+ | ||
django_example_repo_url="https://github.com/sclorg/[email protected]" | ||
{% endif %} | ||
|
||
ct_test_app_dockerfile $test_dir/from-dockerfile/Dockerfile.tpl $django_example_repo_url 'Welcome to your Django application on OpenShift' app-src | ||
ct_check_testcase_result $? | ||
|