Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/controller-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Start TimescaleDB
run: |
# renovate: datasource=docker depName=docker.io/timescale/timescaledb
podman run --rm -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.23.1-pg16
podman run --rm -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.31.0-pg16
# Wait for DB to be ready
for i in {1..30}; do
podman exec timescaledb pg_isready -U report && break
Expand Down
4 changes: 2 additions & 2 deletions controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ To start the API server in development mode:
- first, make sure that a Timescale DB is running and accessible:
<!-- renovate: datasource=docker depName=docker.io/timescale/timescaledb -->
```
podman run --rm --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.23.1-pg16
podman run --rm --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.31.0-pg16
```
- then move to the `api` directory, create the `data` directory and build the API server:
```
Expand All @@ -161,7 +161,7 @@ To run the testing suite:
- first, make sure that a Timescale DB is running and accessible:
<!-- renovate: datasource=docker depName=docker.io/timescale/timescaledb -->
```
podman run --rm --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.23.1-pg16
podman run --rm --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.31.0-pg16
```
- then move to the `api` directory and run the tests:
```
Expand Down
2 changes: 1 addition & 1 deletion controller/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ start_pod() {
# The --pull option, sets pull policy to never if image exists locally to avoid registry lookup errors (required for GitHub CI)
podman run --rm --detach --pull="missing" --network=host --privileged --cap-add=NET_ADMIN --device /dev/net/tun -v ovpn-data:/etc/openvpn/:z --pod $POD --name $POD-vpn $(get_image ghcr.io/nethserver/nethsecurity-vpn:$image_tag)
# renovate: datasource=docker depName=docker.io/timescale/timescaledb
podman run --rm --detach --pull="missing" --network=host --name $POD-db --pod $POD -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.23.1-pg16
podman run --rm --detach --pull="missing" --network=host --name $POD-db --pod $POD -e POSTGRES_PASSWORD=password -e POSTGRES_USER=report docker.io/timescale/timescaledb:2.31.0-pg16
# Wait for Postgres to be ready
echo -n "Waiting for Postgres to start..."
for i in {1..30}; do
Expand Down
Loading