Skip to content

Commit

Permalink
fixing ci
Browse files Browse the repository at this point in the history
Signed-off-by: Your Name <[email protected]>
  • Loading branch information
Your Name committed Jun 3, 2024
1 parent 19057a9 commit cc26580
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/cassandra-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ check_arg() {
}

setup_cassandra() {
local major_version=$1
local compose_file=$2
local compose_file=$1
docker compose -f "$compose_file" up -d
echo "docker_compose_file=${compose_file}" >> "${GITHUB_OUTPUT:-/dev/null}"
}
Expand Down Expand Up @@ -51,9 +50,9 @@ run_integration_test() {
local jaegerVersion=$3
local primaryKeyspace="jaeger_v1_dc1"
local archiveKeyspace="jaeger_v1_dc1_archive"
local compose_file="docker-compose/cassandra/v3.yaml"
local compose_file="docker-compose/cassandra/v$major_version.yaml"

setup_cassandra "${major_version}" "${compose_file}"
setup_cassandra "${compose_file}"

apply_schema "$schema_version" "$primaryKeyspace"
apply_schema "$schema_version" "$archiveKeyspace"
Expand Down

0 comments on commit cc26580

Please sign in to comment.