Skip to content

Commit

Permalink
update build-image-base tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Mar 21, 2024
1 parent e6d6a72 commit 724ec18
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 47 deletions.
5 changes: 3 additions & 2 deletions apps/openchallenges/api-gateway/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/api-gateway"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
14 changes: 7 additions & 7 deletions apps/openchallenges/auth-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@
"cwd": "apps/openchallenges/auth-service"
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/auth-service"
},
"dependsOn": ["^install"]
}
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/auth-service"
// },
// "dependsOn": ["^install"]
// }
},
"tags": ["type:service", "scope:backend", "language:java", "package-manager:gradle"],
"implicitDependencies": [
Expand Down
5 changes: 3 additions & 2 deletions apps/openchallenges/challenge-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/challenge-to-elasticsearch-service"
},
"dependsOn": ["^install"]
},
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/challenge-to-elasticsearch-service"
// },
// "dependsOn": ["^install"]
// },
"generate": {
"executor": "nx:run-commands",
"options": {
Expand Down
5 changes: 3 additions & 2 deletions apps/openchallenges/config-server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/config-server"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
14 changes: 7 additions & 7 deletions apps/openchallenges/core-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
"cwd": "apps/openchallenges/core-service"
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/core-service"
},
"dependsOn": ["^install"]
}
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/core-service"
// },
// "dependsOn": ["^install"]
// }
},
"tags": ["type:service", "scope:backend", "language:java", "package-manager:gradle"],
"implicitDependencies": [
Expand Down
5 changes: 3 additions & 2 deletions apps/openchallenges/image-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/image-service"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
14 changes: 7 additions & 7 deletions apps/openchallenges/kaggle-to-kafka-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/kaggle-to-kafka-service"
},
"dependsOn": ["^install"]
},
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/kaggle-to-kafka-service"
// },
// "dependsOn": ["^install"]
// },
"generate": {
"executor": "nx:run-commands",
"options": {
Expand Down
5 changes: 3 additions & 2 deletions apps/openchallenges/organization-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "{projectRoot}"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
5 changes: 3 additions & 2 deletions apps/openchallenges/service-registry/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@
"dependsOn": []
},
"build-image-base": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"executor": "nx:run-commands",
"options": {
"root": "apps/openchallenges/service-registry"
"command": "./gradlew bootBuildImage",
"cwd": "{projectRoot}"
},
"dependsOn": ["^install"]
},
Expand Down
14 changes: 7 additions & 7 deletions apps/openchallenges/user-service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
},
"dependsOn": []
},
"build-image": {
"executor": "@nxrocks/nx-spring-boot:build-image",
"options": {
"root": "apps/openchallenges/user-service"
},
"dependsOn": ["^install"]
},
// "build-image": {
// "executor": "@nxrocks/nx-spring-boot:build-image",
// "options": {
// "root": "apps/openchallenges/user-service"
// },
// "dependsOn": ["^install"]
// },
"generate": {
"executor": "nx:run-commands",
"options": {
Expand Down

0 comments on commit 724ec18

Please sign in to comment.