Skip to content

Commit

Permalink
PGOV-314: get rid of cronish app, enable automated cron, update boots…
Browse files Browse the repository at this point in the history
…trap.script and manifest
  • Loading branch information
Adrienne committed Dec 18, 2024
1 parent fbf03fc commit 2506df5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 24 deletions.
9 changes: 3 additions & 6 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,9 @@ fi
drush deploy

# Complete the migration of files
drush migrate:import files
drush migrate:import media
drush migrate:import plan_files

# Make cron script runnable
chmod +x ./../cronish.sh
drush migrate:import --update files
drush migrate:import --update media
drush migrate:import --update plan_files

if [ "${verbose+isset}" ] && [ "${verbose}" -ge 1 ]
then
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions config/automated_cron.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: fUksROt4FfkAU9BV4hV2XvhTBSS2nTNrZS4U7S-tKrs
interval: 0
1 change: 1 addition & 0 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ _core:
default_config_hash: 4GIX5Esnc_umpXUBj4IIocRX7Mt5fPhm4AgXfE3E56E
module:
announcements_feed: 0
automated_cron: 0
basic_auth: 0
better_exposed_filters: 0
big_pipe: 0
Expand Down
8 changes: 0 additions & 8 deletions cronish.sh

This file was deleted.

8 changes: 1 addition & 7 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ applications:
- name: PGOV-CMS
<<: *defaults
memory: 512M
instances: 2
- name: cronish
<<: *defaults
no-route: true
command: ./cronish.sh
health-check-type: process
memory: 128M
instances: 1
- name: PGOV-Frontend
path: ./src/frontend
memory: 256M
Expand Down

0 comments on commit 2506df5

Please sign in to comment.