Skip to content

Commit

Permalink
Release 1.0 (#380)
Browse files Browse the repository at this point in the history
* fixed cherry pick conflicts

* using command instead of root to preserve lib version

* updated codegen + fixed missing pointer method

Co-authored-by: Clay Kauzlaric <[email protected]>
  • Loading branch information
gabo1208 and KauzClay authored Mar 1, 2022
1 parent a3e27bc commit c147fba
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 23 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ jobs:
# Build and Publish our containers to the docker daemon (including test assets)
export GO111MODULE=on
export GOFLAGS=-mod=vendor
ko apply -PRf config/ -f test/config
ko apply -PRf config/
# Build Knative plugin and create Secret
# Build Knative plugin
go build -o kn-vsphere ./plugins/vsphere/cmd/vsphere
./kn-vsphere login --secret-name vsphere-credentials --username user --password pass
kubectl -n vmware-sources wait --timeout=10s --for=condition=Available deploy/webhook
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ require (
k8s.io/client-go v0.21.4
k8s.io/code-generator v0.21.4
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
knative.dev/eventing v0.27.0
knative.dev/hack v0.0.0-20211101195839-11d193bf617b
knative.dev/pkg v0.0.0-20211101212339-96c0204a70dc
Expand Down
8 changes: 8 additions & 0 deletions test/e2e/binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ func TestBindingGOVC(t *testing.T) {

clients := test.Setup(t)

//create vcsim
cleanupVcsim := CreateSimulator(t, clients)
defer cleanupVcsim()

selector, cancel := CreateJobBinding(t, clients)
defer cancel()

Expand All @@ -50,6 +54,10 @@ func TestBindingPowerCLICore(t *testing.T) {

clients := test.Setup(t)

//create vcsim
cleanupVcsim := CreateSimulator(t, clients)
defer cleanupVcsim()

selector, cancel := CreateJobBinding(t, clients)
defer cancel()

Expand Down
4 changes: 4 additions & 0 deletions test/e2e/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func TestSource(t *testing.T) {

clients := test.Setup(t)

//create vcsim
cleanupVcsim := CreateSimulator(t, clients)
defer cleanupVcsim()

// Create a job/svc that listens for events and then quits N seconds after the first is received.
name, wait, cancelListener := RunJobListener(t, clients)
defer cancelListener()
Expand Down
Loading

0 comments on commit c147fba

Please sign in to comment.