Skip to content

Commit

Permalink
[ci] Force TI_USE_GIT_CACHE on (#8545)
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu authored Jun 17, 2024
1 parent 06826c9 commit a479edc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ env:
TI_CI: "1"
TI_SKIP_VERSION_CHECK: 'ON'
CI_IMAGE_VERSION: '202304251731'
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
NIGHTLY: ${{ inputs.nightly && 'nightly' || '' }}

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/initiator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ env:
TI_LITE_TEST: ${{ github.event_name == 'pull_request' && ! contains(github.event.pull_request.labels.*.name, 'full-ci') && ! startsWith(github.base_ref, 'rc-') && '1' || '' }}
TI_TEST_OFFLINE_CACHE: ${{ github.event.schedule == '0 18 * * *' && '1' || '' }}
CI_IMAGE_VERSION: '202304251731'
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs
REDIS_HOST: 172.16.5.1

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ env:
CI_IMAGE_VERSION: '202311231829'
TI_CI: "1"
TI_SKIP_VERSION_CHECK: 'ON'
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs


jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ env:
TI_LITE_TEST: ${{ github.event_name == 'pull_request' && ! contains(github.event.pull_request.labels.*.name, 'full-ci') && ! startsWith(github.base_ref, 'rc-') && '1' || '' }}
TI_TEST_OFFLINE_CACHE: ${{ github.event.schedule == '0 18 * * *' && '1' || '' }}
CI_IMAGE_VERSION: '202311231829'
TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
# TI_USE_GIT_CACHE: ${{ vars.TI_USE_GIT_CACHE }}
TI_USE_GIT_CACHE: '1' # variables are also not populated on forked PRs

jobs:
show_environ:
Expand Down

0 comments on commit a479edc

Please sign in to comment.