-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helm package step to drone builds (#29)
* Add helm package step to drone builds * Use dist directory for chart tgz * Add printing the contents of dist to stage-binaries
- Loading branch information
Showing
4 changed files
with
39 additions
and
7 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#Requires -Version 5.0 | ||
$ErrorActionPreference = "Stop" | ||
|
||
$SRC_PATH = (Resolve-Path "$PSScriptRoot\..").Path | ||
Push-Location $SRC_PATH | ||
|
||
Remove-Item -Path "$SRC_PATH\dist\*" -Force -ErrorAction Ignore | ||
$null = New-Item -Type Directory -Path dist -ErrorAction Ignore | ||
|
||
c:\windows-amd64\helm.exe package -d dist charts\rancher-wins-upgrader | ||
|
||
Pop-Location |