Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d2f13bd9
Commit
d2f13bd9
authored
Feb 06, 2025
by
Brad Davidson
Committed by
Brad Davidson
Feb 10, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add windows smoke test
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
(cherry picked from commit
3aa24cdd
) Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
7794369e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
install.yaml
.github/workflows/install.yaml
+26
-0
No files found.
.github/workflows/install.yaml
View file @
d2f13bd9
...
@@ -105,3 +105,29 @@ jobs:
...
@@ -105,3 +105,29 @@ jobs:
with
:
with
:
## If no one connects after 5 minutes, shut down server.
## If no one connects after 5 minutes, shut down server.
wait-timeout-minutes
:
5
wait-timeout-minutes
:
5
test-windows
:
name
:
"
Smoke
Test
(windows)"
needs
:
build
runs-on
:
windows-2022
timeout-minutes
:
10
steps
:
-
name
:
"
Checkout"
uses
:
actions/checkout@v4
with
:
{
fetch-depth
:
1
}
-
name
:
"
Download
k3s
binary"
uses
:
actions/download-artifact@v4
with
:
name
:
k3s
path
:
dist/artifacts/
-
name
:
"
Run
K3s"
timeout-minutes
:
5
run
:
|
$ErrorActionPreference = "Continue"
$PSNativeCommandUseErrorActionPreference = $true
$Server = Start-Job -ScriptBlock { ./dist/artifacts/k3s.exe server --token=token --embedded-registry --disable=metrics-server }
Start-Sleep -Seconds 15
D:/var/lib/rancher/k3s/data/current/bin/k3s.exe kubectl get node -o wide
D:/var/lib/rancher/k3s/data/current/bin/k3s.exe kubectl get pod -A -o wide
Stop-Job -Job $Server
Receive-Job -Wait -Job $Server
Remove-Job -Job $Server
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment