Skip to content
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

Remove freebsd64 rescue system type #391

Merged
merged 1 commit into from
Jun 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: Upload macOS (amd64) Build Artifact
path: dist/hcloud-macos-build_darwin_amd64/hcloud
path: dist/hcloud-macos-build_darwin_amd64_v1/hcloud
- uses: actions/upload-artifact@v2
with:
name: Upload macOS (arm64) Build Artifact
path: dist/hcloud-macos-arm-build_darwin_arm64/hcloud
- uses: actions/upload-artifact@v1
with:
name: Upload Windows AMD64 Build Artifact
path: dist/hcloud-build_windows_amd64/hcloud.exe
path: dist/hcloud-build_windows_amd64_v1/hcloud.exe
- uses: actions/upload-artifact@v1
with:
name: Upload Linux AMD64 Build Artifact
path: dist/hcloud-build_linux_amd64/hcloud
path: dist/hcloud-build_linux_amd64_v1/hcloud
- uses: actions/upload-artifact@v1
with:
name: Upload FreeBSD AMD64 Build Artifact
path: dist/hcloud-build_freebsd_amd64/hcloud
path: dist/hcloud-build_freebsd_amd64_v1/hcloud
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ builds:
goarch:
- amd64
hooks:
post: gon gon.hcl
post: gon -log-level DEBUG gon.hcl
- id: "hcloud-macos-arm-build"
main: ./cmd/hcloud/main.go
binary: hcloud
Expand All @@ -44,7 +44,7 @@ builds:
goarch:
- arm64
hooks:
post: gon gon_arm64.hcl
post: gon -log-level DEBUG gon_arm64.hcl

before:
hooks:
Expand Down
2 changes: 1 addition & 1 deletion gon.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source = ["./dist/hcloud-macos-build_darwin_amd64/hcloud"]
source = ["./dist/hcloud-macos-build_darwin_amd64_v1/hcloud"]
bundle_id = "cloud.hetzner.cli"

apple_id {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/server/enable_rescue.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func newEnableRescueCommand(cli *state.State) *cobra.Command {
RunE: cli.Wrap(runEnableRescue),
}
cmd.Flags().String("type", "linux64", "Rescue type")
cmd.RegisterFlagCompletionFunc("type", cmpl.SuggestCandidates("linux64", "linux32", "freebsd64"))
cmd.RegisterFlagCompletionFunc("type", cmpl.SuggestCandidates("linux64", "linux32"))

cmd.Flags().StringSlice("ssh-key", nil, "ID or name of SSH key to inject (can be specified multiple times)")
cmd.RegisterFlagCompletionFunc("ssh-key", cmpl.SuggestCandidatesF(cli.SSHKeyNames))
Expand Down