Skip to content

Commit e8f84c6

Browse files
authored
Connectors cleanup and improve build (#158)
* Cleanup go modules into single file * Lint fixes * Use ko for building images * Rename action file * Fix action * use bash * avoid using env vars * fix keda ns * fix go mod version * reduce fiters for now * fix workflow * fix k8s job command * fix * try kafka release * fix cli path * Fix rabbitmq connector ci * fix to ko apply * Remove namespace params * cleanup * fix kafka namespace * remove all dockerfiles * Fix CI more places * Bump version script * lint fixes * Setup go action * Fix AWS SQL tests * fix formatting --------- Signed-off-by: Sanket Sudake <[email protected]>
1 parent aab968f commit e8f84c6

File tree

119 files changed

+793
-3535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+793
-3535
lines changed

Diff for: .github/actions/setup-keda/action.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Keda Setup
2+
3+
description: Setup Kind and Keda
4+
5+
runs:
6+
using: "composite"
7+
steps:
8+
- name: Set up Go
9+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
10+
with:
11+
go-version-file: "go.mod"
12+
cache: true
13+
14+
- name: Setup Kind cluster
15+
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
16+
with:
17+
node_image: kindest/node:v1.23.17
18+
version: v0.20.0
19+
cluster_name: kind
20+
21+
- name: Helm installation
22+
uses: Azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
23+
with:
24+
version: v3.13.0
25+
26+
- name: Install Keda
27+
shell: bash
28+
run: |
29+
kubectl create namespace keda
30+
helm repo add kedacore https://kedacore.github.io/charts
31+
helm repo update
32+
helm install keda kedacore/keda --namespace keda --version 2.12.0
33+
34+
- name: Setup Ko
35+
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
36+
env:
37+
KO_DOCKER_REPO: kind.local
38+
39+
- name: Run local http server
40+
shell: bash
41+
run: |
42+
ko apply -f test/server/server.yaml
43+
kubectl wait pod -l app=http --for=condition=ready --timeout=-1s

0 commit comments

Comments
 (0)