Skip to content

Commit d3810cb

Browse files
authored
update smoke tests to test for all versions and types, update docker workflow, downgrade support for pg13 and add support for pg16 (#138)
* update workflows to pg16 and drop pg13 support Signed-off-by: Piyush Raj <[email protected]> * Add support matrix to README.md Signed-off-by: Piyush Raj <[email protected]> --------- Signed-off-by: Piyush Raj <[email protected]>
1 parent 3470fbc commit d3810cb

File tree

4 files changed

+28
-26
lines changed

4 files changed

+28
-26
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
pg: [13, 14, 15]
35+
pg: [14, 15, 16]
3636
oss: [ "", "-oss" ]
3737
steps:
3838
- uses: actions/checkout@v3

.github/workflows/smoke-test.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,27 @@ env:
1212

1313
jobs:
1414
smoketest:
15-
name: PG${{ matrix.pg }}-${{ matrix.type }}
15+
name: PG${{ matrix.pg }}-${{ matrix.type }}${{ matrix.oss }}
1616
runs-on: ubuntu-latest
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
pg: [15]
21-
type: ['normal', 'bitnami']
20+
pg: [14, 15, 16]
21+
type: ['alpine', 'bitnami']
22+
oss: [ "", "-oss" ]
2223
steps:
2324
- name: Check out the source
2425
uses: actions/checkout@v3
2526

26-
- name: Build Docker Image for TimescaleDB
27+
- name: Build Docker Alpine Image
28+
if: matrix.type == 'alpine'
2729
run: |
28-
if [ ${{ matrix.type }} == bitnami ]
29-
then
30-
cd bitnami
31-
fi
32-
make image PG_VER=pg${{ matrix.pg }} TAG_VERSION=smoketest-image BETA=1
30+
make image${{ matrix.oss }} PG_VER=pg${{ matrix.pg }} TAG_VERSION=smoketest-image PRE_RELEASE=1 TAG_OSS='-t smoketest-image'
31+
- name: Build Docker Bitnami Image
32+
if: matrix.type == 'bitnami'
33+
run: |
34+
cd bitnami
35+
make image PG_VER=pg${{ matrix.pg }} TAG_VERSION=smoketest-image PRE_RELEASE=1
3336
3437
- name: Install psql
3538
run: sudo apt install postgresql-client

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ default: image
8181

8282
image: .build_$(WARPSQL_VERSION)_$(PG_VER)
8383

84-
oss: .build_$(WARPSQL_VERSION)_$(PG_VER)_oss
84+
image-oss: .build_$(WARPSQL_VERSION)_$(PG_VER)_oss
8585

8686
push: image
8787
docker push $(TAG_VERSION)
8888
if [ -z "$(PRE_RELEASE)" ]; then \
8989
docker push $(TAG_LATEST); \
9090
fi
9191

92-
push-oss: oss
92+
push-oss: image-oss
9393
docker push $(TAG_VERSION)-oss
9494
if [ -z "$(PRE_RELEASE)" ]; then \
9595
docker push $(TAG_LATEST)-oss; \
@@ -105,4 +105,4 @@ clean:
105105
rm -f *~ .build_* .multi_*
106106
-docker buildx rm multibuild
107107

108-
.PHONY: default image push push-oss oss multi multi-oss clean all
108+
.PHONY: default image push push-oss image-oss multi multi-oss clean all

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@ WarpSQL is a powerful solution that provides opinionated extensions to Postgres,
1111

1212
## Supported Extensions
1313

14-
15-
| Extension | Version |
16-
|--------------------|-------------|
17-
| [PgVector](https://github.com/pgvector/pgvector) | 0.5.1 |
18-
| [TimescaleDB](https://github.com/timescale/timescaledb) | 2.13.0 |
19-
| [PgCron](https://github.com/citusdata/pg_cron) | 1.6.0 |
20-
| [PostGIS](https://postgis.net) | 3.4.2 |
21-
| [Citus](https://www.citusdata.com/) | 12.1.0 |
22-
| [Pg Repack](https://github.com/reorg/pg_repack) | 1.5.0 |
23-
| [PgAutoFailover](https://github.com/hapostgres/pg_auto_failover) | 2.1 |
24-
| [postgresql-hll](https://github.com/citusdata/postgresql-hll) | 2.18 |
25-
| [PgJobmon](https://github.com/omniti-labs/pg_jobmon) | 1.4.1 |
26-
| [PgPartman](https://github.com/pgpartman/pg_partman) | 5.0.1 |
14+
| Extension | PG14 | PG15 | PG16 |
15+
|------------------------------------------------------------------|--------|--------|--------|
16+
| [PgVector](https://github.com/pgvector/pgvector) | 0.5.1 | 0.5.1 | 0.5.1 |
17+
| [TimescaleDB](https://github.com/timescale/timescaledb) | 2.13.0 | 2.13.0 | 2.13.0 |
18+
| [PgCron](https://github.com/citusdata/pg_cron) | 1.6.0 | 1.6.0 | 1.6.0 |
19+
| [PostGIS](https://postgis.net) | 3.4.2 | 3.4.2 | 3.4.2 |
20+
| [Citus](https://www.citusdata.com/) | 12.1.0 | 12.1.0 | 12.1.0 |
21+
| [Pg Repack](https://github.com/reorg/pg_repack) | 1.5.0 | 1.5.0 | 1.5.0 |
22+
| [PgAutoFailover](https://github.com/hapostgres/pg_auto_failover) | 2.1 | 2.1 | 2.1 |
23+
| [postgresql-hll](https://github.com/citusdata/postgresql-hll) | 2.18 | 2.18 | 2.18 |
24+
| [PgJobmon](https://github.com/omniti-labs/pg_jobmon) | 1.4.1 | 1.4.1 | 1.4.1 |
25+
| [PgPartman](https://github.com/pgpartman/pg_partman) | 5.0.1 | 5.0.1 | 5.0.1 |
2726

2827
## Releases
2928
- [Versioning Policy](./docs/version-policy.md)

0 commit comments

Comments
 (0)