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

Github docker build action fails with dependency error. #457

Open
markendr opened this issue Jan 6, 2025 · 1 comment
Open

Github docker build action fails with dependency error. #457

markendr opened this issue Jan 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@markendr
Copy link

markendr commented Jan 6, 2025

Describe the bug
We need to build a new image with a high priority update to our project/space replication service after an update to the external system, but Github docker build action fails with dependency error..

12372.4 [error] (*:update) sbt.ResolveException: unresolved dependency: org.irods.jargon#jargon-core;3.3.3-beta1: not found

To Reproduce
Push an update to a fork of clowder github repo, Docker Action is invoked and fails with above error.

Also reproducible in repo clone using docker.sh

Expected behavior
New Docker image successfully built and pushed to dockerhub.

@markendr markendr added the bug Something isn't working label Jan 6, 2025
@markendr
Copy link
Author

markendr commented Jan 8, 2025

as per @lmarini suggestion, irods dependency can be removed as work-around (if you don't need irods plugin)..

$ git diff project/Build.scala
diff --git a/project/Build.scala b/project/Build.scala
index e12fa7db2..5e583cf3b 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -119,7 +119,8 @@ object ApplicationBuild extends Build {
     "org.scalatestplus" % "play_2.10" % "1.0.0" % "test",

     // iRods filestorage
-    "org.irods.jargon" % "jargon-core" % "3.3.3-beta1",
+    // see https://github.com/clowder-framework/clowder/issues/457
+    // "org.irods.jargon" % "jargon-core" % "3.3.3-beta1",

     // jsonp return from /api
     "org.julienrf" %% "play-jsonp-filter" % "1.1",
@@ -167,6 +168,9 @@ object ApplicationBuild extends Build {
     // custom/custom.conf                   - to customize application.conf
     scriptClasspath += "../custom",

+    // see https://github.com/clowder-framework/clowder/issues/457
+    excludeFilter in Compile := "IRODS*.scala",
+
     // same for development mode
     unmanagedClasspath in Runtime += baseDirectory.value / "custom",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant