-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded from OpenShift 4.9 to 4.10 #1499
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d289f24
Copying https://github.com/kanisterio/kanister/pull/1181/files
eric-nadeau 406e2e3
Copying https://github.com/kanisterio/kanister/pull/1191/files
eric-nadeau b0fe289
Changing PostgreSQLDepConfig4_10's namespace from 4.5 to 4.10
eric-nadeau 0d5bdda
Updating a comment to add 4.10 to a list of supported versions
eric-nadeau 9c1d0ac
Disabling call to check_dependencies for testing purpose
eric-nadeau 8a99ed5
Revert "Disabling call to check_dependencies for testing purpose"
eric-nadeau 46db929
Merge branch 'master' into 1474_SupportOpenShift4.10
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ OC_APPS4_4="MysqlDBDepConfig4_4|MongoDBDepConfig4_4|PostgreSQLDepConfig4_4" | |
OC_APPS4_5="MysqlDBDepConfig4_5|MongoDBDepConfig4_5|PostgreSQLDepConfig4_5" | ||
# MongoDB is not provided as external DB template in release 4.9 anymore | ||
# https://github.com/openshift/origin/commit/4ea9e6c5961eb815c200df933eee30c48a5c9166 | ||
OC_APPS4_9="MysqlDBDepConfig4_9|PostgreSQLDepConfig4_9" | ||
OC_APPS4_10="MysqlDBDepConfig4_10|PostgreSQLDepConfig4_10" | ||
|
||
check_dependencies() { | ||
# Check if minio is already deployed | ||
|
@@ -56,7 +56,7 @@ Where app-type is one of [short|all]: | |
all: Runs e2e integration tests for all apps | ||
OR | ||
You can also provide regex to match apps you want to run. | ||
openshift ocp_version=<ocp_version>: Runs e2e integration tests for specific version of OpenShift apps, OCP version can be provided using ocp_version argument. Currently supported versions are 3.11, 4.4 and 4.5. | ||
openshift ocp_version=<ocp_version>: Runs e2e integration tests for specific version of OpenShift apps, OCP version can be provided using ocp_version argument. Currently supported versions are 3.11, 4.4, 4.5 and 4.10. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above |
||
|
||
EOM | ||
exit 1 | ||
|
@@ -87,8 +87,8 @@ case "${1}" in | |
"4.5") | ||
TEST_APPS=${OC_APPS4_5} | ||
;; | ||
"4.9") | ||
TEST_APPS=${OC_APPS4_9} | ||
"4.10") | ||
TEST_APPS=${OC_APPS4_10} | ||
;; | ||
*) | ||
usage | ||
|
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just remove older versions? I'm confident that we don't support 3.11 anymore but we can reduce the tests to just the latest version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the way the code is written it looked like we wanted to support some specific legacy versions in addition to the latest. This ticket was opened to track this idea: #1512