Closed scherztc closed 1 month ago
Yeah. I had concerns.
I didn't see environment in the .env files.
So, I am working to find a way to pull that information from the environment.
Any ideas?
Perhaps the same way we handle script/restart_sidekiq.sh. We call that script with a parameter to specify the right environment. Like script/restart_sidekiq.sh development
or script/restart_sidekiq.sh production
Look at the script/restart_sidekiq.sh source for how we're using ENVIRONMENT to grab and use the parameter.
I tested this on DEV and it worked successfully with the application in INLINE mode verse SIDEKIQ mode. I repeat these scripts works on DEV
Fixes #1165
The embargo scripts are not being used in cron since the date -v function is crashing. We need to clean up these scripts and then set them in crontab.
We have also separated the notification and releasing into their own scripts instead of doing it crontab.