Skip to content

Commit

Permalink
Connectors cleanup and improve build (#158)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
sanketsudake authored Nov 24, 2023
1 parent aab968f commit e8f84c6
Show file tree
Hide file tree
Showing 119 changed files with 793 additions and 3,535 deletions.
43 changes: 43 additions & 0 deletions .github/actions/setup-keda/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Keda Setup

description: Setup Kind and Keda

runs:
using: "composite"
steps:
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: "go.mod"
cache: true

- name: Setup Kind cluster
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
with:
node_image: kindest/node:v1.23.17
version: v0.20.0
cluster_name: kind

- name: Helm installation
uses: Azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
with:
version: v3.13.0

- name: Install Keda
shell: bash
run: |
kubectl create namespace keda
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
helm install keda kedacore/keda --namespace keda --version 2.12.0
- name: Setup Ko
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
env:
KO_DOCKER_REPO: kind.local

- name: Run local http server
shell: bash
run: |
ko apply -f test/server/server.yaml
kubectl wait pod -l app=http --for=condition=ready --timeout=-1s
Loading

0 comments on commit e8f84c6

Please sign in to comment.