Commit Graph

169 Commits

Author SHA1 Message Date
Ruben Fiszel 789b4f6442 bump deno to 2.0.4 and bun to 1.1.34 2024-11-06 00:38:37 +01:00
Ruben Fiszel 2cd46cc55f fix(bash): correctly propagate sigterm for cancelled bash scripts 2024-10-24 14:42:37 +02:00
Ruben Fiszel 1ae033841e fix: update bun to 1.1.32 (#4568)
* fix: update bun to 1.1.32

* Update DockerfileSlimEe

* Update Dockerfile
2024-10-22 20:08:26 +02:00
Ruben Fiszel d7b83274db fix: update bun to 1.1.31 and deno to 2.0.2 2024-10-21 11:29:14 +02:00
Ruben Fiszel eb83704965 chore: update bun to 1.30.0 2024-10-16 22:53:42 +02:00
Ruben Fiszel ae6eac5f7b feat: upgrade to deno 2 2024-10-10 02:30:42 +02:00
Ruben Fiszel 7c0950d9da fix: fix uv path 2024-10-03 22:42:34 +02:00
pyranota 1e7a37ac8b feat: Replace pip-compile with uv (#4460)
* Update `shell.nix`

- Replace pip-compile with uv packages
- Pin rust version
- Add var to trigger windmill print more info in stdout

* Replace `pip-compile` with `uv` (dirty + untested)

* Fix arguments passed to uv

Some of the flags are included by default in UV and can be safely removed:
- --resolver=backtracking
- --no-emit-index-url

Also uv does not support `--pip-args` and suggests to directly pass args to uv.

* Remove extra `dbg!`

* Replace 'pip-compile' with 'uv' in Dockerfile

* Add fallback option to `pip-compile` (Disabled)

* Add `uv` to `docker/DockerfileSlim*`

* Add `get_annotation_python` and rename `get_annotation` to `get_annotation_ts`

* Add option to fallback to pip-compile

Put `# no_uv` on top the file for specific python script

Or set `USE_PIP_COMPILE` variable to `true`

* Put back `pip-tools` into shell.nix

* Make sure lockfile resolves again if `#no_uv` used

Add #no_uv to the end of requirements (requirements.in)
That way if something breaks for customer, then they put #no_uv and new lockfile will be resolved

* Put `pip install pip-tools` in original spot

* Fix compilation error

* Fix EE compilation error

error[E0658]: attributes on expressions are experimental
   --> windmill-worker/src/python_executor.rs:144:5
    |
144 |     #[cfg(feature = "enterprise")]
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information

* Add `no_cache` annotation

Will force recalculation of lockfile
And block uv from using cached values

* Target uv cache to /tmp/windmill/cache

* Prohibit uv from managing python

* Add uv to DockerfileBackendTests

* Pin uv version to 0.4.18 in Dockerfiles

* Dont put `#no_uv` in requirements.in

Instead postfix hash for requirements.in with `-no_uv`

* Push Warning to logs if fallbacked to pip-compile

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-10-03 16:00:35 +02:00
Ruben Fiszel 768d4b752e fix: update pip to 24.2 and python 3.11.8->3.11.10 2024-09-23 14:01:31 +02:00
Ruben Fiszel ae6103569a fix: update bun to 1.1.27 2024-09-17 10:27:51 +02:00
Ruben Fiszel 2a5bafecb8 update bun to 1.1.26 and deno to 1.46.3 2024-09-06 08:51:24 +02:00
superjcvd 76918b1ef3 chore: gives the possibility not to install git in the docker image (#4333)
* chore: create a variable for golang version

* chore: gives the possibility not to install git cli

* chore: update debian packages to latest security versions

* fix: remove apt-get upgrade feature

* Update Dockerfile

* Update Dockerfile

---------

Co-authored-by: @gael.soude <gael.soude@firstbase.com>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-09-04 09:47:16 +02:00
Ruben Fiszel 85594825fc chore: only copy build folder of frontend for frontend build step 2024-09-01 22:45:43 +02:00
wendrul 91d328b132 feat: add rust (#4253)
* Add rust on frontend

* Add parser for rust

* Handle rust job execution

* Main has to return a result that is serializable

* Update parser: parse many rust types

* Rust parser dependencies

* Frontend wasm parser

* Add windmill parser rust to windmill parser wasm (temporarily)

* Add rust as a tag on worker__default

* Change init code for rust

* Cleanup rust_executor.rs

* Remove tree-sitter dep and fix unused imports

* Add lockfile and build logic

* Add cargo and rustup to windmill image

* Fix env var to work on docker image and dev env

* modify package.json

* Deps after parser publish

* Add stashed migration

* Unify rust versions

* Add error message when php or cargo are not present to use another image

* Error message conditionally on feature flag

* all ci/cd changes

* all ci/cd changes

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-08-30 17:01:04 +02:00
Ruben Fiszel ae7dfe778c update deno to 1.46.1 2024-08-28 21:13:29 +02:00
Ruben Fiszel a22896e051 chmod /tmp/windmill directly in dockerfile 2024-08-27 11:55:44 +02:00
Ruben Fiszel dc16c6180f update rust image to 1.80 2024-08-26 17:49:56 +02:00
Ruben Fiszel 7b1ea57924 fix: bun 1.1.21->1.1.25 2024-08-22 16:37:53 +02:00
HugoCasa 904b5b4ea1 feat: cache common hub scripts in image (#4249)
* feat: cache common hub scripts in image

* Delete backend/src/hubPaths.json

* fix: missing file

* fix: dockerfile

* fix: cache by path

* fix

* fix

* precreate cache folder
2024-08-16 17:30:44 +02:00
Ruben Fiszel 8c457960a5 dockerfile improvements 2024-08-14 15:49:33 +02:00
Fred Reimer 4b2aa1310d bump go version (#4192)
* bump go version

* update go version in lsp
2024-08-06 15:07:24 +02:00
Ruben Fiszel c7832bfb0f update rust image to 1.79 2024-07-30 15:46:43 +02:00
Ruben Fiszel 64053cc9ca bump deno and deno_core to 1.45.4 2024-07-30 08:43:52 +02:00
Ruben Fiszel 8e2edaa435 fix: update bun to 1.1.21 2024-07-28 14:55:47 +02:00
Ruben Fiszel 4003a6ebec fix sveltekit conf 2024-07-22 22:31:53 +02:00
Ruben Fiszel 96dc3c2acf small nit BASE_URL 2024-07-22 20:11:13 +02:00
HugoCasa 49f1e276c7 rhel9 binaries (#4086)
* feat: rhl9 img test

* fix: action

* fix: action

* fix: build

* don't use rustup

* fix: rustfmt

* fix: second apt-get

* fix

* fix: try xmlsec1 no-dev

* fix: remove scache

* fix: 1.75 rust support

* fix: rust 1.75

* fix: xmlsec1

* fix: nit

* fix: missing async recursion

* fix: missing dep + unregister from RH

* fix: add xmlsec1 openssl

* fix: check binary is running

* add link

* feat: clean rhel files

* fix: lock
2024-07-16 16:50:51 +02:00
Ruben Fiszel ecf7db5534 fix: update bun 1.1.18 2024-07-04 15:35:05 +02:00
Ruben Fiszel 80636588e3 chore: change deno build step in dockerfile 2024-06-26 19:11:49 +02:00
Ruben Fiszel 833bcededb rm docs redundance 2024-06-22 14:52:24 +02:00
Ruben Fiszel 970f8b9d30 fix: upgrade deno to 1.44.1 2024-06-11 19:54:57 +02:00
Ruben Fiszel 1257c5f07d update rust image to 1.78 2024-06-08 17:02:31 +02:00
Ruben Fiszel c461757406 fix: revert bun to 1.1.8 2024-05-24 08:07:41 +02:00
Ruben Fiszel 9ab3be51a6 fix: update bun to 1.1.9 2024-05-23 09:24:38 +02:00
Ruben Fiszel f8bd664362 only enable profiling if env variable is present 2024-05-20 18:57:26 +02:00
Ruben Fiszel 31d69561cc allow dynamic heap profiling using jemalloc live prof_active 2024-05-20 18:44:03 +02:00
HugoCasa f7f7a6d85f feat: add php (#3725)
* feat: add php

* fix: nsjail + frontend build
2024-05-15 08:12:11 +02:00
HugoCasa 95ce9f34a6 chore: upgrade bun to 1.1.7 (#3689) 2024-05-08 14:35:58 +02:00
Ruben Fiszel 7f54df0f67 update to bun 1.1.5 2024-04-26 20:55:15 +02:00
Ruben Fiszel 59882fa924 chore: improve cargo cache 2024-04-24 00:46:03 +02:00
Ruben Fiszel 80157c0e68 chore: improve cargo cache 2024-04-24 00:42:45 +02:00
Ruben Fiszel 3688c21630 chore: improve cargo cache 2024-04-24 00:36:28 +02:00
Ruben Fiszel ca7b134051 update /static_frontend builder dir 2024-04-04 14:55:09 +02:00
Ruben Fiszel 7b38bab2db update awscli & nodejs 2024-04-04 03:58:23 +02:00
Ruben Fiszel c1e8e53516 update awscli & nodejs 2024-04-04 03:55:29 +02:00
Ruben Fiszel 727e50b23f chore try docker scout 2024-04-04 03:01:56 +02:00
Ruben Fiszel 25b81acbc5 nit go caching in dockerfile 2024-04-04 01:15:10 +02:00
Ruben Fiszel 9502a5b811 fix: improve locking 2024-04-04 01:10:38 +02:00
Ruben Fiszel 204a4ca196 move more deps to nsjail phase 2024-04-03 23:20:03 +02:00
Ruben Fiszel 85a4608d98 split out nsjail from public images 2024-04-03 23:16:25 +02:00