Skip to content

Commit

Permalink
Setup GA workflow for testing funnel in µsvcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragemil committed Oct 26, 2023
1 parent 75547e7 commit b73087b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/funnel_msvc_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Funnel in µsvc tests

on: push

jobs:
setup-cluster-and-test:
name: Setup cluster & test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./publisher
env:
DOTNET_VERSION: 8.0.100-rc.1.23463.5
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Setup kube tools
uses: yokawasa/[email protected]
with:
tilt: v0.33.6
helm: v3.11.1
setup-tools: |
tilt
helm
- name: Create test cluster
uses: AbsaOSS/k3d-action@v2
with:
cluster-name: testapp
args: --config=publisher/funnel_cluster_tests_env/k8s/k3d.yaml
- name: Run Tilt CI with tests
run: tilt ci --context k3d-testapp -f funnel_cluster_tests_env/Tiltfile
2 changes: 1 addition & 1 deletion publisher/funnel_cluster_tests_env/k8s/k3d.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: k3d.io/v1alpha5
apiVersion: k3d.io/v1alpha4
kind: Simple
metadata:
name: testapp
Expand Down

0 comments on commit b73087b

Please sign in to comment.