Skip to content

Commit

Permalink
Add logging to the CI simulation
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1827
  • Loading branch information
andrestt committed Jan 3, 2025
1 parent 06c26b1 commit 9412209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ $(CI_SIM_VENV):

.PHONY: ci_sim_%

ci_sim_%: $(CI_SIM_VENV)
ci_sim_%: $(CI_SIM_VENV) $(BUILD_DIR)
@if [ -z "$(CI_USER)" ]; then \
echo "Error: Environment variable CI_USER is not set." >&2; \
exit 1; \
Expand All @@ -590,7 +590,7 @@ ci_sim_%: $(CI_SIM_VENV)
$(CI_SIM_VENV)/bin/python tools/extract_ci_jobs.py $(MAKEFILE_DIR)/.gitlab-ci.yml \
--var CLEAN_RECORDFLUX_SETUP=$(CI_SIM_CLEAN_SETUP) \
--job $*; \
} | $(CONTAINER_ENGINE) exec -i -u $(CI_USER) -w /home/$(CI_USER) $(CI_CONTAINER) bash
} | $(CONTAINER_ENGINE) exec -i -u $(CI_USER) -w /home/$(CI_USER) $(CI_CONTAINER) bash 2>&1 | tee $(BUILD_DIR)/ci_sim_$*.log

# --- Development tools ---

Expand Down

0 comments on commit 9412209

Please sign in to comment.