Skip to content
Merged
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
3ccfe51
Defer nightly backups, disable ASG processes during syncs and run syn…
EmlynK Jan 20, 2022
a54c09c
Added deploy.yml examples for Drupal 9 and Localgov. Updated tests (#97)
DionisioFG Mar 10, 2022
223a3b5
Adding a new SimpleSAMLphp meta role. (#100)
gregharvey Mar 31, 2022
32843d5
Allowing users to set cachetool version properly. (#102)
gregharvey Apr 13, 2022
91ea64e
Deploy ami pr 1.x (#106)
gregharvey Apr 14, 2022
371b6b9
Making the MySQL dump command for routine back-ups less aggressive. (…
gregharvey Apr 20, 2022
a9cc7ad
Fix database backups pr 1.x (#109)
gregharvey Apr 20, 2022
4c4c3ad
Fix MySQL backup deferral. (#110)
EmlynK Apr 22, 2022
029848d
Files recurse fix pr 1.x (#112)
EmlynK Apr 26, 2022
b71fa83
Improve multisite support (#115)
EmlynK Apr 29, 2022
c933dc8
Static credentials handling fix pr 1.x (#119)
EmlynK May 23, 2022
b6ea020
Making contents of deploy tar 'ownerless'. (#117)
gregharvey May 31, 2022
1c2b206
Implement file syncing (#124)
EmlynK Jun 7, 2022
1cd0ed0
Create Drupal-specific sync roles (#128)
EmlynK Jun 8, 2022
904033f
Fixing GRANT query for MySQL > 8.0. (#131)
gregharvey Jun 10, 2022
94715d8
Use IF NOT EXISTS when creating database user as that command fails i…
EmlynK Jun 13, 2022
42f12c8
Attempt to fix syncs whenever the 'dump' type is used for source or t…
EmlynK Jun 16, 2022
a9c6abf
Squashfs pr 1.x (#150)
gregharvey Jun 20, 2022
a4de771
Check deploy_code.mount_type is defined when setting facts in init ro…
EmlynK Jun 24, 2022
fe2aaf1
Make config imports during syncs optional (#157)
EmlynK Jun 28, 2022
451227d
Squashfs pr 1.x (#153)
gregharvey Jun 29, 2022
c7aae71
Add cache clears to Drupal deployments, before DB updates and stuff (…
EmlynK Aug 16, 2022
15b8daa
Avoid leaving exponentially growing sqsh files in build locations! (#…
gregharvey Sep 5, 2022
5cab4ae
Exclude sqsh file pr 1.x (#167)
gregharvey Oct 6, 2022
459faba
Removing unnecessary lines in Drupal config generation. (#169)
gregharvey Oct 7, 2022
200f590
Ensuring dump directory exists on backup step. (#172)
gregharvey Oct 10, 2022
2c74432
Allowing Drupal 7 jobs to disable cron. (#174)
gregharvey Oct 14, 2022
0385211
Suppress db revert pr 1.x (#177)
gregharvey Oct 14, 2022
86f138a
Fixing bad assumption that databases will have TCP connections. (#179)
gregharvey Nov 18, 2022
b236540
Handling the 'drush deploy' command more elegantly for Drupal 8+. (#180)
gregharvey Dec 9, 2022
58069b6
Attempt to clear the opcache during Drupal deployments. (#182)
gregharvey Dec 9, 2022
3ea0bfe
Better drush deploy support pr 1.x (#185)
gregharvey Dec 9, 2022
b835344
Cron job schedule params pr 1.x (#190)
tymofiisobchenko Dec 30, 2022
e97e852
Adding option to stop services that might interfere with a squashfs m…
gregharvey Jan 23, 2023
7bbb77f
Drush refactor pr 1.x (#197)
gregharvey Jan 25, 2023
cc31f6a
Better deploy_code role docs. (#213)
gregharvey Jan 27, 2023
f6a3cb3
Cachetool settings and drupal7 tasks fix pr 1.x (#211)
tymofiisobchenko Jan 27, 2023
44fef49
previous_cachetool_remove_before_install_new (#224)
tymofiisobchenko Jan 31, 2023
f1b2b90
Fix cachetool removal pr 1.x (#227)
tymofiisobchenko Jan 31, 2023
de6d80b
Fix cachetool removal pr 1.x (#229)
tymofiisobchenko Feb 1, 2023
1eda678
Documentation enhancements pr 1.x (#218)
gregharvey Feb 3, 2023
09e8639
Drush refactor pr 1.x (#231)
gregharvey Feb 3, 2023
3ba2fe0
Drush refactor pr 1.x (#234)
gregharvey Feb 17, 2023
75ff9ee
Drush refactor pr 1.x (#236)
gregharvey Feb 17, 2023
8d02260
Change php detection for fastcgi and cachetool pr 1.x (#238)
tymofiisobchenko Mar 6, 2023
7971ce7
Cachetool bin per site pr 1.x (#243)
tymofiisobchenko Mar 14, 2023
31c3197
apcu no longer has an 'all' option. (#245)
gregharvey Mar 14, 2023
b5fed24
Refactoring cachetool path setting to match other squashfs vars. (#247)
gregharvey Mar 15, 2023
459689f
Cachetool pr 1.x (#249)
gregharvey Mar 15, 2023
0b39b64
Ensuring we can prevent features and ctools deployments in Drupal 7. …
gregharvey Mar 15, 2023
3d6172a
Cachetool pr 1.x (#251)
gregharvey Mar 15, 2023
1f2e3b6
improving_old_builds_cleanup (#254)
tymofiisobchenko Mar 20, 2023
dd1f5ce
Adding escaped backticks to db names to be safe. (#256)
gregharvey Apr 12, 2023
df74ac6
Mysql db name pr 1.x (#258)
gregharvey Apr 12, 2023
3b49dc9
Mysql db name pr 1.x (#260)
gregharvey Apr 12, 2023
8c30320
Mysql db name pr 1.x (#262)
gregharvey Apr 13, 2023
15ae901
Mysql db name pr 1.x (#264)
gregharvey Apr 14, 2023
c7e4a47
Bug fixes pr 1.x (#266)
gregharvey Apr 14, 2023
5b28bdd
Bug fixes pr 1.x (#268)
gregharvey Apr 19, 2023
ce46e32
Making sync paths build unique.
gregharvey Apr 20, 2023
6245af8
Merge branch 'devel' into 1.x
gregharvey Apr 20, 2023
aa9d3b0
Adding --host parameter to build.sh for pre-deploy host checking with…
gregharvey Apr 21, 2023
fd7c17d
Making syncs safer and more efficient. (#273)
gregharvey Apr 25, 2023
ac8b114
Bug fixes pr 1.x (#278)
gregharvey May 11, 2023
430b731
Bug fixes pr 1.x (#282)
gregharvey May 12, 2023
4d211b5
Bug fixes pr 1.x (#284)
gregharvey May 17, 2023
7dbc30c
Bug fixes pr 1.x (#287)
gregharvey May 25, 2023
5fefc81
db_import_speed_up
tymofiisobchenko Jun 21, 2023
1207816
Merge branch 'devel' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
1eb1e3b
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
69579e4
db_import_speed_up_fixed
tymofiisobchenko Jun 21, 2023
bb58e8c
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
dbcd09e
db_import_speed_up_fix2
tymofiisobchenko Jun 21, 2023
1bc30fd
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
187e503
db_import_speed_up_fix3
tymofiisobchenko Jun 21, 2023
c2d669f
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
d284adb
db_import_speed_up_fix4
tymofiisobchenko Jun 21, 2023
c636f26
Merge branch 'devel' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
d4aea4b
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
5c845f8
db_import_speed_up_fix5_and_gzip
tymofiisobchenko Jun 21, 2023
3d03679
Merge branch 'devel' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
7866d0f
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
0976176
db_import_speed_up_fix6
tymofiisobchenko Jun 21, 2023
a2619a8
Merge branch 'devel' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
d9000d7
Merge branch 'db_import_speed_up' into db_import_speed_up-PR-devel
tymofiisobchenko Jun 21, 2023
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
15 changes: 5 additions & 10 deletions roles/sync/database_sync/database_sync-mysql/tasks/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
- name: Register remote dump name (from database) - GZIP.
ansible.builtin.set_fact:
mysql_sync_source_dump_path: "/tmp/{{ database.source.database }}_{{ build_number }}_source.sql.gz"
when:
- database.source.use_gzip
when: database.source.use_gzip

- name: Get source last known good build number.
ansible.builtin.command:
Expand Down Expand Up @@ -111,8 +110,7 @@
- name: Register tmp target dump name - GZIP.
ansible.builtin.set_fact:
mysql_sync_target_dump_path: "/tmp/{{ database.target.database }}_{{ build_number }}_target.sql.gz"
when:
- database.source.use_gzip
when: database.source.use_gzip

- name: Register tmp unpacked target dump name.
ansible.builtin.set_fact:
Expand Down Expand Up @@ -152,8 +150,7 @@
dest: "{{ _ce_deploy_build_tmp_dir }}/{{ database.target.database }}.sql.gz"
flat: true
delegate_to: "{{ database.source.host }}"
when:
- database.source.use_gzip
when: database.source.use_gzip

- name: Copy dump file to destination - BZIP2.
ansible.builtin.copy:
Expand All @@ -164,8 +161,7 @@
ansible.builtin.copy:
src: "{{ _ce_deploy_build_tmp_dir }}/{{ database.target.database }}.sql.gz"
dest: "{{ mysql_sync_target_dump_path }}"
when:
- database.source.use_gzip
when: database.source.use_gzip

- name: Unpack dump file - BZIP2.
ansible.builtin.shell: "bzip2 -d -c {{ mysql_sync_target_dump_path }} > {{ mysql_sync_target_dump_unpacked_path }}"
Expand All @@ -176,8 +172,7 @@
ansible.builtin.shell: "gzip -d -c {{ mysql_sync_target_dump_path }} > {{ mysql_sync_target_dump_unpacked_path }}"
args:
executable: /bin/bash
when:
- database.source.use_gzip
when: database.source.use_gzip

- name: Delete temporary dump file on target.
ansible.builtin.file:
Expand Down