File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ on: push
44
55env :
66 # renovate datasource=github-releases depName=timescale/timescaledb
7- TIMESCALE_VERSION : 2.16.1
7+ TIMESCALE_VERSION : 2.17.1
8+
9+ # renovate datasource=github-releases depName=timescale/timescaledb-toolkit
10+ TIMESCALE_TOOLKIT_VERSION : 1.18.0
811
912jobs :
1013 build :
4750 echo "minor=$(cut -d. -f-2 <<<"$TIMESCALE_VERSION")"
4851 echo "major=$(cut -d. -f1 <<<"$TIMESCALE_VERSION")"
4952 } >> $GITHUB_OUTPUT
53+ - name : Get Timescale Toolkit version
54+ id : timescale_toolkit
55+ run : |
56+ {
57+ echo "version=$TIMESCALE_TOOLKIT_VERSION"
58+ echo "minor=$(cut -d. -f-2 <<<"$TIMESCALE_TOOLKIT_VERSION")"
59+ echo "major=$(cut -d. -f1 <<<"$TIMESCALE_TOOLKIT_VERSION")"
60+ } >> $GITHUB_OUTPUT
5061 - name : Docker meta
5162 id : meta
5263 uses : docker/metadata-action@v5
8596 POSTGRES_VERSION=${{ matrix.postgres_version }}
8697 CLOUDNATIVEPG_VERSION=${{ steps.cnpg.outputs.version }}
8798 TIMESCALE_VERSION=${{ steps.timescale.outputs.version }}
99+ TIMESCALE_TOOLKIT_VERSION=${{ steps.timescale_toolkit.outputs.version }}
88100 cache-from : type=gha
89101 cache-to : type=gha,mode=max
90102
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ USER root
77
88ARG POSTGRES_VERSION
99ARG TIMESCALE_VERSION
10+ ARG TIMESCALE_TOOLKIT_VERSION
1011RUN <<EOT
1112 set -eux
1213
@@ -23,6 +24,10 @@ RUN <<EOT
2324 apt-get update
2425 apt-get install -y --no-install-recommends "timescaledb-2-postgresql-$POSTGRES_VERSION=$TIMESCALE_VERSION~debian$VERSION_ID"
2526
27+ # Install Timescale Toolkit
28+ apt-get update
29+ apt-get install -y --no-install-recommends "timescaledb-toolkit-postgresql-$POSTGRES_VERSION=1:$TIMESCALE_TOOLKIT_VERSION~debian$VERSION_ID"
30+
2631 # Cleanup
2732 apt-get purge -y curl
2833 rm /etc/apt/sources.list.d/timescaledb.list /etc/apt/trusted.gpg.d/timescale.gpg
You can’t perform that action at this time.
0 commit comments