Skip to content

Commit

Permalink
Avoid parallel execution of uitrellis npmbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ahormazabal committed Nov 14, 2023
1 parent bde2d80 commit 9e3ee1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions rundeckapp/grails-spa/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ task noop() {

tasks.register("runNpmBuild", NpmTask) {
// dependsOn configurations.uiTrellis
dependsOn ':rundeckapp:grails-spa:packages:ui-trellis:runNpmBuild'

// inputs.files(configurations.uiTrellis.allArtifacts)
// inputs.file 'packages/ui-trellis/build/package/rundeck-ui-trellis.tgz'
Expand Down
4 changes: 0 additions & 4 deletions scripts/circleci/build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ rundeck_war_build() {
echo "NPM=$(npm -version)"
echo "Node=$(node --version)"
echo "Groovy=$(groovy --version)"
echo "== Launch SPA build =="
# It appears npm has issues with parallel builds, so we build grails-spa first without parallelism.
./gradlew -Penvironment="${ENV}" ${GRADLE_BASE_OPTS} -x check --no-parallel --max-workers 1 \
rundeckapp:grails-spa:build runNpmBuild

echo "== Launch War build =="
./gradlew -Penvironment="${ENV}" ${GRADLE_BUILD_OPTS} publishToMavenLocal build -x check
Expand Down

0 comments on commit 9e3ee1f

Please sign in to comment.