From b0c18ec7b99e30fac79375127534df391377a9fe Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Sat, 6 Mar 2021 11:10:33 +0100 Subject: [PATCH] up8 --- .github/scripts/post_pr_comment.sh | 3 +++ .github/workflows/concretize-lxplus-pr-target.yaml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/post_pr_comment.sh b/.github/scripts/post_pr_comment.sh index 3048f6a7..88e22ccc 100755 --- a/.github/scripts/post_pr_comment.sh +++ b/.github/scripts/post_pr_comment.sh @@ -7,6 +7,9 @@ generate_post_data() EOF } PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }') +echo "github ref:" $GITHUB_REF +echo "pr number:" $PR_NUMBER +echo "github_repository:" $GITHUB_REPOSITORY curl -s -H "Authorization: token ${KEY4HEP_COMMENT_BOT_TOKEN}" \ -X POST -d "$(generate_post_data)" \ "https://api.github.com/repos/${GITHUB_REPOSITORY}/issues/${PR_NUMBER}/comments" diff --git a/.github/workflows/concretize-lxplus-pr-target.yaml b/.github/workflows/concretize-lxplus-pr-target.yaml index 0191468c..c7603688 100644 --- a/.github/workflows/concretize-lxplus-pr-target.yaml +++ b/.github/workflows/concretize-lxplus-pr-target.yaml @@ -30,7 +30,8 @@ jobs: docker run -it --name CI_container -e GITHUB_ENV=${GITHUB_ENV} -v ${GITHUB_WORKSPACE}:/Package -v /cvmfs:/cvmfs:shared -d clicdp/cc7-lcg /bin/bash - name: Setup container run: | - docker exec CI_container /bin/bash -c " ln -s /usr/lib64/liblzma.so.5.2.2 /usr/lib64/liblzma.so;" + docker exec CI_container /bin/bash -c ' ln -s /usr/lib64/liblzma.so.5.2.2 /usr/lib64/liblzma.so;\ + yum -y install gcc;' - name: Setup Spack run: |