This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-actions.git
The following commit(s) were added to refs/heads/main by this push:
new 3e8cf6d Record status properly in ATR
3e8cf6d is described below
commit 3e8cf6da52fd9e7f4d2ad87ca09f30094d7b6f74
Author: Alastair McFarlane <[email protected]>
AuthorDate: Mon Jan 19 12:15:58 2026 +0000
Record status properly in ATR
---
.github/workflows/distribute-maven-stg.yml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/distribute-maven-stg.yml
b/.github/workflows/distribute-maven-stg.yml
index 1207413..9e07bd8 100644
--- a/.github/workflows/distribute-maven-stg.yml
+++ b/.github/workflows/distribute-maven-stg.yml
@@ -185,13 +185,12 @@ jobs:
--arg run_id $RUN_ID \
--arg project_name "$INPUTS_PROJECT" \
--arg status "$STATUS" \
- '{publisher:$publisher, jwt:$jwt, workflow:$workflow,
run_id:$run_id, project_name:$project_name, status:$status, message:"Compiling
distribution"}' |
+ '{publisher:$publisher, jwt:$jwt, workflow:$workflow,
run_id:$run_id, project_name:$project_name, status:"in-progress",
message:"Compiling distribution"}' |
curl -sS --fail-with-body -X POST -H 'Content-Type:
application/json' -d @- \
"https://${ATR_HOST}/api/distribute/task/status"
env:
JWT: ${{ steps.create-github-jwt.outputs.jwt }}
RUN_ID: ${{ github.run_id }}
- STATUS: ${{ job.status }}
INPUTS_PROJECT: ${{ inputs.project }}
- name: Download from ATR using rsync
@@ -281,13 +280,12 @@ jobs:
--arg run_id $RUN_ID \
--arg project_name "$INPUTS_PROJECT" \
--arg status "$STATUS" \
- '{publisher:$publisher, jwt:$jwt, workflow:$workflow,
run_id:$run_id, project_name:$project_name, status:$status, message:"Recording
distribution"}' |
+ '{publisher:$publisher, jwt:$jwt, workflow:$workflow,
run_id:$run_id, project_name:$project_name, status:"in-progress",
message:"Recording distribution"}' |
curl -sS --fail-with-body -X POST -H 'Content-Type:
application/json' -d @- \
"https://${ATR_HOST}/api/distribute/task/status"
env:
JWT: ${{ steps.create-github-jwt.outputs.jwt }}
RUN_ID: ${{ github.run_id }}
- STATUS: ${{ job.status }}
INPUTS_PROJECT: ${{ inputs.project }}
- name: Record distribution on ATR
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]