diff --git a/.github/workflows/job-runner.yaml b/.github/workflows/job-runner.yaml index 6f579b0..42332b2 100644 --- a/.github/workflows/job-runner.yaml +++ b/.github/workflows/job-runner.yaml @@ -110,6 +110,9 @@ jobs: -f .github/workflows/config.py > execute.log # export all the valuable information from the logs + RECIPE_JOB_NAME=$(cat execute.log | grep -oP 'Job name is \K[^ ]+' | head -n1) + echo "RECIPE_JOB_NAME=$RECIPE_JOB_NAME" >> $GITHUB_ENV + JOB_NAME=$(cat execute.log | grep -oP 'flinkdeployment\.flink\.apache\.org/\K[^ ]+' | head -n1) echo "JOB_NAME=$JOB_NAME" >> $GITHUB_ENV @@ -178,7 +181,9 @@ jobs: # TODO: we also need to report historyserver URL and flink dashboard URL # but this also requires us to think how we're going to have a thin # layer of authentication around these services so they aren't totally public - echo '############ JOB NAME ################' + echo '############ RECIPE JOB NAME ################' + echo $RECIPE_JOB_NAME + echo '############ FLINK JOB NAME ################' echo $JOB_NAME echo "job_name=$JOB_NAME" >> $GITHUB_OUTPUT echo '############ JOB ID ################'