Skip to content
Snippets Groups Projects

When setup fails, don't continue;

Merged Björn Brala requested to merge feature/exit-on-failure-in-prepare-env into master-d11
2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
1
@@ -25,7 +25,6 @@ variables:
split -n l/${CI_NODE_INDEX}/${CI_NODE_TOTAL} artifacts/projects.tsv > ${WORKSPACE_DIR}/projects.tsv && \
echo "This run will analyze $(cat ${WORKSPACE_DIR}/projects.tsv | wc -l) projects." && \
echo "Starting at \"$(awk 'NR==1 {print $1; exit}' ${WORKSPACE_DIR}/projects.tsv)\" and end with \"$(awk 'END{print $1; exit}' ${WORKSPACE_DIR}/projects.tsv)\"" && \
./prepare_drupal_installation.sh && \
./project_readiness.sh || true && \
mv ${WORKSPACE_DIR}/phpstan-results/* artifacts/phpstan-results/ && \
mv ${WORKSPACE_DIR}/projects.tsv artifacts/projects_${CI_NODE_INDEX}.tsv && \
@@ -144,6 +143,8 @@ run-bot-against-testset:
before_script:
- mkdir -p artifacts/phpstan-results
script:
- echo ">>>>>>>>>>>>>>>>>>>>>>>>>>> prepare things"
- ./prepare_drupal_installation.sh
- echo ">>>>>>>>>>>>>>>>>>>>>>>>>>> start things"
- *analyze-projects-script
- echo ">>>>>>>>>>>>>>>>>>>>>>>>>>> test things"
@@ -175,6 +176,8 @@ analyze-job:
KUBERNETES_MEMORY_REQUEST: "6Gi"
script:
- mkdir -p artifacts/phpstan-results
- echo ">>>>>>>>>>>>>>>>>>>>>>>>>>> prepare things"
- ./prepare_drupal_installation.sh
- *analyze-projects-script
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
Loading