-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(worker): support workers to run natively on windows [WIP] #4446
Open
alpetric
wants to merge
22
commits into
main
Choose a base branch
from
alp/build_windows
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0dfdc95
minimal code change to get windmill worker on windows for bun and pyt…
alpetric 3ed1d5f
adding support for powershell
alpetric 6551494
compiling error on unix
alpetric 648cb71
merge conflict, make ansible build (not run yet) on windows
alpetric 3c3fdbe
rust linting comments
alpetric 674a11d
comments hugo: PSModulePath
alpetric e81555a
merge main
alpetric fb81321
comments ruben, refactor to simplify
alpetric ceb221a
adding build workflow
alpetric b6f8d46
editing workflow
alpetric 3b02fbb
editing workflow
alpetric b3dad9e
editing workflow
alpetric 9b84cb9
editing workflow
alpetric 11e8ca7
editing workflow
alpetric 951bd8e
skip migration env, ee fixes
alpetric 10423c6
Merge branch 'alp/build_windows' of https://github.com/windmill-labs/…
alpetric 5102e0a
improvements powershell
alpetric 01d7c27
testing windows runner
alpetric e49ba39
testing windows runner
alpetric d5f3e75
testing windows runner
alpetric d1b5abd
testing windows runner
alpetric 2f80ba1
testing windows runner
alpetric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build Windows Worker | ||
|
||
on: | ||
push: | ||
branches: | ||
- "alp/build_windows" | ||
paths: | ||
- "backend/**" | ||
- ".github/workflows/build_windows_worker.yml" | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
paths: | ||
- "backend/**" | ||
- ".github/workflows/backend-test.yml" | ||
|
||
jobs: | ||
cargo_test: | ||
runs-on: ubicloud-standard-8 | ||
container: | ||
image: ghcr.io/windmill-labs/backend-tests | ||
services: | ||
postgres: | ||
image: postgres | ||
env: | ||
POSTGRES_DB: windmill | ||
POSTGRES_PASSWORD: changeme | ||
|
||
options: >- | ||
--health-cmd pg_isready --health-interval 10s --health-timeout 5s | ||
--health-retries 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: 1.80.0 | ||
# - uses: Swatinem/rust-cache@v2 | ||
# with: | ||
# workspaces: | | ||
# backend | ||
# backend -> target | ||
- name: cargo build windows | ||
timeout-minutes: 15 | ||
run: | ||
mkdir frontend/build && cd backend && touch | ||
windmill-api/openapi-deref.yaml && rustup target add x86_64-pc-windows-gnu && | ||
DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill | ||
DISABLE_EMBEDDING=true RUST_LOG=info cargo build --target x86_64-pc-windows-gnu --release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path should be '.github/workflows/build_windows_worker.yml' to match the file name.