Commit Graph

49 Commits

Author SHA1 Message Date
Klaus Zanders 05b231fef5 Bump ruby to 4.0.2 2026-04-01 11:28:28 +02:00
Klaus Zanders 1f98f39e22 Update Ruby to 4.0.1 2026-02-18 15:43:25 +01:00
Klaus Zanders 4e9698f5cd Update Ruby to 4.0.0 2026-02-18 15:43:24 +01:00
Eric Schubert abbaf045c5 [chore] fix api spec validation
- validation script used unmaintained npm package
- switched to actively maintained package from same maintainer
- pipe full output to stdout
- bump node major version in development backend Dockerfile
- fix two api spec errors and two random warnings - boyscout, hell yeah
2026-02-11 14:11:20 +01:00
Oliver Günther 39c42a35ef Allow configuration of base image 2025-10-23 07:55:10 +02:00
Oliver Günther 7b1e5251dc Bump ruby to 2.4.7
https://community.openproject.org/work_packages/68511
2025-10-22 09:32:05 +02:00
Klaus Zanders e6fa10a649 Update Ruby & bundler 2025-07-18 15:37:31 +02:00
Pavel Balashou e78b12a51e [#62107] Fix specs. Add openjdk to backend image.
- Add openjdk to backend image.
  It is required to sping up test LDAP server in specs.
  https://github.com/NUARIG/ladle
2025-06-30 17:50:39 +02:00
Yauheni Suhakou 25db0e6eee Docker file update for development and macOS documentation update (#19135)
Update Docker with the new PostgreSQL 17.
Update Docker documentation for macOS with an Apple Silicon section.
2025-06-12 15:56:06 +02:00
Klaus Zanders 918bc1e8e9 Update Ruby to version 3.4.4 and Bundler to 2.6.9 2025-05-19 10:47:58 +02:00
Klaus Zanders fa8bb7b98b Update ruby to 3.4.2 2025-02-17 09:58:44 +01:00
Dombi Attila 173879125a Let bundler take the version from the Gemfile.lock 2025-02-10 15:21:48 +02:00
Markus Kahl 273389c84e update bundler in docker build to fix issue with uninstalled gems 2025-02-10 12:57:21 +01:00
ulferts f8bf0bdf17 bump ruby to 3.4.1 2025-01-23 19:28:50 +01:00
Andreas Pfohl 7a6430cf70 [59159] Removed watchexec-cli from Dockerfile for development
Reason: Package mirror TLS problems
2024-11-18 08:47:17 +01:00
Christophe Bliard 10f256d9ee Fix FromAsCasing warnings in Dockerfile
Warning was:
  FromAsCasing: 'as' and 'FROM' keywords' casing do not match
  More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
2024-10-16 11:54:06 +02:00
Dombi Attila 981c3943f7 Upgrade ruby to 3.3.4 2024-07-15 16:04:15 +03:00
Eric Schubert f764d138f3 [#56012] all Viepoints are saved to the last BCF
- https://community.openproject.org/work_packages/56012
- refreshing topic state after creating a wp (topic)
2024-07-05 16:58:44 +02:00
Dombi Attila f23461a604 Update Bundler to 2.5.13 2024-06-20 10:34:45 +03:00
Dombi Attila f9422567f1 Update Ruby to 3.3.3 2024-06-19 19:42:52 +03:00
Klaus Zanders 1eec6cad54 Update Ruby to 3.3.2 2024-06-03 12:57:25 +02:00
Klaus Zanders a88ab2eeef Bundler 2.5.9 -> 2.5.10 2024-05-07 09:31:50 +02:00
Klaus Zanders c19aa3c74b Update Ruby to 3.3.1 in all relevant places 2024-04-25 08:54:06 +02:00
Aaron Contreras 886bdece55 Bump Bundler to 2.5.5 2024-01-22 11:51:01 -05:00
Aaron Contreras 976dcbb4f6 Bump dependency files to ruby 3.2.3
* Bumps .ruby-version

* Bumps dev/Dockefile

* Bumps prod/Dockerfile
2024-01-22 10:52:25 -05:00
Dombi Attila e74eb4ee32 Bump ruby to 3.2.2 & bundler to 2.4.22 2023-12-15 16:26:05 +02:00
Eric Schubert 029c0596d4 [chore] bump backend node engine (#14034)
* [chore] bump backend node engine

- bump to v20, latest LTS

* [chore] replaced node versions in docs
2023-11-02 13:33:58 +01:00
Wieland Lindenthal 7ab62bef9b Add watchexec to dev/backend Docker images 2023-03-31 16:11:30 +02:00
ulferts 1b0bf0626a bump ruby to 3.2.1 & bundler to 2.4.7 2023-02-28 13:15:28 +01:00
Christophe Bliard 3967b051e8 Bump ruby to 3.2.0 2022-12-29 18:21:52 +01:00
Eric Schubert dd0b142d45 [chore] bump ruby version to 3.1.2 2022-05-03 14:46:31 +02:00
Christophe Bliard 6cb4af657b Bump ruby from 3.0.3 to 3.0.4 2022-04-28 11:28:40 +02:00
Eric Schubert 70763035fa [#41944] fixed toast creation 2022-04-20 10:58:02 +02:00
Eric Schubert c5b1f35574 [#40196] reworked notifications API specification
- https://community.openproject.org/work_packages/40196
- renamed collection model
- reworked examples and object definitions
2022-04-11 11:09:46 +02:00
Benjamin Bädorf bbc8c6127e Update postgres tooling in docker dev (#10375)
* Update postgres tooling in docker dev

* Don't use github ffi
2022-03-31 10:37:56 +02:00
Oliver Günther 349a15b3af Revert "Revert "bump ruby to 3.0""
This reverts commit 4f83d28651.
2022-01-11 09:40:32 +01:00
ulferts 4f83d28651 Revert "bump ruby to 3.0"
This reverts commit 632e2c9f41.
2022-01-11 07:11:02 +01:00
ulferts 632e2c9f41 bump ruby to 3.0 2022-01-07 13:28:51 +01:00
Oliver Günther fc96b42878 Bump ruby to 2.7.5
https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-7-5-released/
2021-11-25 13:08:01 +01:00
Patrick Helm 5810190995 Speed up bin/compose setup significantly (#9404)
With the proposed changes the time required to run `./bin/compose setup`
is being reduced from ~18 minutes down to ~7 minutes on my machine.
In addition a workaround is applied to reduce the size of the images.

== Changes

=== Speed-Up `bundle install`

The time spent withing `bundle install` takes a significant amount time
during the `./bin/compose setup`.
We could make use of two improvements, which both allows us to
utitlize multiple CPU cures:

* Make use of the bundle `--jobs` argument
* Make use of the lesser known/used `MAKE` environment variable

A significant amount of time spent during `bundle install` is actually
compiling C-extensions, that's why the usage of the `MAKE` variable will
drastically improve performence.

=== `useradd --no-log-init`

Unfortunately there is a nasty bug when running `useradd` for a huge
`uid`, which could result in excessive image sizes. See attached links
for more information.

=== BuildKit

BuildKit is the default builder toolkit for Docker on Windows and
DockerDesktop on Macs. Using BuildKit will greatly improve performance
when building docker images.

== Links

=== Speed-Up `bundle install`

* [One Weird Trick That Will Speed Up Your Bundle Install](https://build.betterup.com/one-weird-trick-that-will-speed-up-your-bundle-install/)

=== BuildKit

* [Build images with BuildKit](https://docs.docker.com/develop/develop-images/build_enhancements/)
* [Faster builds in Docker Compose 1.25.1 thanks to BuildKit Support](https://www.docker.com/blog/faster-builds-in-compose-thanks-to-buildkit-support/)

=== `useradd --no-log-init`

* Best practices for writing Dockerfiles: [User](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user)
* golang/co: [archive/tar: add support for writing tar containing sparse files](https://github.com/golang/go/issues/13548)
2021-07-13 16:01:59 +02:00
Oliver Günther c528e92038 Bump ruby to 2.7.4 (#9448)
This was introduced parallel to the Ruby version bump in release/11.3
2021-07-13 14:11:38 +01:00
Markus Kahl c375646dc0 docker dev and test setup fixes (#9135)
* docker dev and test setup fixes

* added missing >

* include test instructions in quickstart

* fixed typo

Co-authored-by: Philipp Tessenow <tessi@bitcrowd.net>

* removed obsolete comment

Co-authored-by: Philipp Tessenow <tessi@bitcrowd.net>

* amendments

Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
Co-authored-by: Philipp Tessenow <tessi@bitcrowd.net>
2021-04-06 13:35:32 +01:00
Markus Kahl 47a752d889 make sure to use latest patch level of ruby base image (#9052)
* make sure to use latest patch level of ruby base image

* how to handle outdated images
2021-02-26 13:10:51 +00:00
Markus Kahl 1c8aaf031f Maintenance: ruby patch level update to 2.7.2 (#8951)
* Update ruby to 2.7.2

* make sure to pull latest base image

* minor comment update
2021-01-28 13:39:38 +01:00
Benjamin Bädorf 660884f50a Fix various problems with the docker setup and frontend changes (#8846)
Fix various problems with the docker setup and frontend changes
* Set the node version to the same one that is used in the final packages and that is required in package.json
* Change the order of operations for backend container building
* Set the npm dependencies back to where they were
* Change browserslist rules for firefox
* Fix some docker commands for pullpreview
* Add b12f as a pullpreview admin

Co-authored-by: ulferts <jens.ulferts@googlemail.com>
2020-11-16 16:15:40 +00:00
Cyril Rohr 28347a4eab Fix paths for pre/post install with prod docker 2020-11-13 14:30:34 +00:00
Benjamin Bädorf 5f45ee07ab Move development docker-compose file to the main directory (#8798)
* Move development docker-compose file to the main directory

This requires us to move some other files around, like the pullpreview and example docker-compose file for production
setups. This commit also does some housekeeping, like removing some old files and deduping configuration.

* Updated to selenium grid

* Fix in-Docker Selenium tests

The Selenium tests now run inside a Docker Chrome Container. Backwards compatability with non-docker setups is not
guaranteed, though it should not be hard to implement with a couple of small fixes.

* Updated docker development documentation

* Improved test timings, changed the documentation

* Updated docker testing again

* Run npm in the frontend directory

* Really run npm in the frontend directory

* Also run npm in frontend when setting up travis cache

* Change directory for one command only

* Change default test driver name

* CI test change fixes

* Fixed syntax error

* Added dev check

* Trying to fix firefox resizing

* Trying to get tests running

* Stop resizing firefox

* Fixed apple icon spec

* fix host in url helpers for omniauth spec

* Fix omniauth specs

* Fix docs

* Small fixes to docker tests

* Added package.json back in

* Change env variables

Co-authored-by: Markus Kahl <machisuji@gmail.com>
2020-11-12 14:05:03 +00:00
Benjamin Bädorf 8b74bffac7 Revert changes to setup_dev
They were unnecessary, and were not backwards-compatible with non-docker development
2020-10-05 15:26:27 +02:00
Benjamin Bädorf a8dfb55345 Updated local development docker setup
There are now separate containers for testing purposes, and the frontend container is a node-only image. Containers run
with a user that has the current user id and gid, making sure that any files that are installed by bundler or npm are
user-owned.

Selenium tests can be ran, but not all of them work yet.
2020-10-05 15:04:33 +02:00