Skip to content

Commit

Permalink
- Fixed an issue with pgAgent not updating job status
Browse files Browse the repository at this point in the history
- Made upgrade more resilient when timesdcaledb-extras are installed
  • Loading branch information
expaso committed Jul 16, 2023
1 parent 6e86599 commit 033f0a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name-template: 'v$NEXT_PATCH_VERSION 🌈'
name-template: 'v$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
categories:
- title: '🎉 Features'
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
Expand All @@ -17,4 +17,4 @@ categories:
- 'upgrade'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
template: |
$CHANGES
$CHANGES
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ on:
types:
- released
- created
- prereleased

jobs:
build:
if: github.event.action == 'created'
if: github.event.action == 'created' || github.event.action == 'prereleased'
name: Build image
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 5 additions & 0 deletions timescaledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ARG GO_VERSION=1.19.0
###########################################
FROM $BUILD_FROM as addon-base

RUN sed -i "s/libcrypto3=3.1.1-r1/libcrypto3=3.1.1-r2/g" /etc/apk/world \
&& sed -i "s/libssl3=3.1.1-r1/libssl3=3.1.1-r2/g" /etc/apk/world \
&& apk update \
&& apk upgrade

####################################
# Previous Addon Image
####################################
Expand Down
2 changes: 1 addition & 1 deletion timescaledb/rootfs/etc/s6-overlay/s6-rc.d/pgagent/run
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ export TMPDIR=/data/tmp/pgagent

# And run the daemon in the foreground
bashio::log.info "Starting PgAgent.."
/usr/local/bin/pgagent hostaddr=127.0.0.1 dbname=postgres user=postgres -f
/usr/local/bin/pgagent hostaddr=127.0.0.1 dbname=postgres user=postgres -f -s /var/log/pgagent

0 comments on commit 033f0a0

Please sign in to comment.