Skip to content
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

Closed
wants to merge 13 commits into from
Closed

Ansible updates #38

wants to merge 13 commits into from

Conversation

manics
Copy link
Member

@manics manics commented Nov 20, 2019

/opt/omero/web/OMERO.web/bin/omero is a python wrapper that sets OMERODIR.

Also cleans up the Dockerfile.

Note this is includes #44

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=
Copy link
Member

@joshmoore joshmoore Nov 20, 2019

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?

Copy link
Member Author

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

Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 see also #33

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snoopycrimecop
Copy link
Member

Conflicting PR. Removed from build DOCKER-merge#965. See the console output for more details.
Possible conflicts:

  • Upstream changes
    • Dockerfile

--conflicts

requirements.yml Outdated Show resolved Hide resolved
requirements.yml Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@snoopycrimecop
Copy link
Member

Conflicting PR. Removed from build DOCKER-merge#972. See the console output for more details.
Possible conflicts:

  • Upstream changes
    • Dockerfile

--conflicts

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Nov 30, 2019

Conflicting PR. Removed from build DOCKER-merge#973. See the console output for more details.
Possible conflicts:

  • Upstream changes
    • Dockerfile

--conflicts Conflict resolved in build DOCKER-merge#986. See the console output for more details.

@manics manics force-pushed the ansible-updates branch 2 times, most recently from b92ecb9 to b0da6ff Compare December 12, 2019 16:51
@manics
Copy link
Member Author

manics commented Dec 12, 2019

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/
Copy link
Member Author

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?

Copy link
Member

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)

@manics
Copy link
Member Author

manics commented Dec 19, 2019

omero-mapr passes with this PR: ome/omero-mapr#60

@manics manics mentioned this pull request Dec 19, 2019
9 tasks
@manics
Copy link
Member Author

manics commented Dec 19, 2019

Removing basedeps didn't save as much as I expected. Clearing the yum cache saves a lot though:

manics/omero-web-devtest                     dev.pr38.3-0        54fb058b7cd0        24 minutes ago      856MB
manics/omero-web-standalone                  dev.pr38.3-0        d077c5077a75        27 minutes ago      627MB
manics/omero-web                             dev.pr38.3-0        cb3caa29d138        27 minutes ago      620MB

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Jan 16, 2020

Conflicting PR. Removed from build DOCKER-merge#1020. See the console output for more details.
Possible conflicts:

  • Upstream changes
    • requirements.yml
    • playbook.yml

--conflicts Conflict resolved in build DOCKER-merge#1063. See the console output for more details.

manics added 11 commits June 4, 2020 12:29
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
@manics
Copy link
Member Author

manics commented Jun 4, 2020

Rebased, and added git to the devtest image to handle ome/omero-plugins#33 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants