-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible updates #38
Ansible updates #38
Conversation
Dockerfile
Outdated
@@ -13,11 +13,9 @@ RUN yum -y install epel-release \ | |||
&& yum -y install ansible sudo \ | |||
&& ansible-galaxy install -p /opt/setup/roles -r requirements.yml | |||
|
|||
ARG OMERO_VERSION=5.6.0-m1 | |||
ARG OMEGO_ADDITIONAL_ARGS= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is OMEGO_ADDITIONAL_ARGS removed? Isn't that still necessary if someone wants a merge build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not using omego
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you outline how to do this then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's a URL to a zip somewhere I can update the role. Would it just be for OMERO.web, or for OMERO.py, OMERO.marshal, etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous functionality encompassed py, web, dropbox, marshal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add this as a use case to consider in ome/ansible-role-omero-web#27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 see also #33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicting PR. Removed from build DOCKER-merge#965. See the console output for more details.
--conflicts |
Conflicting PR. Removed from build DOCKER-merge#972. See the console output for more details.
--conflicts |
Conflicting PR. Removed from build DOCKER-merge#973. See the console output for more details.
|
b92ecb9
to
b0da6ff
Compare
This is now rebased on top of #44 |
Dockerfile
Outdated
USER omero-web | ||
EXPOSE 4080 | ||
VOLUME ["/opt/omero/web/OMERO.web/var"] | ||
|
||
ENV OMERODIR=/opt/omero/web/OMERO.web/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this. It's set in the wrapper script. Delete it, keep it, or keep it only in the devtest
image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For uses without the wrapper (i.e. with venv3/bin/omero
, I'd keep it.) No strong feeling over here or only in devtest if the latter works, but at least in omero-server there were various requirements to have it defined earlier (e.g. pre-omego
)
omero-mapr passes with this PR: ome/omero-mapr#60 |
Removing basedeps didn't save as much as I expected. Clearing the yum cache saves a lot though:
|
Conflicting PR. Removed from build DOCKER-merge#1020. See the console output for more details.
|
46214a6
to
311729a
Compare
E.g. `make VERSION=x.y.z docker-build` ``` openmicroscopy/omero-web-devtest x.y.z b109930c8052 27 seconds ago 1.2GB openmicroscopy/omero-web-devtest x.y.z-0 b109930c8052 27 seconds ago 1.2GB openmicroscopy/omero-web-standalone x.y.z d23d308c0d4f 9 minutes ago 869MB openmicroscopy/omero-web-standalone x.y.z-0 d23d308c0d4f 9 minutes ago 869MB openmicroscopy/omero-web x.y.z 3331af321dd0 9 minutes ago 862MB openmicroscopy/omero-web x.y.z-0 3331af321dd0 9 minutes ago 862MB ```
Use /opt/omero/web/OMERO.web/bin/omero wrapper
Previously this was using the latest pypi package
Rebased, and added |
/opt/omero/web/OMERO.web/bin/omero
is a python wrapper that setsOMERODIR
.Also cleans up the Dockerfile.
Note this is includes #44