Skip to content

Commit

Permalink
VAI Event Source Server (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Mende <[email protected]>
  • Loading branch information
paoloambrosio-skyuk and jmendesky authored Nov 22, 2022
1 parent 223efe2 commit 819017a
Show file tree
Hide file tree
Showing 66 changed files with 2,596 additions and 2,686 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ COPY go.mod go.mod
COPY go.sum go.sum
COPY go.work go.work
COPY argo/providers/ argo/providers
COPY argo/events/ argo/events
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN go mod download
Expand Down
17 changes: 2 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include common.mk
include version.mk
include newline.mk
include go-get.mk

# Image URL to use all building/pushing image targets
IMG ?= kfp-operator-controller
Expand All @@ -14,12 +14,6 @@ else
GOBIN=$(shell go env GOBIN)
endif

# Setting SHELL to bash allows bash commands to be executed by recipes.
# This is a requirement for 'setup-envtest.sh' in the test target.
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

all: build

##@ General
Expand Down Expand Up @@ -55,11 +49,8 @@ vet: ## Run go vet against code.
git-status-check:
@if [ -n "$$(git status -s)" ]; then echo "Uncommitted or untracked files: "; git status -s ; exit 1; fi

ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
decoupled-test: manifests generate ## Run decoupled acceptance tests
mkdir -p ${ENVTEST_ASSETS_DIR}
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.8.3/hack/setup-envtest.sh
source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -tags=decoupled -coverprofile cover.out
$(call envtest-run,go test ./... -tags=decoupled -coverprofile cover.out)

ARGO_VERSION=$(shell sed -n 's/[^ tab]*github.com\/argoproj\/argo-workflows\/v3 \(v[.0-9]*\)[^.0-9]*/\1/p' <go.mod)
integration-test-up:
Expand Down Expand Up @@ -97,10 +88,8 @@ test: fmt vet unit-test decoupled-test
test-argo:
$(MAKE) -C argo/kfp-compiler test
$(MAKE) -C argo/providers test
$(MAKE) -C argo/events test

test-all: test helm-test test-argo
$(MAKE) -C argo/events test

integration-test-all: integration-test
$(MAKE) -C argo/kfp-compiler integration-test
Expand Down Expand Up @@ -209,12 +198,10 @@ include docker-targets.mk
docker-build-argo:
$(MAKE) -C argo/kfp-compiler docker-build
$(MAKE) -C argo/providers docker-build
$(MAKE) -C argo/events docker-build

docker-push-argo:
$(MAKE) -C argo/kfp-compiler docker-push
$(MAKE) -C argo/providers docker-push
$(MAKE) -C argo/events docker-push

##@ Website
website:
Expand Down
21 changes: 0 additions & 21 deletions argo/events/Dockerfile

This file was deleted.

75 changes: 0 additions & 75 deletions argo/events/Makefile

This file was deleted.

143 changes: 0 additions & 143 deletions argo/events/eventsources/run_completion/cmd/main.go

This file was deleted.

71 changes: 0 additions & 71 deletions argo/events/go.mod

This file was deleted.

Loading

0 comments on commit 819017a

Please sign in to comment.