From 7e3baf417b6b650a7466bd8a26d77576babe414b Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 21 Oct 2024 16:17:29 +1100 Subject: [PATCH 1/3] Add comment --- roles/migrate_assets/tasks/push_assets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/migrate_assets/tasks/push_assets.yml b/roles/migrate_assets/tasks/push_assets.yml index d35b1f19b..dd28f3fa1 100644 --- a/roles/migrate_assets/tasks/push_assets.yml +++ b/roles/migrate_assets/tasks/push_assets.yml @@ -5,7 +5,7 @@ src: "{{ local_asset_path }}/{{ migrate_dir }}" dest: "{{ dest_path }}/" mode: push - rsync_opts: + rsync_opts: # not supported on macOS; just comment out and fix manually after. - "--chown={{ app_user }}:{{ app_user }}" become: yes become_user: "{{ app_user }}" From 8646d6b846513ebccf7e677ccc70b00d823cbb44 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 29 Oct 2024 10:51:20 +1100 Subject: [PATCH 2/3] Include storage folder Thanks @cillian for pointing this out. --- roles/migrate_assets/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/migrate_assets/defaults/main.yml b/roles/migrate_assets/defaults/main.yml index 2d58bb465..cc9af2f7c 100644 --- a/roles/migrate_assets/defaults/main.yml +++ b/roles/migrate_assets/defaults/main.yml @@ -8,4 +8,5 @@ migrate_dirs: - images - files - spree + - storage # Required when local storage is used instead of S3 - system From cc81f301e0ef6a9756d8cea338e1fcdc23a37167 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 31 Oct 2024 13:30:24 +1100 Subject: [PATCH 3/3] Remove uk_staging2 It has now replaced uk_staging. --- inventory/hosts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/inventory/hosts b/inventory/hosts index 331ae6012..25e7f1400 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -133,13 +133,9 @@ openfoodnetwork.org.uk [uk_staging] staging.openfoodnetwork.org.uk -[uk_staging2] -staging2.openfoodnetwork.org.uk - [uk:children] uk_prod uk_staging -uk_staging2 #------------------------------------------------------------------------------