Skip to content

Commit 8de3e11

Browse files
committed
meh
1 parent 46f9c7a commit 8de3e11

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/initiator.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
TI_TEST_OFFLINE_CACHE: ${{ github.event.schedule == '0 18 * * *' && '1' || '' }}
1717
CI_IMAGE_VERSION: '202304251731'
1818
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
19+
REDIS_HOST: 172.16.5.1
1920

2021
jobs:
2122
show_environ:
@@ -60,3 +61,14 @@ jobs:
6061
secrets:
6162
BOT_MINIO_ACCESS_KEY: ${{ secrets.BOT_MINIO_ACCESS_KEY }}
6263
BOT_MINIO_SECRET_KEY: ${{ secrets.BOT_MINIO_SECRET_KEY }}
64+
65+
save_build_metadata:
66+
name: Save Build Metadata
67+
runs-on: [self-hosted, Linux]
68+
needs: [preparation, build]
69+
steps:
70+
- name: Saving Metadata
71+
id: gather
72+
run: >-
73+
redis-cli -h $REDIS_HOST --raw
74+
set "latest-build-id:$GITHUB_REPOSITORY:$GITHUB_REF" ${{ needs.preparation.outputs.build_id }}

0 commit comments

Comments
 (0)