Skip to content

Commit

Permalink
KIC 2.0 Integration Test Happy Path for v1.Ingress (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt committed Mar 22, 2021
1 parent 0d517c0 commit 50a5bb9
Show file tree
Hide file tree
Showing 30 changed files with 745 additions and 834 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/integration_test.yaml
@@ -0,0 +1,29 @@
name: Integration Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: cache go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
- name: checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: run railgun integration tests
run: ./scripts/railgun-integration-tests.sh
23 changes: 13 additions & 10 deletions go.mod
Expand Up @@ -2,31 +2,34 @@ module github.com/kong/kubernetes-ingress-controller

go 1.16

// -----------------------------------------------------------------------------
// Replacements
//
// If you add replacements here, please make sure the replacement has a comment
// associated with it that explains why the replacement is necessary.
// -----------------------------------------------------------------------------

// client-go does not autoresolve versions correctly due to a historical versioning problem upstream
replace k8s.io/client-go => k8s.io/client-go v0.20.3

require (
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect
github.com/blang/semver v3.5.1+incompatible
github.com/containerd/containerd v1.3.3 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/docker v20.10.5+incompatible
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/docker v20.10.5+incompatible // indirect
github.com/eapache/channels v1.1.0
github.com/fatih/color v1.10.0
github.com/ghodss/yaml v1.0.0
github.com/go-logr/logr v0.4.0
github.com/google/go-cmp v0.5.5 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.2.0
github.com/hashicorp/go-memdb v1.3.1 // indirect
github.com/hashicorp/go-uuid v1.0.2
github.com/imdario/mergo v0.3.11 // indirect
github.com/kong/deck v1.4.0
github.com/kong/deck v1.5.0
github.com/kong/go-kong v0.16.0
github.com/kong/kubernetes-testing-framework v0.0.1
github.com/lithammer/dedent v1.1.0
github.com/magiconair/properties v1.8.4 // indirect
github.com/mitchellh/mapstructure v1.4.1
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/pelletier/go-toml v1.8.1 // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.10.0
Expand Down
54 changes: 24 additions & 30 deletions go.sum

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions pkg/k8stest/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions pkg/k8stest/README.md

This file was deleted.

42 changes: 0 additions & 42 deletions pkg/k8stest/pkg/docker/docker.go

This file was deleted.

76 changes: 0 additions & 76 deletions pkg/k8stest/pkg/kind/kind.go

This file was deleted.

150 changes: 0 additions & 150 deletions pkg/k8stest/pkg/kong/kong.go

This file was deleted.

0 comments on commit 50a5bb9

Please sign in to comment.