mirror of
https://github.com/timescale/timescaledb.git
synced 2025-04-20 13:53:19 +08:00
Adjust package test to 2.0 package name change
This commit is contained in:
parent
ff560a903c
commit
94af62f813
15
.github/workflows/apt-packages.yaml
vendored
15
.github/workflows/apt-packages.yaml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- release_test
|
||||
jobs:
|
||||
apt_tests:
|
||||
name: ${{ matrix.image }} PG${{ matrix.pg }}
|
||||
name: APT ${{ matrix.image }} PG${{ matrix.pg }}
|
||||
runs-on: ubuntu-18.04
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
@ -22,12 +22,7 @@ jobs:
|
||||
# Debian images: 9 (stretch), or 10 (buster)
|
||||
# Ubuntu images: 18.04 LTS (bionic), 19.10 (eoan), 20.04 LTS (focal)
|
||||
image: [ "debian:9-slim", "debian:10-slim", "ubuntu:bionic", "ubuntu:focal"]
|
||||
pg: [ 9.6, 10, 11, 12 ]
|
||||
exclude:
|
||||
- image: "ubuntu:focal"
|
||||
pg: 9.6
|
||||
- image: "ubuntu:focal"
|
||||
pg: 10
|
||||
pg: [ 11, 12 ]
|
||||
|
||||
steps:
|
||||
- name: Add repositories
|
||||
@ -48,16 +43,16 @@ jobs:
|
||||
- name: Install timescaledb
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends timescaledb-postgresql-${{ matrix.pg }} timescaledb-tools
|
||||
apt-get install -y --no-install-recommends timescaledb-2-postgresql-${{ matrix.pg }} timescaledb-tools
|
||||
timescaledb-tune --quiet --yes
|
||||
|
||||
- name: List available versions
|
||||
run: |
|
||||
apt-cache show timescaledb-postgresql-${{ matrix.pg }} | grep -e Version: -e Depends: | tr '\n' ' ' | sed -e 's! Version: !\n!g' -e 's!Version: !!' -e 's!$!\n!'
|
||||
apt-cache show timescaledb-2-postgresql-${{ matrix.pg }} | grep -e Version: -e Depends: | tr '\n' ' ' | sed -e 's! Version: !\n!g' -e 's!Version: !!' -e 's!$!\n!'
|
||||
|
||||
- name: Show files in package
|
||||
run: |
|
||||
dpkg -L timescaledb-postgresql-${{ matrix.pg }}
|
||||
dpkg -L timescaledb-2-postgresql-${{ matrix.pg }}
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
10
.github/workflows/rpm-packages.yaml
vendored
10
.github/workflows/rpm-packages.yaml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- release_test
|
||||
jobs:
|
||||
rpm_tests:
|
||||
name: ${{ matrix.image }} PG${{ matrix.pg }}
|
||||
name: RPM ${{ matrix.image }} PG${{ matrix.pg }}
|
||||
runs-on: ubuntu-18.04
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
@ -18,7 +18,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
image: [ "centos:centos7", "centos:centos8" ]
|
||||
pg: [ 9.6, 10, 11, 12 ]
|
||||
pg: [ 11, 12 ]
|
||||
|
||||
steps:
|
||||
- name: Add repositories
|
||||
@ -41,17 +41,17 @@ jobs:
|
||||
run: |
|
||||
yum update -y
|
||||
if command -v dnf; then dnf -qy module disable postgresql; fi
|
||||
yum install -y timescaledb-postgresql-${{ matrix.pg }} sudo
|
||||
yum install -y timescaledb-2-postgresql-${{ matrix.pg }} sudo
|
||||
sudo -u postgres /usr/pgsql-${{ matrix.pg }}/bin/initdb -D /var/lib/pgsql/${{ matrix.pg }}/data
|
||||
timescaledb-tune --quiet --yes --pg-config /usr/pgsql-${{ matrix.pg }}/bin/pg_config
|
||||
|
||||
- name: List available versions
|
||||
run: |
|
||||
yum --showduplicates list timescaledb-postgresql-${{ matrix.pg }}
|
||||
yum --showduplicates list timescaledb-2-postgresql-${{ matrix.pg }}
|
||||
|
||||
- name: Show files in package
|
||||
run: |
|
||||
rpm -ql timescaledb-postgresql-${{ matrix.pg }}
|
||||
rpm -ql timescaledb-2-postgresql-${{ matrix.pg }}
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user