You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an alternative (or auxiliary) issue to #335, I want to use some of the scripts provided by the scaffold tooling repo (e.g drush, backup, sync backups, etc) without being locked into version constraints or additional modules that I don't want on my PaaS project.
This could also include the settings files, but scripts is the highest priority IMO.
Instead of bundling scripts with module requirements, you could have a separate govcms/scaffold-scripts (or whatever) to make this easier to manage on PaaS
Nice one @acbramley, I believe @steveworley also advocated for a similar approach. We'll raise and see if we can get some approvals to press forward with this.
Hey @acbramley — thanks for the suggestion, after the last release I was considering the same. I've got an internal ticket to track this. I'm hoping that we can get this started soon.
@steveworley Awesome! In case this helps anyone else, in the mean time I'm doing this in my CLI dockerfile:
# Copy some govcms scripts into the project
RUN curl -sS https://raw.githubusercontent.com/govCMS/scaffold-tooling/10.x-develop/scripts/govcms-drush --output /app/vendor/bin/govcms-drush
RUN curl -sS https://raw.githubusercontent.com/govCMS/scaffold-tooling/10.x-develop/scripts/deploy/govcms-db-backup --output /app/vendor/bin/govcms-db-backup
RUN curl -sS https://raw.githubusercontent.com/govCMS/scaffold-tooling/10.x-develop/scripts/deploy/govcms-update_site_alias --output /app/vendor/bin/govcms-update_site_alias
RUN curl -sS https://raw.githubusercontent.com/govCMS/scaffold-tooling/10.x-develop/scripts/deploy/govcms-db-sync --output /app/vendor/bin/govcms-db-sync
RUN curl -sS https://raw.githubusercontent.com/govCMS/scaffold-tooling/10.x-develop/scripts/deploy/govcms-backups-preserve --output /app/vendor/bin/govcms-backups-preserve
RUN chmod +x /app/vendor/bin/govcms-*
Activity
stooit commentedon Sep 11, 2024
Nice one @acbramley, I believe @steveworley also advocated for a similar approach. We'll raise and see if we can get some approvals to press forward with this.
steveworley commentedon Sep 11, 2024
Hey @acbramley — thanks for the suggestion, after the last release I was considering the same. I've got an internal ticket to track this. I'm hoping that we can get this started soon.
acbramley commentedon Sep 11, 2024
@steveworley Awesome! In case this helps anyone else, in the mean time I'm doing this in my CLI dockerfile:
tobybellwood commentedon Sep 11, 2024
Dockerfile ninja points for copying the scripts into a folder in your image and link/run from there