Coder Social home page Coder Social logo

klaros-testmanagement / klaros-docker Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 7.0 1.13 MB

Install and configure Klaros Test Management under Docker for Windows and Linux.

Home Page: https://www.klaros-testmanagement.com

License: MIT License

Dockerfile 8.61% Shell 14.18% TSQL 2.29% HTML 74.92%
testing-tools test docker test-management test-case-management test-cases testing testing-tool

klaros-docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

klaros-docker's Issues

Pre-build Klaros docker images

Hi there, would you have any interest in having pre-built images available, either on Docker Hub or here on Github? The latter is super simple to set up and I would be more than happy to provide a PR with the relevant changes to the Github Actions workflow.

How I see it:

  • You create the release/tag on this repository when you are ready for a new release
  • Workflow kicks in to build the Klaros containers (only the Klaros application Dockerfiles, not the Database ones) and pushes them to the container registry here
  • The images can automatically be tagged correctly, i.e ghcr.io/klaros-testmanagement/klaros-docker:v5.3.0-databaseType (and even a plain klaros-docker:databaseType which is always the latest available for that type)

I started thinking about this yesterday when I was building/rebuilding the container locally - and each time it had to download the setup.jar file, which could take upwards of 20/30 mins - might also prevent your bandwidth from being hammered when pesky people like me are constantly building the image ;)

I already took a look at simplifying the workflow file yesterday: https://github.com/PromoFaux/klaros-docker/actions/runs/1342274759/workflow

With a couple of tweaks, it can be made to also upload that image to the GitHub Container Registry, see here for an example of where I have done this on another project:

https://github.com/pi-hole/docker-base-images/blob/master/.github/workflows/ftl-build.yml#L48-L61

Edit: Working example https://github.com/PromoFaux/klaros-docker/pkgs/container/klaros

Broken Microsoft SQL Database in release 4.12.4.1 and below

Hello,

This is a really serious problem. There is no way to avoid data loss if you are currently using the Microsoft SQL Server database. This should be fixed in 4.12.4.2

How to save your data?
Please keep always a copy of your backup!

To whom fate has now hit that he uses the SQL version and the 4.12.4.1 release. There is a way how you can still save your data.

First, you create a volume backup.
Then you update to tag 4.12.4.2 (it doesn't matter if you create the volume backup afterwards).
Shut down your containers with docker-compose down.
Delete your volume: docker volume rm klaros-data
Create your new image and start a new clean server: docker-compose up --build
Terminate the server with CTRL + C
Open the directory /data/mssql-data/ in your backup file and delete all files EXCEPT klaros.mdf and klaros_log.ldf.
Restore your backup.
Now you should be able to use your server as usual.

If anything didn't work, please let me know.

database hostname=db hardcoded in klaros image

PostgreSQL/klaros/files/catalina-wrapper.sh contains this line:

echo "hibernate.connection.url = jdbc:postgresql://db/${DATABASE_NAME}"

that db is actually the hostname, which klaros will use to connect to the database. This just happens to work since docker-compose.yml spins a container with that name.

However, its no good if the image is used by some other orchestrator, Kubernetes in my case, and/or when the database is to reside on some generic postgresql server, ie. a database cluster or so.

I suggest adding a DATABASE_HOST environment variable with default value db to the klaros Dockerfile. Then its possible to specify something else.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.