Skip to content

Commit c55e1c4

Browse files
committed
bring cassandra back
1 parent 91f2a44 commit c55e1c4

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

php/scripts/extensions.sh

+14-14
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,20 @@ else
105105
&& docker-php-source delete
106106
fi
107107

108-
# docker-php-source extract \
109-
# && curl -L -o /tmp/cassandra-cpp-driver.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver_2.14.0-1_amd64.deb" \
110-
# && curl -L -o /tmp/cassandra-cpp-driver-dev.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver-dev_2.14.0-1_amd64.deb" \
111-
# && dpkg -i /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \
112-
# && rm /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \
113-
# && curl -L -o /tmp/cassandra.tar.gz "https://github.com/datastax/php-driver/archive/24d85d9f1d.tar.gz" \
114-
# && mkdir /tmp/cassandra \
115-
# && tar xfz /tmp/cassandra.tar.gz --strip 1 -C /tmp/cassandra \
116-
# && rm -r /tmp/cassandra.tar.gz \
117-
# && curl -L "https://github.com/datastax/php-driver/pull/135.patch" | patch -p1 -d /tmp/cassandra -i - \
118-
# && mv /tmp/cassandra/ext /usr/src/php/ext/cassandra \
119-
# && rm -rf /tmp/cassandra \
120-
# && docker-php-ext-install cassandra \
121-
# && docker-php-source delete
108+
docker-php-source extract \
109+
&& curl -L -o /tmp/cassandra-cpp-driver.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver_2.14.0-1_amd64.deb" \
110+
&& curl -L -o /tmp/cassandra-cpp-driver-dev.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver-dev_2.14.0-1_amd64.deb" \
111+
&& dpkg -i /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \
112+
&& rm /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \
113+
&& curl -L -o /tmp/cassandra.tar.gz "https://github.com/datastax/php-driver/archive/24d85d9f1d.tar.gz" \
114+
&& mkdir /tmp/cassandra \
115+
&& tar xfz /tmp/cassandra.tar.gz --strip 1 -C /tmp/cassandra \
116+
&& rm -r /tmp/cassandra.tar.gz \
117+
&& curl -L "https://github.com/datastax/php-driver/pull/135.patch" | patch -p1 -d /tmp/cassandra -i - \
118+
&& mv /tmp/cassandra/ext /usr/src/php/ext/cassandra \
119+
&& rm -rf /tmp/cassandra \
120+
&& docker-php-ext-install cassandra \
121+
&& docker-php-source delete
122122

123123
if [[ $PHP_VERSION == "7.2" ]]; then
124124
docker-php-source extract \

tests/goss-7.2-3-lts.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ command:
3838
- bcmath
3939
- bz2
4040
- calendar
41+
- cassandra
4142
- exif
4243
- gd
4344
- gmp

tests/goss-7.2.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ command:
4242
- bcmath
4343
- bz2
4444
- calendar
45+
- cassandra
4546
- exif
4647
- gd
4748
- gmp

tests/goss-7.3.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ command:
4242
- bcmath
4343
- bz2
4444
- calendar
45+
- cassandra
4546
- exif
4647
- gd
4748
- gmp

tests/goss-7.4.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ command:
4242
- bcmath
4343
- bz2
4444
- calendar
45+
- cassandra
4546
- exif
4647
- gd
4748
- gmp

tests/goss-lts.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ command:
4242
- bcmath
4343
- bz2
4444
- calendar
45+
- cassandra
4546
- exif
4647
- gd
4748
- gmp

0 commit comments

Comments
 (0)