Skip to content

Commit

Permalink
Patchlevel image updates, added tmp/ permission test (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner authored Nov 28, 2024
1 parent 3770af4 commit 88fef31
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ELASTICSEARCH_VERSION=8.16.0
# ELASTICSEARCH_VERSION=8.16.1
# IMAGE_REPO=ghcr.io/zammad/zammad
# MEMCACHE_SERVERS=zammad-memcached:11211
# MEMCACHE_VERSION=1.6.32-alpine
Expand All @@ -9,13 +9,13 @@
# POSTGRES_USER=zammad
# POSTGRES_HOST=zammad-postgresql
# POSTGRES_PORT=5432
# POSTGRES_VERSION=17.1-alpine
# POSTGRES_VERSION=17.2-alpine
# POSTGRESQL_OPTIONS=?pool=50
# REDIS_URL=redis://zammad-redis:6379
# REDIS_VERSION=7.4.1-alpine
# RESTART=always
# Use a fixed version. You are responsible to update this to newer patch level versions yourself.
# VERSION=6.4.0-26
# VERSION=6.4.0-34
# You can also use floating versions that will give you automatic updates:
# VERSION=6.2 # all patchlevel updates
# VERSION=6 # including minor updates
Expand Down
4 changes: 4 additions & 0 deletions .github/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ print_heading "Check if the Zammad user can write to FS storage"
docker compose exec zammad-railsserver touch storage/test.txt
print_heading "Storage write successful :)"

print_heading "Check if the Zammad user can write /tmp"
docker compose exec zammad-railsserver touch tmp/test.txt
print_heading "Tmp write successful :)"

print_heading "Check if zammad-backup created an application backup"
docker compose exec zammad-backup sh -c "find /var/tmp/zammad/ -name \"*zammad_files.tar.gz\" | grep ."
print_heading "Application backup successful :)"
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ x-shared:
ZAMMAD_SESSION_JOBS:
ZAMMAD_PROCESS_SCHEDULED:
ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS:
image: ${IMAGE_REPO:-ghcr.io/zammad/zammad}:${VERSION:-6.4.0-26}
image: ${IMAGE_REPO:-ghcr.io/zammad/zammad}:${VERSION:-6.4.0-34}
restart: ${RESTART:-always}
volumes:
- zammad-storage:/opt/zammad/storage
Expand All @@ -57,7 +57,7 @@ services:
user: 0:0

zammad-elasticsearch:
image: bitnami/elasticsearch:${ELASTICSEARCH_VERSION:-8.16.0}
image: bitnami/elasticsearch:${ELASTICSEARCH_VERSION:-8.16.1}
restart: ${RESTART:-always}
volumes:
- elasticsearch-data:/bitnami/elasticsearch/data
Expand Down Expand Up @@ -90,7 +90,7 @@ services:
POSTGRES_DB: ${POSTGRES_DB:-zammad_production}
POSTGRES_USER: ${POSTGRES_USER:-zammad}
POSTGRES_PASSWORD: ${POSTGRES_PASS:-zammad}
image: postgres:${POSTGRES_VERSION:-17.1-alpine}
image: postgres:${POSTGRES_VERSION:-17.2-alpine}
restart: ${RESTART:-always}
volumes:
- postgresql-data:/var/lib/postgresql/data
Expand Down

0 comments on commit 88fef31

Please sign in to comment.