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

Redefine software installation and packaging #8

Closed
nj1973 opened this issue Oct 13, 2023 · 2 comments · Fixed by #30
Closed

Redefine software installation and packaging #8

nj1973 opened this issue Oct 13, 2023 · 2 comments · Fixed by #30
Assignees
Labels
framework Setup tasks relating to builds, installation and dev initial release Required for initial open source effort

Comments

@nj1973
Copy link
Collaborator

nj1973 commented Oct 13, 2023

We need to spend some time understanding how a customer moves from a cloned github repo to a working installation.

What do they need, from the top of my head:

  • A Python virtual environment with required packages
  • The gluentlib egg file, not sure if this should be in the virtual env or in a lib directory which we include in PYTHONPATH
  • An Oracle client which we no longer bundle. If we switch to python-oracledb then they probably don't need a client
  • An OFFLOAD_HOME containing log run setup, conf and bin directories
  • offload.env templates, current generated by templates/conf/make on conf directory
  • An OFFLOAD_HOME containing version file
  • The contents of setup and bin directories as current produced by the Makefile

I may have missed something.

We still need a make package option which produces a tarball that can be extracted to deploy GOE. There's no way customers will be prepared to run make commands on a production system, they should be able to do it once and produce a tarball which can be deployed to a server.

@nj1973 nj1973 added framework Setup tasks relating to builds, installation and dev initial release Required for initial open source effort labels Oct 13, 2023
@nj1973 nj1973 changed the title Redefine software installation Redefine software installation and packaging Oct 16, 2023
@nj1973 nj1973 self-assigned this Oct 27, 2023
@nj1973
Copy link
Collaborator Author

nj1973 commented Nov 2, 2023

I've reinstated Spark Standalone package. These are the steps I've been using on my VM to run Spark locally.

make package-spark-standalone
cp goe_transport_6.0.8-DEV.tar.gz $OFFLOAD_HOME/..
cd $OFFLOAD_HOME/..
tar xf goe_transport_6.0.8-DEV.tar.gz
sed -i "s:/opt/gluent:$PWD:" transport/spark/conf/spark-defaults.conf
$SPARK_HOME/sbin/start-master.sh

@nj1973
Copy link
Collaborator Author

nj1973 commented Nov 2, 2023

The changes so far give us everything we need in the GOE tarball except for a Python virtual environment.
I'm not convinced we should attempt to bundle that, perhaps we should just bundle a frozen requirements.txt file instead.

I think I'll call this issue complete for now and create a new issue for the Python virtual environment question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework Setup tasks relating to builds, installation and dev initial release Required for initial open source effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant