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

Automate WormSim deployment via docker #53

Open
gidili opened this issue May 4, 2015 · 7 comments
Open

Automate WormSim deployment via docker #53

gidili opened this issue May 4, 2015 · 7 comments
Assignees

Comments

@gidili
Copy link
Member

gidili commented May 4, 2015

No description provided.

@gidili gidili added the wormsim label May 4, 2015
@MichaelCurrie
Copy link

Since we use Travis CI for continuous integration and testing, wouldn't it be better to use their tools for deployment instead of Jenkins? Just asking.

@gidili
Copy link
Member Author

gidili commented May 6, 2015

@MichaelCurrie I agree that if we manage to get the integrated solution to work all on the same platform it would be a better option. Travis supports a number of providers (same link as you have) and notably has integration with amazon instances via AWS Code deploy but it is somewhat limited, or at least hard to get to work - @tarelli tried but says it assumes you are deploying one repo and not many like we have (one per each geppetto bundle). Jenkins is much more flexible in the sense that you can just list your deployment steps with no limitations on what you can / cannot do in terms of commands.

@gidili gidili added the ideas label Oct 6, 2015
@slarson slarson changed the title Automate WormSim deployment via jenkins script Automate WormSim deployment via docker Aug 5, 2017
@slarson slarson self-assigned this Aug 5, 2017
@slarson
Copy link
Member

slarson commented Aug 5, 2017

Started this process today. Using this document as a guide. Committed a branch within initial contents to make this happen.

Next steps:

  • Incorporate the deploy scripts in the build.
  • make sure to modify the paths in the scripts (e.g. this one)
  • Do a docker build on the docker file. Likely to fail. Check in on the logs to see what is not working. Review the document above to see what is not working
  • Log in to the instance and look around in the directories to see what may be misconfigured
  • Keep iterating the dockerfile until it comes up.

@VahidGh
Copy link
Member

VahidGh commented Oct 6, 2024

Hi,

Is it OK to start over the wormsim project with this issue?

@pgleeson
Copy link
Member

Sure. Not sure what state it is in or how easy it would be to get going inside docker...

@VahidGh
Copy link
Member

VahidGh commented Oct 12, 2024

@padraig,

I've been playing with the docker files for some hours for the past few days.
I could run some through Github actions but the main problem is that the latest version of Wormsim (here) is outdated and maybe incompatible with the current stable versions of other modules in Geppetto.

I'm mainly aiming to use an online version of the Wormsim for educational purposes.
Will try to see if I can find a temporary workaround until we decide if we are going to put some effort for an upgraded version of the Wormsim.

The docker branch can be a good starting point from an integrated development perspective (where all the installation and dependency requirements are gathered in one place), although, from a deployment point of view has also some advantages (security, cloud-friendly, etc...).

Just not sure to wish the worm to find its way out of the docker through a hole or not ;) :D

@VahidGh
Copy link
Member

VahidGh commented Oct 25, 2024

Issue Update: Troubleshooting WormSim and Geppetto Compatibility

  1. Initial Issue with log4j

    • I began by testing the current Docker file and configuration, discovering that log4j is no longer supported. I attempted workarounds by running mvn install with options to bypass tests (-Dmaven.test.skip, -DskipTests, and -Dmaven.test.skip.exec) to skip log4j, which is only required for testing. Unfortunately, this did not resolve the error.
    • It's possible that additional modules beyond org.geppetto rely on log4j. As mvn install only directly installs org.geppetto (which then installs other modules hierarchically), it may require modifying the installation approach for v0.2.6.
    • Build result via GitHub Actions
  2. Building the Latest Geppetto Stack Independently (Excluding WormSim)

  3. Independent Installations with WormSim v0.2.6 and Geppetto (Current Stack)

    • Using the latest installation method with WormSim v0.2.6 and the same Geppetto stack version, I resolved the log4j issue. However, I encountered a new error with a node module required during installation via grunt.
    • Error encountered with node module
  4. Independent Installations with WormSim v0.2.6 and Geppetto (Development Stack)

    • I then attempted installations using WormSim v0.2.6 alongside the Geppetto development version. This build stalled on a missing bower installation due to the outdated "metacell/java-virgo-maven" base container, which prevented installing additional packages within the container.
    • After applying a workaround to resolve the bower issue and overcoming further minor issues, I encountered an incompatibility between Geppetto model architectures for the development version and v0.2.6.
    • Incompatibility error with development version

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

No branches or pull requests

5 participants