Introduce dependency on Oracle image version (#10597)

We want to rerun tests when the image changes which this PR should
hopefully accomplish.

changelog_begin
changelog_end
This commit is contained in:
Moritz Kiefer 2021-08-17 15:28:26 +02:00 committed by GitHub
parent f8c0a35940
commit 3cc9de564f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

1
ci/BUILD Normal file
View File

@ -0,0 +1 @@
exports_files(["oracle_image"])

View File

@ -286,7 +286,7 @@ jobs:
set -euo pipefail
eval "$(./dev-env/bin/dade-assist)"
docker login --username "$DOCKER_LOGIN" --password "$DOCKER_PASSWORD"
IMAGE=digitalasset/oracle:enterprise-19.12.0-preloaded-20210817-24-6f020d6
IMAGE=$(cat ci/oracle_image)
docker pull $IMAGE
# Cleanup stray containers that might still be running from
# another build that didnt get shut down cleanly.

1
ci/oracle_image Normal file
View File

@ -0,0 +1 @@
digitalasset/oracle:enterprise-19.12.0-preloaded-20210817-24-6f020d6

View File

@ -10,6 +10,9 @@ load(
da_scala_library(
name = "oracle-testing",
srcs = glob(["src/main/scala/**/*.scala"]),
data = [
"//ci:oracle_image",
],
scala_deps = [
"@maven//:org_scalactic_scalactic",
"@maven//:org_scalatest_scalatest_core",