Skip to content

Commit

Permalink
Switch to mirantis/boundless repo for public releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ranyodh committed Oct 26, 2023
1 parent 4372e06 commit d2bf450
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ archives:
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
bocli_
{{- .Os }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
Expand All @@ -40,9 +40,10 @@ archives:
files:
- none*
release:
# release to the public repository
github:
owner: ranyodh
name: boundless-tech-preview
owner: mirantis
name: boundless
name_template: "bocli-v{{.Version}}"

changelog:
Expand Down
8 changes: 5 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (
"boundless-cli/pkg/config"
)

const boundlessManifestUrl = "https://raw.githubusercontent.com/mirantis/boundless/main/deploy/static/boundless-operator.yaml"

var DefaultComponents = config.Components{
Core: config.Core{
Ingress: &config.CoreComponent{
Expand Down Expand Up @@ -53,8 +55,8 @@ var DefaultComponents = config.Components{

// App is the main urfave/cli.App for boctl
var App = &cli.App{
Name: "boctl",
Usage: "mke cluster management tool",
Name: "bocli",
Usage: "boundless operator management tool",
Flags: []cli.Flag{
debugFlag,
traceFlag,
Expand Down Expand Up @@ -214,7 +216,7 @@ func applyWrapper(c *cli.Context) error {
//}

log.Infof("Installing MKE Operator")
err = kubectlApply("https://raw.githubusercontent.com/ranyodh/boundless-tech-preview/main/deploy/static/boundless-operator.yaml")
err = kubectlApply(boundlessManifestUrl)
if err != nil {
return fmt.Errorf("failed to install MKE Operator: %w", err)
}
Expand Down

0 comments on commit d2bf450

Please sign in to comment.