Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Aug 14, 2024
1 parent b15f47d commit 24369f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
if: inputs.upload-image == true
run: docker image save rancher/k3s -o ./dist/artifacts/k3s-image.tar
- name: "Upload K3s Artifacts"
if: inputs.upload-repo == false
if: inputs.upload-repo == false && inputs.arch == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: k3s
Expand Down
4 changes: 3 additions & 1 deletion tests/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ func CheckDeployments(deployments []string) error {
}
for d, found := range deploymentSet {
if !found {
return fmt.Errorf("failed to deploy %s", d)
// Grab the logs for the deployment
logs, _ := RunCommand(fmt.Sprintf("kubectl logs -n kube-system deployment/%s", d))
return fmt.Errorf("failed to deploy %s: %s", d, logs)
}
}

Expand Down

0 comments on commit 24369f9

Please sign in to comment.