Skip to content

Commit

Permalink
Merge pull request #21 from rgdoliveira/use_prod_script
Browse files Browse the repository at this point in the history
.ci/nightly-build-config.yaml: run remove_modules.sh with failfast
  • Loading branch information
rgdoliveira authored Feb 13, 2024
2 parents 49681b9 + 72a2624 commit 5b432cd
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .ci/nightly-build-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,25 @@ build:
build-command:
upstream: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_drools }}
bash -c "set -o pipefail ; ${{ env.REMOVE_MODULES }} | tee ${{ env.WORKSPACE }}/drools.removed-modules.log"
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_drools }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/drools.maven.log"
bash -c "set -e ; set -o pipefail ; ${{ env.REMOVE_MODULES }} ; ${{ env.PME_BUILD_SCRIPT_kiegroup_drools }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/drools.maven.log"
- project: kiegroup/kogito-runtimes
build-command:
current: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_kogito_runtimes }}
bash -c "set -o pipefail ; ${{ env.REMOVE_MODULES }} | tee ${{ env.WORKSPACE }}/kogito_runtimes.removed-modules.log"
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_runtimes }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_runtimes.maven.log"
bash -c "set -e ; set -o pipefail ; ${{ env.REMOVE_MODULES }} ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_runtimes }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_runtimes.maven.log"
- project: kiegroup/kogito-apps
build-command:
build-command:
downstream: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_kogito_apps }}
bash -c "set -o pipefail ; ${{ env.REMOVE_MODULES }} | tee ${{ env.WORKSPACE }}/kogito_apps.removed-modules.log"
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_apps }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_apps.maven.log"
bash -c "set -e ; set -o pipefail ; ${{ env.REMOVE_MODULES }} ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_apps }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_apps.maven.log"
- project: kiegroup/kogito-examples
build-command:
downstream: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_kogito_examples }}
bash -c "set -o pipefail ; ${{ env.REMOVE_MODULES }} | tee ${{ env.WORKSPACE }}/kogito_examples.removed-modules.log"
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_examples }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_examples.maven.log"
bash -c "set -e ; set -o pipefail ; ${{ env.REMOVE_MODULES }} ; ${{ env.PME_BUILD_SCRIPT_kiegroup_kogito_examples }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/kogito_examples.maven.log"
- project: kiegroup/kogito-images
build-command:
Expand Down

0 comments on commit 5b432cd

Please sign in to comment.