From 46c4edf2ca7ce47b8d28ef9f1125eb239af953f6 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:15:15 +0100 Subject: [PATCH] Add a few debugging messages for the CI (#682) * Add a few debugging messages for the CI * Fix yaml merging --------- Co-authored-by: jmcarcell --- .github/workflows/concretize-current-nightly.yaml | 14 +++++++++++++- .github/workflows/concretize.yaml | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/concretize-current-nightly.yaml b/.github/workflows/concretize-current-nightly.yaml index 14f7199d..2d4b6686 100644 --- a/.github/workflows/concretize-current-nightly.yaml +++ b/.github/workflows/concretize-current-nightly.yaml @@ -67,7 +67,7 @@ jobs: elif [ "${{ matrix.build_type }}" = "nightly" ]; then env=key4hep-nightly-opt pip3 install pyyaml - python3 /key4hep-spack/scripts/fetch_nightly_versions.py --path /key4hep-spack/environments/key4hep-common/packages.yaml --extra-path /key4hep-spack/environments/key4hep-nightly-opt/packages.yaml "" + python3 /key4hep-spack/scripts/fetch_nightly_versions.py --path /key4hep-spack/environments/key4hep-common/packages.yaml --extra-path /key4hep-spack/environments/key4hep-common-opt/packages.yaml "" else echo "Unknown build type" exit 1 @@ -75,6 +75,18 @@ jobs: cd /key4hep-spack/environments/${env} spack env activate . spack config add "upstreams:nightly-from-scratch:install_tree: $rel" + + echo "=========" + echo "spack.yaml" + cat spack.yaml + echo "=========" + echo "packages.yaml" + cat packages.yaml + echo "=========" + echo "key4hep-common/packages.yaml" + cat /key4hep-spack/environments/key4hep-common/packages.yaml + echo "=========" + spack concretize >> conc.txt cat conc.txt echo "=========================================" diff --git a/.github/workflows/concretize.yaml b/.github/workflows/concretize.yaml index 4c0482ee..3270b7c1 100644 --- a/.github/workflows/concretize.yaml +++ b/.github/workflows/concretize.yaml @@ -53,12 +53,24 @@ jobs: elif [ "${{ matrix.build_type }}" = "nightly" ]; then env=key4hep-nightly-opt pip3 install pyyaml - python3 /key4hep-spack/scripts/fetch_nightly_versions.py --path /key4hep-spack/environments/key4hep-common/packages.yaml --extra-path /key4hep-spack/environments/key4hep-nightly-opt/packages.yaml "" + python3 /key4hep-spack/scripts/fetch_nightly_versions.py --path /key4hep-spack/environments/key4hep-common/packages.yaml --extra-path /key4hep-spack/environments/key4hep-common-opt/packages.yaml "" else echo "Unknown build type" exit 1 fi cd /key4hep-spack/environments/${env} + + echo "=========" + echo "spack.yaml" + cat spack.yaml + echo "=========" + echo "packages.yaml" + cat packages.yaml + echo "=========" + echo "key4hep-common/packages.yaml" + cat /key4hep-spack/environments/key4hep-common/packages.yaml + echo "=========" + spack env activate . spack concretize