-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from schemahero/kubectl-plugin
Add a schemahero kubectl plugin and v1alpha3
- Loading branch information
Showing
97 changed files
with
4,162 additions
and
1,508 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Build and test" | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: '1.12.14' | ||
- name: setup goenv | ||
run: | | ||
echo "::set-env name=GOPATH::$(go env GOPATH)" | ||
echo "::add-path::$(go env GOPATH)/bin" | ||
shell: bash | ||
- uses: actions/checkout@master | ||
- name: setup kubebuilder | ||
run: | | ||
echo "::add-path::/usr/local/kubebuilder/bin" | ||
- run: make kubebuilder all | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: schemahero | ||
path: bin/schemahero | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
name: manager | ||
path: bin/manager |
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,7 @@ | ||
package main | ||
|
||
import "github.com/schemahero/schemahero/pkg/cli/schemaherokubectlcli" | ||
|
||
func main() { | ||
schemaherokubectlcli.InitAndExecute() | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package main | ||
|
||
import "github.com/schemahero/schemahero/pkg/cli" | ||
import "github.com/schemahero/schemahero/pkg/cli/schemaherocli" | ||
|
||
func main() { | ||
cli.InitAndExecute() | ||
schemaherocli.InitAndExecute() | ||
} |
Oops, something went wrong.