Comments (8)
What about putting a empty file into /export during build-time.
this is what we're doing in https://github.com/ARTbio/GalaxyKickStart/blob/master/roles/galaxy.movedata/tasks/main.yml. As an added bonus you will be able to commit your docker images :).
from ansible-galaxy-extras.
So you ended up with the same idea and named this file .original
? :)
from ansible-galaxy-extras.
exactly ... seemed like the easiest way to control the persistence, and works with containers and VMs.
from ansible-galaxy-extras.
What are you plans for this sub-role? Why is this not upstream ;)
from ansible-galaxy-extras.
Sure, let's do that. I'll make this a separate repo, and make it configurable if you want hard-links or soft links, and you'll use that for docker-galaxy?
from ansible-galaxy-extras.
Hmm, though it would be a bit more work for the custom locations you're using. What we do is just take the location in the container (say /var/lib/postgresql-9.3/ and move that to /export/var/lib/postgresql-9.3/). Not a crazy amount of work, but that will need some testing.
from ansible-galaxy-extras.
I guess soft-links are enough? If you have already ported the export_user_files.py.j2
to ansible than lets use this. I'm not entirely convinced that ansible is more readable than a python script but I'm willing to learn :)
I don't see a problem with the custom locations as these can be migrated if needed like here: https://github.com/galaxyproject/ansible-galaxy-extras/blob/master/templates/startup.sh.j2#L3
Wenn wir es uns richtig dreckig geben wollen könnten wir in dem Rutsch auch dem Umstieg auf Ubuntu 16.04 machen. With this change people need to upgrade there DB not matter what and we can introduce this the new location as well.
from ansible-galaxy-extras.
I guess soft-links are enough?
For containers definitely, but for the VM use case you may want to upgrade the instance by replaying the playbook. Unfortunately ansible doesn't play nice with softlinks. Though in reality, you would probably just point a new VM against old exported data, just as in docker.
I'll make it configurable, maybe we can even remove the hardlink option. The downside with hardlinks is that with GalaxyKickStart containers we need to run privileged containers to be able to do bindmounts, so here soft-links would definitely be better.
from ansible-galaxy-extras.
Related Issues (20)
- nginx - check for apache first ?
- Way of testing (ba)sh (boolean) parameter
- Install autofs system package breaks GalaxyKickStart HOT 7
- `uwsgi_port` variable not used in all references to port
- Task fails when installing requirements.txt HOT 5
- nginx delegated downloads HOT 1
- Post-startup script HOT 3
- User created directly through database connection generates errors when using it for API operations HOT 5
- LetsEncrypt updated their license -- automagic HTTPS signing in this repo no longer works.
- npm proxy dependencies installation failing
- Nginx prefix path for static files not being set at startup
- Cleanup formatting of job_conf.xml HOT 1
- Fetch DRMAA egg for Galaxy is now failing
- NGINX byte-range support is not configurable HOT 4
- Fragile use of if in nginx location block
- Installation of watchdog and drmaa are failing HOT 1
- Fix role testing
- revivifying Galaxy-related ansible playbook HOT 1
- slurm-llnl package missing in 18.04 HOT 1
- Cannot build with ie_proxy.yml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-galaxy-extras.