-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to py3.11 in all oci builds (#1810)
* Add helpers to run oci without the python shims. * Fixup test script. * More make targets. * Skip failing test. * Bad file. * Try/except on setup test data. * Skip the broken test. No-Issue --------- Signed-off-by: James Tanner <[email protected]>
- Loading branch information
Showing
8 changed files
with
85 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
profile=$1 | ||
echo "USING PROFILE ${profile}" | ||
|
||
# find the oci-env checkout | ||
OCI_ENV_PATH=$(dirname $(pip show oci-env | egrep ^Location | awk '{print $2}')) | ||
echo "FOUND OCI_ENV_PATH: ${OCI_ENV_PATH}" | ||
|
||
export COMPOSE_INTERACTIVE_NO_CLI=1 | ||
env_path=dev/oci_env_integration/oci_env_configs/$profile.compose.env | ||
oci-env -e ${env_path} compose build --progress=plain | ||
oci-env -e ${env_path} compose up |
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,21 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
profile=$1 | ||
shift | ||
echo "USING PROFILE ${profile}" | ||
|
||
# find the oci-env checkout | ||
OCI_ENV_PATH=$(dirname $(pip show oci-env | egrep ^Location | awk '{print $2}')) | ||
echo "FOUND OCI_ENV_PATH: ${OCI_ENV_PATH}" | ||
|
||
export COMPOSE_INTERACTIVE_NO_CLI=1 | ||
env_path=dev/oci_env_integration/oci_env_configs/$profile.compose.env | ||
oci-env -e ${env_path} compose exec pulp /bin/bash \ | ||
-c "cd /src/galaxy_ng && /tmp/gng_testing/bin/pytest \ | ||
--ignore=galaxy_ng/_vendor \ | ||
--ignore=galaxy_ng/tests/unit \ | ||
--ignore=galaxy_ng/tests/functional \ | ||
--ignore=galaxy_ng/tests/performance \ | ||
-v $@ galaxy_ng/tests/integration" |
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