Skip to content

Commit

Permalink
fix(types)!: Correct pkg and generate .proto files from them (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec authored Jun 18, 2020
1 parent c78b0a5 commit 145fd9a
Show file tree
Hide file tree
Showing 155 changed files with 46,182 additions and 3,681 deletions.
36 changes: 24 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,26 +127,38 @@ coverage:
clean:
-rm -rf ${CURRENT_DIR}/dist

.PHONY: crds
crds:
./hack/crdgen.sh

.PHONY: manifests
manifests: crds
kustomize build manifests/cluster-install > manifests/install.yaml
kustomize build manifests/namespace-install > manifests/namespace-install.yaml

.PHONY: swagger
swagger:
go run ./hack/gen-openapi-spec/main.go ${VERSION} > ${CURRENT_DIR}/api/openapi-spec/swagger.json

.PHONY: codegen
codegen:
go mod vendor
./hack/generate-proto.sh
./hack/update-codegen.sh
./hack/update-openapigen.sh
go run ./hack/gen-openapi-spec/main.go ${VERSION} > ${CURRENT_DIR}/api/openapi-spec/swagger.json
$(MAKE) swagger
./hack/update-api-docs.sh
rm -rf ./vendor
go mod tidy

.PHONY: e2e
e2e:
./hack/e2e/run-e2e.sh

.PHONY: kind-e2e
kind-e2e:
./hack/e2e/kind-run-e2e.sh

.PHONY: build-e2e-images
build-e2e-images: sensor-controller-image gateway-controller-image gateway-client-image gateway-server-image
$(MAKE) manifests

.PHONY: start
start:
kustomize build --load_restrictor=none test/manifests > /tmp/argo-events.yaml
kubectl apply -f test/manifests/argo-events-ns.yaml
kubectl -n argo-events apply -l app.kubernetes.io/part-of=argo-events --prune --force -f /tmp/argo-events.yaml
kubectl -n argo-events wait --for=condition=Ready --timeout 60s pod --all
kubens argo-events

$(GOPATH)/bin/golangci-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin v1.26.0
Expand Down
6 changes: 3 additions & 3 deletions api/event-bus.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ <h3 id="argoproj.io/v1alpha1.NativeStrategy">NativeStrategy
<tbody>
<tr>
<td>
<code>size</code></br>
<code>replicas</code></br>
<em>
int
int32
</em>
</td>
<td>
Expand Down Expand Up @@ -423,7 +423,7 @@ <h3 id="argoproj.io/v1alpha1.PersistenceStrategy">PersistenceStrategy
</tr>
<tr>
<td>
<code>size</code></br>
<code>volumeSize</code></br>
<em>
k8s.io/apimachinery/pkg/api/resource.Quantity
</em>
Expand Down
4 changes: 2 additions & 2 deletions api/event-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ Description

<td>

<code>size</code></br> <em> int </em>
<code>replicas</code></br> <em> int32 </em>

</td>

Expand Down Expand Up @@ -860,7 +860,7 @@ Available access modes such as ReadWriteOnce, ReadWriteMany

<td>

<code>size</code></br> <em>
<code>volumeSize</code></br> <em>
k8s.io/apimachinery/pkg/api/resource.Quantity </em>

</td>
Expand Down
Loading

0 comments on commit 145fd9a

Please sign in to comment.