Comments (2)
From @smapjb on February 15, 2017 18:15
To get this working I had to
[root@galaxy galaxy]# docker exec -u 0 -i -t ansible_django_1 /bin/bash
[root@90b06225a736 galaxy]# /venv/bin/activate
[root@90b06225a736 galaxy]# /venv/bin/python /galaxy/setup.py install
And because the ansible_gulp_1 container had failed I also had to
docker commit ansible_gulp_1 temp_image
docker run -v ${pwd}:/galaxy:z --entrypoint=bash -it temp_image
And then from inside the container
npm install
gulp
So clearly those tasks are failing in the ansible-container build
from galaxy.
From @MarcusTomlinson on April 17, 2017 19:16
So the issue with gulp was that the package.json file from galaxy/ was not being copied over to the container for the "Install node packages" task to do anything useful. Unfortunately you get a 0 return from "npm install" even when a package.json file is not present, so all looks to have executed correctly during the build, when it really didn’t.
The issue with the django container was that by installing galaxy in editable mode (“setup.py develop”) the egg-info dir was being dropped into the container’s /galaxy directory. Upon restarting the container, that galaxy folder (and consequently the egg-info dir) is overwritten with a mount of your local galaxy directory. By calling “setup.py develop” from outside of the mount location and setting PYTHONPATH to the source directory, you can have the egg-info persist over restarts.
I’ve pull requested a branch for these fixes here: #21
from galaxy.
Related Issues (20)
- Two namespaces created after migration to Galaxy NG HOT 3
- namespace: slingnode
- Collection seems to be published (HTTP Code: 400, Message: Artifact already exists Code: invalid), but not accessible in the UI or via 'collection install' HOT 6
- nofusscomputing namespace HOT 3
- namespace: redhatci HOT 2
- namespace: Opsmill HOT 3
- namespace: blinklabs HOT 4
- Publishing collection with certain version returns a 500 error
- Unable to import roles to pokerops collection HOT 1
- namespace: nahsilabs HOT 1
- Galaxy NG: Role Import into organizational namespace fails with `ERROR! None (HTTP Code: 403, Message: Forbidden)` HOT 1
- Do not sort galaxy_tags on roles in galaxy.ansible.com/ui
- platforms api endpoint returns 404 not found HOT 2
- namespace: fluencelabs HOT 2
- Please add EMCL-Research-ITSecLab namespace HOT 1
- namespace: twiddlez HOT 3
- namespace: ateme HOT 1
- Request for an "entrust" galaxy namespace. HOT 1
- Unable to import roles anymore: namespace different from github organization HOT 3
- namespace: stewartfrancis HOT 2
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 galaxy.