File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 9
9
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10
10
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
11
11
docker :
12
- - image : cimg/rust:1.62.0
12
+ - image : levkk/pgcat-ci:latest
13
13
environment :
14
14
RUST_LOG : info
15
15
RUSTFLAGS : " -C instrument-coverage"
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ sed -i 's/pool_mode = "transaction"/pool_mode = "session"/' .circleci/pgcat.toml
122
122
# Reload config test
123
123
kill -SIGHUP $( pgrep pgcat)
124
124
125
+ sleep 1
126
+
125
127
# Prepared statements that will only work in session mode
126
128
pgbench -U sharding_user -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol prepared
127
129
Original file line number Diff line number Diff line change
1
+ FROM cimg/rust:1.62.0
2
+ RUN sudo apt-get update && \
3
+ sudo apt-get install -y psmisc postgresql-contrib-12 postgresql-client-12 ruby ruby-dev libpq-dev python3 python3-pip lcov llvm-11 && \
4
+ sudo apt-get upgrade curl
5
+ RUN cargo install cargo-binutils rustfilt && \
6
+ rustup component add llvm-tools-preview
7
+ RUN pip3 install psycopg2 && \
8
+ sudo gem install bundler
You can’t perform that action at this time.
0 commit comments