mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #69746 from rschu1ze/sparse-pg
CI: Include PostgreSQL in sparse checkout script
This commit is contained in:
commit
71dd3d5cf6
@ -14,5 +14,6 @@ git config submodule."contrib/icu".update '!../sparse-checkout/update-icu.sh'
|
|||||||
git config submodule."contrib/boost".update '!../sparse-checkout/update-boost.sh'
|
git config submodule."contrib/boost".update '!../sparse-checkout/update-boost.sh'
|
||||||
git config submodule."contrib/aws-s2n-tls".update '!../sparse-checkout/update-aws-s2n-tls.sh'
|
git config submodule."contrib/aws-s2n-tls".update '!../sparse-checkout/update-aws-s2n-tls.sh'
|
||||||
git config submodule."contrib/protobuf".update '!../sparse-checkout/update-protobuf.sh'
|
git config submodule."contrib/protobuf".update '!../sparse-checkout/update-protobuf.sh'
|
||||||
|
git config submodule."contrib/postgres".update '!../sparse-checkout/update-postgres.sh'
|
||||||
git config submodule."contrib/libxml2".update '!../sparse-checkout/update-libxml2.sh'
|
git config submodule."contrib/libxml2".update '!../sparse-checkout/update-libxml2.sh'
|
||||||
git config submodule."contrib/brotli".update '!../sparse-checkout/update-brotli.sh'
|
git config submodule."contrib/brotli".update '!../sparse-checkout/update-brotli.sh'
|
||||||
|
16
contrib/sparse-checkout/update-postgres.sh
Executable file
16
contrib/sparse-checkout/update-postgres.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "Using sparse checkout for postgres"
|
||||||
|
|
||||||
|
FILES_TO_CHECKOUT=$(git rev-parse --git-dir)/info/sparse-checkout
|
||||||
|
echo '!/*' > $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/interfaces/libpq/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '!/src/interfaces/libpq/*/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/common/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '!/src/port/*/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/port/*' >> $FILES_TO_CHECKOUT
|
||||||
|
echo '/src/include/*' >> $FILES_TO_CHECKOUT
|
||||||
|
|
||||||
|
git config core.sparsecheckout true
|
||||||
|
git checkout $1
|
||||||
|
git read-tree -mu HEAD
|
Loading…
Reference in New Issue
Block a user