Skip to content

Commit

Permalink
bump version from 1.5 to 1.6 (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhong authored Oct 22, 2024
1 parent abab246 commit cfc2fcb
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 56 deletions.
8 changes: 4 additions & 4 deletions cmake/autogenerated_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# only DBMS_TCP_PROTOCOL_VERSION should be incremented on protocol changes.
SET(VERSION_REVISION 22)
SET(VERSION_MAJOR 1)
SET(VERSION_MINOR 5)
SET(VERSION_PATCH 18)
SET(VERSION_MINOR 6)
SET(VERSION_PATCH 0)
SET(VERSION_GITHASH 46c8bc98b1440fb3f7327ff36e0be06826d1b66a)
SET(VERSION_DESCRIBE v1.5.18)
SET(VERSION_STRING 1.5.18)
SET(VERSION_DESCRIBE v1.6.0)
SET(VERSION_STRING 1.6.0)
# end of autochange
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
proton (1.5.18) unstable; urgency=low
proton (1.6.0) unstable; urgency=low

* Modified source code

Expand Down
20 changes: 10 additions & 10 deletions docker/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ ARG apt_archive="http://archive.ubuntu.com"
RUN sed -i "s|http://archive.ubuntu.com|$apt_archive|g" /etc/apt/sources.list

ARG repository="deb https://repo.clickhouse.com/deb/stable/ main/"
ARG version=1.5.18
ARG version=1.6.0


RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
apt-transport-https \
ca-certificates \
dirmngr \
gnupg \
apt-transport-https \
ca-certificates \
dirmngr \
gnupg \
&& mkdir -p /etc/apt/sources.list.d \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 \
&& echo $repository > /etc/apt/sources.list.d/clickhouse.list \
&& apt-get update \
&& env DEBIAN_FRONTEND=noninteractive \
apt-get install --allow-unauthenticated --yes --no-install-recommends \
clickhouse-client=$version \
clickhouse-common-static=$version \
locales \
tzdata \
apt-get install --allow-unauthenticated --yes --no-install-recommends \
clickhouse-client=$version \
clickhouse-common-static=$version \
locales \
tzdata \
&& rm -rf /var/lib/apt/lists/* /var/cache/debconf \
&& apt-get clean

Expand Down
80 changes: 40 additions & 40 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:20.04
# FIXME, XXX, timeplus deb repo
# ARG repository="deb https://repo.timeplus/deb/stable/ main/"
ARG repository=""
ARG version=1.5.18
ARG version=1.6.0
ARG gosu_ver=1.10

# set non-empty deb_location_url url to create a docker image
Expand Down Expand Up @@ -51,51 +51,51 @@ RUN groupadd -r timeplus --gid=101 \
&& echo 'Acquire::ForceIPv4 "true";' > /etc/apt/apt.conf.d/99force-ipv4 \
&& apt-get update \
&& apt-get install --yes --no-install-recommends \
apt-transport-https \
ca-certificates \
dirmngr \
gnupg \
locales \
wget \
curl \
tzdata \
apt-transport-https \
ca-certificates \
dirmngr \
gnupg \
locales \
wget \
curl \
tzdata \
&& mkdir -p /etc/apt/sources.list.d \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 \
&& echo $repository > /etc/apt/sources.list.d/proton.list \
&& if [ -n "$deb_location_url" ]; then \
echo "installing from custom url with deb packages: $deb_location_url" \
rm -rf /tmp/proton_debs \
&& mkdir -p /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-common-static_${version}_amd64.deb" -P /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-client_${version}_all.deb" -P /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-server_${version}_all.deb" -P /tmp/proton_debs \
&& dpkg -i /tmp/proton_debs/*.deb ; \
elif [ -n "$single_binary_location_url" ]; then \
echo "installing from single binary url: $single_binary_location_url" \
&& rm -rf /tmp/proton_binary \
&& mkdir -p /tmp/proton_binary \
&& wget --progress=bar:force:noscroll "$single_binary_location_url" -O /tmp/proton_binary/proton \
&& chmod +x /tmp/proton_binary/proton \
&& /tmp/proton_binary/proton install --user "timeplus" --group "timeplus" ; \
else \
echo "installing from repository: $repository" \
&& apt-get update \
&& apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade \
&& apt-get install --allow-unauthenticated --yes --no-install-recommends \
proton-common-static=$version \
proton-client=$version \
proton-server=$version ; \
fi \
echo "installing from custom url with deb packages: $deb_location_url" \
rm -rf /tmp/proton_debs \
&& mkdir -p /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-common-static_${version}_amd64.deb" -P /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-client_${version}_all.deb" -P /tmp/proton_debs \
&& wget --progress=bar:force:noscroll "${deb_location_url}/proton-server_${version}_all.deb" -P /tmp/proton_debs \
&& dpkg -i /tmp/proton_debs/*.deb ; \
elif [ -n "$single_binary_location_url" ]; then \
echo "installing from single binary url: $single_binary_location_url" \
&& rm -rf /tmp/proton_binary \
&& mkdir -p /tmp/proton_binary \
&& wget --progress=bar:force:noscroll "$single_binary_location_url" -O /tmp/proton_binary/proton \
&& chmod +x /tmp/proton_binary/proton \
&& /tmp/proton_binary/proton install --user "timeplus" --group "timeplus" ; \
else \
echo "installing from repository: $repository" \
&& apt-get update \
&& apt-get --yes -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" upgrade \
&& apt-get install --allow-unauthenticated --yes --no-install-recommends \
proton-common-static=$version \
proton-client=$version \
proton-server=$version ; \
fi \
&& apt-get install -y --no-install-recommends tcc libc-dev && \
tcc /su-exec.c -o /bin/su-exec && \
chown root:root /bin/su-exec && \
chmod 0755 /bin/su-exec && \
rm /su-exec.c && \
apt-get purge -y --auto-remove tcc libc-dev libc-dev-bin libc6-dev linux-libc-dev \
tcc /su-exec.c -o /bin/su-exec && \
chown root:root /bin/su-exec && \
chmod 0755 /bin/su-exec && \
rm /su-exec.c && \
apt-get purge -y --auto-remove tcc libc-dev libc-dev-bin libc6-dev linux-libc-dev \
&& rm -rf \
/var/lib/apt/lists/* \
/var/cache/debconf \
/tmp/* \
/var/lib/apt/lists/* \
/var/cache/debconf \
/tmp/* \
&& apt-get clean \
&& mkdir -p /var/lib/proton /var/log/proton-server /etc/proton-server /etc/proton-client \
&& chmod ugo+Xrw -R /var/lib/proton /var/log/proton-server /etc/proton-server /etc/proton-client
Expand Down
2 changes: 1 addition & 1 deletion docker/test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:18.04

ARG repository="deb https://repo.clickhouse.com/deb/stable/ main/"
ARG version=1.5.18
ARG version=1.6.0

RUN apt-get update && \
apt-get install -y apt-transport-https dirmngr && \
Expand Down

0 comments on commit cfc2fcb

Please sign in to comment.