sourcebroker / deployer-extended-media Goto Github PK
View Code? Open in Web Editor NEWDeployer tasks to manage media synchronization between application instances.
License: MIT License
Deployer tasks to manage media synchronization between application instances.
License: MIT License
Filter option '- *' not working. it prevents all other rules as well
Copied from Readme file
set('media',
[
'filter' => [
'+ /fileadmin/',
'- /fileadmin/_processed_/*',
'+ /fileadmin/**',
'+ /uploads/',
'+ /uploads/**',
'- *'
]
]);
deployer-extended-media and deployer-extended-database are doing a clean job.
I have a common scenario which isn't covered and I wanted to get your thoughts on this:
We have most stages in the same secure network and thus a
from my system for media and db would result in a lot of traffic, as the DB dump itself is easily 2GB.
Thus, we don't download to local, but rather let PRODUCTION ssh into STAGING and copy the files that way.
This reduces traffic and increases speed dramatically.
Of course that would only work if on PRODUCTION there are established SSH credentials (i.e. an ssh key defined for the user which allows to SSH into STAGING), but IMHO this prerequisite is understandable and necessary.
Of course this won't be possible with disconnected remotes, like PRODUCTION and LOCAL-DDEV.
I gladly stick to my hotwired deployer 6 based own code, but as I could replace a lot of my stuff with your two extensions I just thought to ask if you see potential in this or regard is as out-of-scope as uncommon.
A plausible and working way around is to have a CI runner in the same network running the commands from a dashboard, as then it is at least internal traffic.
Hi,
Great work again!
I really would love to have a backup task, like the one in the extended database project.
I looked into it and startet creating the first media:export
task right here.
Analog to the database tasks, I would continue with a media:compress
, media:dumpclean
and media:backup
.
Maybe you are interested to have look over it and merge it.
Later, I would like to have a configurable task for syncing the backups to an external backup storage.
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.