From 7baaa39a67095aea9ff5dc8d5c48de74024fb0c6 Mon Sep 17 00:00:00 2001 From: PZD-CHINA Date: Fri, 22 Dec 2023 11:35:29 +0800 Subject: [PATCH] add $GITHUB_JOB for ubuntu\gha\gha-checkout\checkout.sh --- tools/gluten-te/ubuntu/gha/gha-checkout/checkout.sh | 2 +- tools/gluten-te/ubuntu/gha/gha-checkout/clean.sh | 2 +- tools/gluten-te/ubuntu/gha/gha-checkout/exec.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/gluten-te/ubuntu/gha/gha-checkout/checkout.sh b/tools/gluten-te/ubuntu/gha/gha-checkout/checkout.sh index 15c28f5849d0..415fcf1f2a16 100755 --- a/tools/gluten-te/ubuntu/gha/gha-checkout/checkout.sh +++ b/tools/gluten-te/ubuntu/gha/gha-checkout/checkout.sh @@ -26,7 +26,7 @@ then exit 1 fi -export EXTRA_DOCKER_OPTIONS="$EXTRA_DOCKER_OPTIONS --name gha-checkout-$GITHUB_RUN_ID --detach -v $BASEDIR/scripts:/opt/scripts" +export EXTRA_DOCKER_OPTIONS="$EXTRA_DOCKER_OPTIONS --name gha-checkout-$GITHUB_JOB-$GITHUB_RUN_ID --detach -v $BASEDIR/scripts:/opt/scripts" export NON_INTERACTIVE=ON $BASEDIR/../../cbash-build.sh 'sleep 14400' diff --git a/tools/gluten-te/ubuntu/gha/gha-checkout/clean.sh b/tools/gluten-te/ubuntu/gha/gha-checkout/clean.sh index f67f6bf0058b..29a97351f517 100755 --- a/tools/gluten-te/ubuntu/gha/gha-checkout/clean.sh +++ b/tools/gluten-te/ubuntu/gha/gha-checkout/clean.sh @@ -22,4 +22,4 @@ then exit 1 fi -docker stop gha-checkout-$GITHUB_RUN_ID || true +docker stop gha-checkout-$GITHUB_JOB-$GITHUB_RUN_ID || true diff --git a/tools/gluten-te/ubuntu/gha/gha-checkout/exec.sh b/tools/gluten-te/ubuntu/gha/gha-checkout/exec.sh index 1497ab6f2edf..3d0b9fe5f79c 100755 --- a/tools/gluten-te/ubuntu/gha/gha-checkout/exec.sh +++ b/tools/gluten-te/ubuntu/gha/gha-checkout/exec.sh @@ -25,4 +25,4 @@ then exit 1 fi -docker exec gha-checkout-$GITHUB_RUN_ID bash -c "cd /opt/gluten && $BASH_ARGS" +docker exec gha-checkout-$GITHUB_JOB-$GITHUB_RUN_ID bash -c "cd /opt/gluten && $BASH_ARGS"