Commit Graph

57 Commits

Author SHA1 Message Date
Alexander Brandon Coles ead911e214 Bump Node to 22.22.3, npm to ^10.9.8
Bumps supported Node engines to `^22.22.3 || ^24.15.0`.

Updates to Node 22.22.3 for development, production, GitHub workflows
and in documentation.
2026-06-07 21:01:52 +01:00
Eric Schubert 6435804192 [chore] use explicit swiftshader GL for chrome testing
Swiftshader is a software based fallback for WebGL context used in
Chrome without GPU access - e.g. in headless browsers for testing, or
containerized selenium browsers, like in our docker dev setup. The
automatic fallback to Swiftshader was disabled in January 2026, causing
any test using a WebGL context to fail.
See https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/swiftshader.md
To fix that, we enabled the unsafe fallback now manually for testing
contexts.
2026-01-27 14:48:12 +01:00
Eric Schubert 84ac8da442 [chore] fix capybara.rb to work with docker setup
- change capybara server host binding mechanism
2026-01-21 10:34:08 +01:00
ulferts 150afb6a20 use older chrome version from mirror to work around xeokit issues in test 2026-01-19 17:50:09 +01:00
Oliver Günther 6bf4c0b67c Bump node to 22.21.0
Addresses CVE-2025-23166
2025-10-27 11:01:44 +01:00
Oliver Günther 39c42a35ef Allow configuration of base image 2025-10-23 07:55:10 +02:00
3115fcfc-2c0b-4076-927f-ae6531c76061 2ba568aa2e Change for Docker PostgreSQL to Version 17 and OpenProject to Version 16 2025-06-20 08:15:41 +02:00
Oliver Günther fdea795a77 Bump Node.js and NPM (#18814)
* Bump nodejs to 22.15

* Update frontend docker
2025-05-05 15:30:22 +02: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 1bf4b01882 Revert "use former version of chrome until chromedriver fixes issues with 132 in selenium"
This reverts commit e8365e64fe.
2025-01-24 16:39:50 +01:00
ulferts e8365e64fe use former version of chrome until chromedriver fixes issues with 132 in selenium 2025-01-20 12:27:42 +01:00
Dombi Attila f23461a604 Update Bundler to 2.5.13 2024-06-20 10:34:45 +03:00
Klaus Zanders 1eec6cad54 Update Ruby to 3.3.2 2024-06-03 12:57:25 +02:00
Cyril Rohr 2bc8e3dce7 Upgrade base ruby image for docker images (#15534)
* Upgrade base ruby image for docker images
* Update base docker image for CI
2024-05-14 10:44:15 +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
Dombi Attila e74eb4ee32 Bump ruby to 3.2.2 & bundler to 2.4.22 2023-12-15 16:26:05 +02:00
Cyril Rohr 32ce2600af Smaller CI image and parallelise setup commands (#14227) 2023-11-23 15:07:17 +01:00
Cyril Rohr dfc5448d72 Save/Load CI docker image from cache (#14211) 2023-11-22 17:41:55 +01: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
Cyril Rohr 78a0cf052a Improve CI cache support (#14022)
Improve CI cache support
2023-10-27 18:30:14 +02:00
Oliver Günther e08203c8c4 Remove pandoc and option to migrate from textile 2023-07-31 19:22:16 +02:00
Cyril Rohr 4fe2a73087 Speedup assets precompilation for CI (#12900) 2023-06-19 12:14:44 +02:00
Cyril Rohr b8d1f2a091 Use multi-stage dockerfile to parallelize builds (#12890)
* Use multi-stage dockerfile to parallelize builds
2023-06-16 12:37:43 +02:00
Cyril Rohr dd36b5c381 Enable on-demand test runners with scaleway (#12795)
* Use dockerfile build cache
* Improve entrypoint to speed up test setup
* Fix asset helper
* Disable angular cache until webpack fixes dangling caches. Also experiment with max-old-space-size
* No need for maintaining test schema under CI. Saves ~30s of db:test:prepare stuff
* DOCKER_BUILDKIT: 1 for AWS
* turbo_tests verbose
* PostgreSQL conf for CI
* Add comment on how to switch back to AWS self-hosted runners
2023-06-15 21:04:54 +02:00
Cyril Rohr d7ac153470 Switch to pg13 for tests 2023-05-25 21:19:01 +02:00
Cyril Rohr fa61bcbad9 Use turbo_tests for better test splitting 2023-05-25 21:17:31 +02:00
Christophe Bliard cee5bd1342 Retry nodejs download in CI Dockerfile on failure 2023-05-05 10:30:55 +02:00
Christophe Bliard 50831b0790 Use HTTP 1.1 to download nodejs package
Should avoid 'curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)' errors seen on CI.
2023-03-24 11:59:53 +01:00
Christophe Bliard 57313d9748 Retry download of nodejs package
This should avoid the error 'gzip: stdin: unexpected end of file' and 'tar: Unexpected EOF in archive' encountered from time to time in CI.
2023-03-22 14:24:47 +01: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
Benjamin Bädorf a9e29279ea Feature/storybook (#10797)
Squash commit of storybook addition to aid design system documentation efforts.

The older commit titles were:

* Initial storybook commit

* Fix documentation.json links

* Don't track documentation.json in git

* Enable sass in storybook

* Initial version of a story that uses angular components

* Remove example stories, clean up button story

* More example stories

* Fix sb build

* Always use dev

* Try without auth header

* Update workflow name

* More logs

* Check if token set

* Use release/storybook branch for testing

* Send ref input to workflow

* Escape input to curl call

* Adding logging

* Different type of escaping

* Fix JOSN

* Use dev branch for opf/design-system storybook publishing

* Add plugin to message path to parent window

* Remove extraneous story

* Add a ton of docs

* Update stories

* Fix syntax error caused by multiple newlines inside of a JSX component

* Add text-field story

* Add basic html stories that don't work yet

* Try to get plain HTML examples working

* HTML Examples work, but slowly revert to components anyway

* Fix HTML examples

* Remove extraneous files

* Put storybook eslint rules back in

* Improve docs

* Show docs tab by default

* Add pullpreview for storybook

* Use the same pullpreview tag for both storybook and normal deployments

* Change name of second pullpreview workflow

* Pin node version to 16.17.0

* Initial update to docs

Added/updated:

Foundation pages:

- Colours (major update)
- Shadows (minor)
- Typography (new)

Blocks

- Checkbox (minor)
- Action bar (major)
- Buttons (new)
- Link (major)
- Modal Dialogue (new)
- Selector Field (new)

* Make sure all code is available during storybook pp build

* Change storybook pullpreview file name

* Add production target to docker-compose sb pp

* Fix acme check for sb pp

* Only run cd-storybook on dev branch

* Run without https on 8080

* Added intro and new page

- Introduction renamed to "Design System", page rewritten completely
- Added page "Devices and Accessibility"

* Remove domain from caddy

* Add port to listen command

* Remove double pullpreview workflows

* Added Divider component

* Change sorting of stories

* Update section titles and order for styles and blocks

* add extra action bar story

* Updated organising + new page

- Updated organisation into Styles, Components and Patterns.
- Added page "Using Storybook" (mostly a skeleton for now)

* Added note about colours not being implemented yet

* Minor

Co-authored-by: Parimal Satyal <88370597+psatyal@users.noreply.github.com>
2022-09-19 14:39:15 +00:00
Henriette Darge 50021d19ac Update node and npm version in Dockerfile and docs 2022-06-13 18:01:49 +02:00
Eric Schubert e0066e0270 [chore] reverted ci image from bullseye to buster 2022-05-03 15:42:21 +02:00
Eric Schubert 15c2f6a534 [chore] invalidated test cache key 2022-05-03 15:34:00 +02: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
Oliver Günther 3122e468ff Raise minimum PSQL version to 10, allowing leaner bigint migration 2022-04-11 21:17:43 +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
Oliver Günther 3baf69f278 Fix to version 9.6 2021-10-12 17:09:33 +02:00
ulferts 8ef6c1110c Merge branch 'release/11.3' into dev 2021-09-13 09:44:34 +02:00
Markus Kahl 0fe0764253 support multiple download urls for chrome binaries
fallback to our own if google doesn't have it
2021-09-01 13:52:09 +01: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
Cyril Rohr 588a526531 Make postgres13 the default version when installing OpenProject (#9088)
* Reexport PGVERSION and PGBIN according to existing install
* Display message if PostgreSQL version deprecated
* Do not launch postgres if using external URI
* Add script to auto-upgrade postgres database for all-in-one dockerfile
* Add documentation for packages and all-in-one docker image
2021-06-11 10:05:21 +02:00