Skip to content

Commit

Permalink
Add app-gateway k3d integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
m00g3n committed Mar 11, 2024
1 parent 844eaa5 commit d1e7f74
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/kyma-integration-k3d-app-gateway.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run app-gateway integration tests on k3d
on:
push:
branches: [ main ]
paths:
- 'components/central-application-gateway/**'
pull_request:
branches: [ main ]
paths:
- 'components/central-application-gateway/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
/home/runner/work/common/bin
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run unit tests
run: make -C tests/components/application-connector/hack/ci k3d-gateway-tests
2 changes: 2 additions & 0 deletions components/central-application-gateway/pkg/httptools/http.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package httptools

// TODO:remove me

import (
"io"
"net/http"
Expand Down

0 comments on commit d1e7f74

Please sign in to comment.