-
-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added initial concept of configurable image for external * Added proper defautls to survive with -u * Added forgotten use of providers in cleaning of images for build_all * Removed usage of variable in method name to make it readable, find-able and more generic * excluded EXTERNAL_AQA_IMAGE from build_all.sh * Now honor EXTERNAL_AQA_CONTAINER_CLEAN also after external run * Now using the userset image (if set) * reworked roeprties so they can work in multi-image environment instead of hardcoded ubuntu/ubi images a generic approach was set generic_packages are those which ahve same name on all supported iamges REGEX_packages cen set special packages per distribution eg ubuntu_packages will be installed on ubuntu only eg (fedora|ubi|rhel|centos)_packages will be iisntalled on RH systems This already supports versioned ones, so eg centos:10_packages will indeed restrict the packages to os centos 10 This introduced hackish way how to handle hardcoded criu-openj9-images in this multi-image environment * Added explicit search for java in /opt/java/openjdk It seems that default contianer was not searching directly in, as the linking on rest of the system led to it. Now all images I tried properly tests mounted java if it is there. if not, default search is still on and works fine for both default with mount, without mount or for other images with java on path without mount * Added set of warning for case the mounted jdk is missing or TEST_JAVA is not part of the mount commnad * Added example of to build_image.sh * Retuerned parsing ov version. It is used over all scripts, but not set * Deduct os on correct place, after the hack is applied * Exiting build_all if version is missing. he variable is used (wihtout quotes) * Added missign make dependecies to all systems for criu * Removed common depenencies * Properly expand build-essentials which are not in fedora, and ascii doc It is quite hard to tell what is build-essentials i feodra world, but generally it seems to be: make automake gcc gcc-c++ kernel-devel Asciidocs seems to be on all systems * Changed decvlaration of pacakges in criu-ubi-portable-checkpoint to generic all `git wget perl make` install fie on all tried OSes * Improved exit message for unknown os * better readme for EXTERNAL_AQA_IMAGE Co-authored-by: Shelley Lambert <[email protected]> * decalred -> declared * Removed the nasty warning warning... by nicer header * Update external/build_all.sh Co-authored-by: Martijn Verburg <[email protected]> * Update external/common_functions.sh Co-authored-by: Martijn Verburg <[email protected]> * Added whitesapces between # and first char * More === text ===.. isntead of text text text * added examples of usages for EXTERNAL_AQA_IMAGE * Fixed typos in variables gobalMatchingKeys -> globalMatchingKeys getFullTOpenJ9Image -> getFullOpenJ9Image --------- Co-authored-by: Shelley Lambert <[email protected]> Co-authored-by: Martijn Verburg <[email protected]>
- Loading branch information
1 parent
7ca331a
commit 8b9a190
Showing
36 changed files
with
330 additions
and
59 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
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
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# those packages are included in all tests and all distributions | ||
generic_packages="" | ||
# those packages are included in all tests and all ubuntu | ||
ubuntu_packages="" | ||
# those packages are included in all tests and all Red Hat distributions | ||
(fedora|ubi|rhel|centos)_packages="" |
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
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
github_url="https://github.com/apache/derby.git" | ||
localPropertyFile="local.properties" | ||
tag_version="trunk" | ||
ubuntu_packages="ant-optional git wget tar" | ||
ubuntu_packages="ant-optional" | ||
generic_packages="git wget tar" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
github_url="https://github.com/elastic/elasticsearch.git" | ||
tag_version="v8.1.2" | ||
test_results="testResults" | ||
ubuntu_packages="git wget unzip" | ||
generic_packages="git wget unzip" | ||
|
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
Oops, something went wrong.