Skip to content
Merged
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
### Bug fixes

- We make sure that the automatic cleanup job only runs before deployment (instead of cron schedule cleanup).
- Previously it was possible MongoDB replica set and users were left randomly uninitialised after a deployment. MongoDB initialisation container now retries on failure.
- On some machines 'file' utility was not preinstalled causing provision to fail. We now install the utility if it doesn't exist.

## 1.6.0

Expand Down
5 changes: 4 additions & 1 deletion infrastructure/docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,11 @@ services:
labels:
- traefik.enable=false
replicas: 1
# If this doesn't get run successfully, both the replica set in mongo and
# the user schema remains uninitialized.
restart_policy:
condition: none
condition: on-failure
delay: 10s
environment:
- REPLICAS=1
- MONGODB_ADMIN_USER=${MONGODB_ADMIN_USER}
Expand Down
7 changes: 7 additions & 0 deletions infrastructure/server-setup/tasks/swap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
tags:
- swap.file.permissions

- name: Ensure 'file' utility is installed
ansible.builtin.package:
name: file
state: present
tags:
- swap.file.mkswap

- name: 'Check swap file type'
command: file {{ swap_file_path }}
register: swapfile
Expand Down
Loading