Commit Graph

59 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
Eric Schubert 82f6fd0c9e [chore] fix ifc conversion pipe
- remove dotnet runtime dependency
- use prebuilt self-contained executable for xeokit-metadata
2026-01-27 16:15:36 +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
Christophe Bliard 46e230b586 Retry downloads of bim dependencies in docker
Download failed in some CI builds for some reason [1], while it worked
for previous builds [2]. I would assume it's transient download errors.

Adding `--tries 3` to the wget commands to retry the downloads should
fix the issue.

Also replaced `--quiet` with `--no-verbose` to be terser than default
but still get error information when it fails.

[1] https://github.com/opf/openproject-flavours/actions/runs/17911001201 and https://github.com/opf/openproject-flavours/actions/runs/17910946720/job/50922134721
[2] https://github.com/opf/openproject-flavours/actions/runs/17910953231/job/50922155467
2025-09-22 12:04:30 +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
Alexander 616e870c30 Bump IfcConvert version 2024-11-25 09:49:19 +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
Wieland Lindenthal ea7a289f3b [#56873] Add instructions on how to develop on the BIM edition using Docker (#16302)
* [#56873] Add instructions on how to develop on the BIM edition using Docker

https://community.openproject.org/work_packages/56873

* Cleanup according to review comments
2024-08-02 16:02:57 +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
Dombi Attila 0ecc2614af Fix missing 18n export (#13256)
* Replace the i18n:js:export task with assets:export_locales

* Update the package-lock.json to fix bin/setup_dev errors
2023-07-26 16:45:21 +02: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
Eric Schubert 3e07975584 [#41480] respond with 401 on invalid bearer tokens
- https://community.openproject.org/work_packages/41480
- amend strategy for doorkeeper to react on all bearer tokens
- added ouath request spec for valid, invalid and revoked token
2022-04-08 14:58:03 +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
Benjamin Bädorf 964629b93d Permission woes 2021-11-25 18:15:47 +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
ulferts ba9bd5c5b9 document memory requirements of running docker (#9139)
* document memory requirements of running docker

* use bin/compose throughout docker dev description
2021-04-06 09:13:21 +02:00