Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK-5807 - Automatic docker tag doesn't include hadoop flavour #2415

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions opencga-app/app/cloud/docker/docker-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ def delete():
# Get hadoop_flavour from JAR library file name
hadoop_flavour = None
for file in os.listdir(build_folder + "/libs/"):
if (file.startswith("opencga-storage-hadoop-deps")):
if (file.startswith("opencga-storage-hadoop-lib-") and file.endswith(".jar")):
if hadoop_flavour is not None:
exit("Error. Multiple libs/opencga-storage-hadoop-deps*.jar found")
exit("Error. Multiple libs/opencga-storage-hadoop-lib*.jar found")
hadoop_flavour = file.split("-")[4]

# Create docker tag
Expand Down
Loading