Skip to content

Commit

Permalink
[SPARK-50951][BUILD][TESTS] Update Oracle free version from 23.5 to 23.6
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

Update of the Docker image used for building and Oracle testing to the latest version, oracle-free:23.6-slim.

### Why are the changes needed?
To ensure the testing environment uses the latest Oracle Free version (23.6), providing up-to-date features and fixes.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Existing tests.

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #49605 from LucaCanali/updateOracleFreeVersion.

Authored-by: Luca Canali <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
LucaCanali authored and dongjoon-hyun committed Jan 22, 2025
1 parent 54a59b7 commit af2768d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_branch40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
"SCALA_PROFILE": "scala2.13",
"PYSPARK_IMAGE_TO_TEST": "",
"PYTHON_TO_TEST": "",
"ORACLE_DOCKER_IMAGE_NAME": "gvenzl/oracle-free:23.5-slim"
"ORACLE_DOCKER_IMAGE_NAME": "gvenzl/oracle-free:23.6-slim"
}
jobs: >-
{
Expand Down
2 changes: 1 addition & 1 deletion connector/docker-integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ the container bootstrapping. To run an individual Docker integration test, use t

Besides the default Docker images, the integration tests can be run with custom Docker images. For example,

ORACLE_DOCKER_IMAGE_NAME=gvenzl/oracle-free:23.5-slim-faststart ./build/sbt -Pdocker-integration-tests "docker-integration-tests/testOnly *OracleIntegrationSuite"
ORACLE_DOCKER_IMAGE_NAME=gvenzl/oracle-free:23.6-slim ./build/sbt -Pdocker-integration-tests "docker-integration-tests/testOnly *OracleIntegrationSuite"

The following environment variables can be used to specify the custom Docker images for different databases:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.apache.spark.internal.Logging

class OracleDatabaseOnDocker extends DatabaseOnDocker with Logging {
lazy override val imageName =
sys.env.getOrElse("ORACLE_DOCKER_IMAGE_NAME", "gvenzl/oracle-free:23.5-slim")
sys.env.getOrElse("ORACLE_DOCKER_IMAGE_NAME", "gvenzl/oracle-free:23.6-slim")
val oracle_password = "Th1s1sThe0racle#Pass"
override val env = Map(
"ORACLE_PWD" -> oracle_password, // oracle images uses this
Expand Down

0 comments on commit af2768d

Please sign in to comment.