Skip to content

Commit fc1644c

Browse files
committed
[ci] Force TI_USE_GIT_CACHE on
1 parent 5a99461 commit fc1644c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/build.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ env:
4040
TI_CI: "1"
4141
TI_SKIP_VERSION_CHECK: 'ON'
4242
CI_IMAGE_VERSION: '202304251731'
43-
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
43+
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
44+
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
4445
NIGHTLY: ${{ inputs.nightly && 'nightly' || '' }}
4546

4647
jobs:

.github/workflows/initiator.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ env:
1515
TI_LITE_TEST: ${{ github.event_name == 'pull_request' && ! contains(github.event.pull_request.labels.*.name, 'full-ci') && ! startsWith(github.base_ref, 'rc-') && '1' || '' }}
1616
TI_TEST_OFFLINE_CACHE: ${{ github.event.schedule == '0 18 * * *' && '1' || '' }}
1717
CI_IMAGE_VERSION: '202304251731'
18-
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
18+
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
19+
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
1920
REDIS_HOST: 172.16.5.1
2021

2122
jobs:

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ env:
2222
CI_IMAGE_VERSION: '202311231829'
2323
TI_CI: "1"
2424
TI_SKIP_VERSION_CHECK: 'ON'
25-
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
25+
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
26+
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
2627

2728

2829
jobs:

.github/workflows/testing.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ env:
1919
TI_LITE_TEST: ${{ github.event_name == 'pull_request' && ! contains(github.event.pull_request.labels.*.name, 'full-ci') && ! startsWith(github.base_ref, 'rc-') && '1' || '' }}
2020
TI_TEST_OFFLINE_CACHE: ${{ github.event.schedule == '0 18 * * *' && '1' || '' }}
2121
CI_IMAGE_VERSION: '202311231829'
22-
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
22+
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
23+
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
2324

2425
jobs:
2526
show_environ:

0 commit comments

Comments
 (0)