Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSS-ONLY] Implementing hashcode and mode based caching #3414

Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
673a665
Implementing caching to 5X
SiddharthBITS Jan 16, 2025
6699732
Disabling tests and adding more save spots
SiddharthBITS Jan 16, 2025
bf2beb1
Fixing cd..
SiddharthBITS Jan 16, 2025
8cc746c
Running tests again
SiddharthBITS Jan 16, 2025
bfceee4
Running tests again
SiddharthBITS Jan 16, 2025
adfddb3
Running tests again
SiddharthBITS Jan 16, 2025
f48e1b0
Running tests again
SiddharthBITS Jan 16, 2025
ad36896
Trusting bash more than github
SiddharthBITS Jan 16, 2025
06d0f9f
Trusting bash more than github P2
SiddharthBITS Jan 16, 2025
3d4d66f
Adding tapTest and coverage key saves
SiddharthBITS Jan 16, 2025
15e6d14
Fixing saving caches in tapTests and adding ccache as prefix
SiddharthBITS Jan 16, 2025
f9fd06b
Upgrading actions/download-artifact to v4
SiddharthBITS Jan 16, 2025
54c0428
Test run
SiddharthBITS Jan 16, 2025
5396fc0
Final changes V1
SiddharthBITS Jan 16, 2025
1d85556
Final Changes V2 Turning JDBC Tests ON
SiddharthBITS Jan 16, 2025
9083d89
Disabling JDBC Tests and runnning again
SiddharthBITS Jan 17, 2025
470249d
Debugging extra cache being created
SiddharthBITS Jan 17, 2025
2a19dfe
Debugging extra cache being created V2
SiddharthBITS Jan 17, 2025
b062cdc
Debugging extra cache being created V3
SiddharthBITS Jan 17, 2025
bfffc5e
Debugging extra cache being created V4
SiddharthBITS Jan 17, 2025
0c5ba4d
Debugging extra cache being created V5
SiddharthBITS Jan 17, 2025
9bdae3c
Clearing CRESTORE_KEY after save
SiddharthBITS Jan 17, 2025
dc24d8f
Signed-off-by: SiddharthBITS <[email protected]>
SiddharthBITS Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Trusting bash more than github
SiddharthBITS committed Jan 16, 2025

Unverified

This user has not yet uploaded their public signing key.
commit ad3689667a8a9875e98263d3fa7b50e41a749367
10 changes: 7 additions & 3 deletions .github/composite-actions/build-modified-postgres/action.yml
Original file line number Diff line number Diff line change
@@ -70,14 +70,18 @@ runs:
${{ env.CCACHE_KEY }}

- name: Save cache if cache hit fails in pull requests
if: ${{ github.event_name == 'pull_request' }} && steps.restore-ccache.outputs.cache-matched-key != ${{ env.CCACHE_KEY }}
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "SAVE_CCACHE=1" >> $GITHUB_ENV
if [[ ${{ steps.restore-ccache.outputs.cache-matched-key }} == '' ]]; then
echo "SAVE_CCACHE=1" >> $GITHUB_ENV
elif [[ ${{ steps.restore-ccache.outputs.cache-matched-key }} != '' ]]; then
echo "SAVE_CCACHE=" >> $GITHUB_ENV
fi
shell: bash

- name: Build and Install the Modified PostgreSQL Instance and Run Tests
run: |
echo "Cache matched key: '${{ steps.restore-ccache.outputs.cache-matched-key }}'"
echo "'${{ steps.restore-ccache.outputs.cache-matched-key }}'"
cd ..
cd postgresql_modified_for_babelfish
if [[ ${{inputs.tap_tests}} == "yes" ]]; then