Commit Graph

300 Commits

Author SHA1 Message Date
Alexander Petric cfab23f2a8 fix windows worker gh action build workflow (#4478) 2024-10-03 18:10:30 +02:00
Alexander Petric 6eb7f8ce81 feat(worker): support workers to run natively on windows (#4446)
* minimal code change to get windmill worker on windows for bun and python + rustfmt

* adding support for powershell

* compiling error on unix

* rust linting comments

* comments hugo: PSModulePath

* comments ruben, refactor to simplify

* adding build workflow

* editing workflow

* editing workflow

* editing workflow

* editing workflow

* editing workflow

* skip migration env, ee fixes

* improvements powershell

* testing windows runner

* testing windows runner

* testing windows runner

* testing windows runner

* testing windows runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* install postgres on runner

* killing process tree in windows

* sqlx_offline

* install openssl for github windows runner

* used pre-installed openssl

* used pre-installed openssl

* build ee

* build ee

* build ee

* build ee

* adding commented out steps for artifact publishing

* build on tag matchinv v* pattern

* ren instead of mv on Windows

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* fix merging issue

* gate imports for windows

* fixing default cargo home path...

* fixing default cargo home path...

* comments ruben

* make pwsh default modules loading more robust on unix (#4448)

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: HugoCasa <hugo@casademont.ch>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2024-10-03 15:59:12 +02:00
Ruben Fiszel d0b24d07d2 deno_core is an optional feature flag (#4473)
* full

* all

* add deno_core as features

* all

* remove warnings

* all
2024-10-03 13:11:58 +02:00
HugoCasa ae8f29a4cb feat: http routing (#4339)
* feat: http routing

* all

* feat: improve UI

* final stuff

* fix: sqlx

* fix: nit

* fix: nits

* fix: error handler display

* fix: routes panel perms

* all

* fix: improve ability to paste from macos in vscode extension

* fix lock-write for deno

* all

* cleaning

* fix

* cli preprocessor

* nits

* nits

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2024-09-20 15:38:38 +02:00
wendrul b0cb1e0b27 feat: ansible playbook support (#4399)
* Ansible execution and parsing

* Working collections and pip dependencies

* Remove unused vars

* File resources logic for ansible

* Make frontend for ansible and resource file

* Format file

* Change naming of file resource and inventory fields

* Add autocomplete for file extension resource creation

* Add endpoint to list file formats for resource types

* Add CLI functionality to pull/push file resources

* Add beta tag to ansible

* Add Full image dockerfiles containing ansible

* Prepare sqlx

* Update cargo.lock

* Update ansible path

* Remove unused imports

* Add back import removed by rust-analyzer

* Improve ansible init code

* Prepare sqlx

* Change dockerfile to make the full windmill image

* Remove old dockerfile

* Improve autocomplete file resource extension select

* Remove comment

* Validate file extension

* Add icons to text file resources

* Remove editability of file resource types

* Remove unused import

* Missing space

* Add yaml parser
2024-09-19 00:21:15 +02:00
Ruben Fiszel 938b8d81dd fix lock-write for deno 2024-09-18 00:57:53 +02:00
Ruben Fiszel 6456e39ee2 add main tag to ee-nsjail 2024-09-18 00:36:02 +02:00
Tsvetomir Bonev ad5363375d chore: build full docker image for arm64 (#4391)
* chore: build `windmill-full` for `arm64`

* fix: use non-enterprise docker image as base
2024-09-14 18:30:31 +02:00
Ruben Fiszel b060a1c39a fix(image): correctly publish windmill-full image 2024-09-13 08:47:58 +02:00
Ruben Fiszel dcf817de02 fix CLI publishing 2024-09-07 12:03:08 +02:00
Ruben Fiszel 9f24ae333d nit npm on release 2024-09-07 11:21:12 +02:00
Ruben Fiszel fd18f42e0f feat: make CLI node compatible (#4347) 2024-09-07 02:31:26 +02:00
dependabot[bot] 8edf24ff96 chore(deps): bump docker/metadata-action from 4 to 5 (#4321)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 21:49:54 +02:00
dependabot[bot] 8880e01c83 chore(deps): bump softprops/action-gh-release from 1 to 2 (#4320)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 21:49:28 +02:00
dependabot[bot] d1e81b6100 chore(deps): bump reggionick/s3-deploy from 3 to 4 (#2002)
Bumps [reggionick/s3-deploy](https://github.com/reggionick/s3-deploy) from 3 to 4.
- [Release notes](https://github.com/reggionick/s3-deploy/releases)
- [Commits](https://github.com/reggionick/s3-deploy/compare/v3...v4)

---
updated-dependencies:
- dependency-name: reggionick/s3-deploy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 00:25:36 +02:00
dependabot[bot] 4aa9846a5d chore(deps): bump docker/metadata-action from 4 to 5 (#2301)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 00:14:49 +02:00
dependabot[bot] 749a2f5ce8 chore(deps): bump actions/checkout from 3 to 4 (#2232)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 00:14:38 +02:00
dependabot[bot] 1ff39eb687 chore(deps): bump docker/login-action from 2 to 3 (#2414)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 23:58:37 +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 cc641f8198 update tests to 1.80 2024-08-26 19:28:16 +02:00
Ruben Fiszel e8df2c2579 fix(frontend): user resource picker for app use lightweight component 2024-08-10 22:49:48 +02:00
Ruben Fiszel 1cd616ddd0 chore: improve ci to not tag PR result 2024-08-10 20:34:20 +02:00
Ruben Fiszel e778546024 chore: improve ci to not tag PR result 2024-08-10 20:08:23 +02:00
Ruben Fiszel 0e1b123863 chore: improve ci to not tag PR result 2024-08-10 19:19:54 +02:00
HugoCasa 357ac9124f feat: caddy with l4 image (#4178) 2024-08-04 23:17:24 +02:00
Ruben Fiszel 3e94fb1a44 add rpi4 build 2024-08-01 18:50:33 +02:00
Ruben Fiszel 29e546f66d chore: update backend tests to 1.79 2024-07-30 18:34:59 +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
HugoCasa 66199ce3f0 staging image CI (#4070) 2024-07-12 16:59:57 +02:00
wendrul af444c8b36 feat: Full-text search on runs using tantivy and command palette for quick actions (#4046)
* Add indexer crate and files

* POC searcher

incomplete schema
only indexes at startup

* POC search component frontend

* Demo of the frontend element

* add Results and Args as text

* minimal functionality

* Make jump to scripts by name

also flows and apps

* Add button on sidebar to open search

* Update lock on indexer after merge

* Make arrow key navigation compatible with scrol

* Show empty result screen and log as a coming feat

* Add summary to script searchable items

* Catch `parts is undefined` error (uFuzzy)

* Index refreshing using tokio interval

* Fix JobLoader workspace being wrongly defined

* Fix click outside

* Add debouncing for completed run search

* Binary mode working + job index tracker

* Warning for no license + fix height scrollbars on content search

* Make it compile without EE files

* remove panic to use errors

* Move global search

* Cleanup UI, no more tab switcher but clear placeholders and actions

* Add tantivy feature flag for windmill-api

* Rework indexer mode

* Mac compatibility for shortcut

* Update test for new run_server

* Prepare sqlx

* Mac compatibility

* Fix openapi yaml

* Fix frontend

* Frontend api fix

* Update docker-compose.yml and caddyfile

With the (by default deactivated) container and reverse proxy to use the
windmill indexer

* fix feature flag for tests

* fix feature falg for running tests

* fix feature flag for running tests

* Make content search use search modal instead

* Add tantivy feature to ee build steps

* Remove old Content search

* change volume location for indexer

* Update dependencies

* Prepare sqlx

* Uncomment line on docker compose

* Add line between input and results

* Update ee repo ref
2024-07-11 11:13:27 +02:00
Ruben Fiszel 4fcf8441e9 chore: no more multiplayer publish on ecr 2024-07-01 13:41:17 +02:00
Ruben Fiszel 795cf4cb09 remove pin update of bit vec 2024-06-30 13:55:41 +02:00
Ruben Fiszel 124b987473 move to arm builders 2024-06-28 16:43:39 +02:00
Ruben Fiszel 21d058f297 chore stop publishing lsp to internal 2024-06-28 12:28:49 +02:00
Ruben Fiszel b877040e0e chore update 2024-06-28 12:10:59 +02:00
Ruben Fiszel 118ff77b2d fix publish ecr 2024-06-28 10:59:37 +02:00
Ruben Fiszel fdce564483 do not use ecr registry anymore for windmill images 2024-06-28 10:47:38 +02:00
Ruben Fiszel 0c34b8326a build cloud to arm64 too 2024-06-28 08:34:01 +02:00
Ruben Fiszel 24679b291b build slim image 2024-06-26 19:36:35 +02:00
Ruben Fiszel c837c4441a fix: fix build 2024-06-26 18:24:47 +02:00
Ruben Fiszel 0a8dce7241 feat: add wmill cli image 2024-06-26 16:58:09 +02:00
Ruben Fiszel c1469d3194 update tests 2024-06-08 17:51:43 +02:00
Hamir Mahal 00654fa9b2 fix: deprecated Node.js usage in checkout@v3 (#3872) 2024-06-05 13:09:21 +02:00
Ruben Fiszel 9c7bb778a1 jemalloc for all 2024-05-29 01:44:37 +02:00
Ruben Fiszel 88195e473f remove jemalloc specific image 2024-05-22 11:44:37 +02:00
Ruben Fiszel 27c1f112f8 use jemalloc for normal ee 2024-05-20 20:03:01 +02:00
Ruben Fiszel 1ed9e23f61 chore: fix tag_latest to wait for build 2024-05-17 01:05:50 +02:00
Ruben Fiszel 1d396fad92 jemalloc image 2024-05-16 21:38:17 +02:00
Ruben Fiszel 9043200a4a fix jsr publish 2024-05-12 21:16:02 +02:00
Ruben Fiszel 12353d5879 add cloud compile flag 2024-05-02 09:39:40 +02:00