Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/apisix-conformance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Format Conformance Test Report
if: ${{ github.event_name == 'pull_request' }}
run: |
echo '# conformance test report' > report.md
echo '# conformance test report - ${{ matrix.provider_type }} mode' > report.md
echo '```yaml' >> report.md
cat apisix-ingress-controller-conformance-report.yaml >> report.md
echo '```' >> report.md
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/apisix-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
provider_type:
- apisix-standalone
- apisix
cases_subset:
- apisix.apache.org
- networking.k8s.io
fail-fast: false
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -90,5 +93,6 @@ jobs:
env:
TEST_DIR: "./test/e2e/apisix/"
PROVIDER_TYPE: ${{ matrix.provider_type }}
TEST_LABEL: ${{ matrix.cases_subset }}
run: |
make e2e-test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ kind-e2e-test: kind-up build-image kind-load-images e2e-test
.PHONY: e2e-test
e2e-test:
@kind get kubeconfig --name $(KIND_NAME) > $$KUBECONFIG
DASHBOARD_VERSION=$(DASHBOARD_VERSION) go test $(TEST_DIR) -test.timeout=$(TEST_TIMEOUT) -v -ginkgo.v -ginkgo.focus="$(TEST_FOCUS)"
DASHBOARD_VERSION=$(DASHBOARD_VERSION) go test $(TEST_DIR) -test.timeout=$(TEST_TIMEOUT) -v -ginkgo.v -ginkgo.focus="$(TEST_FOCUS)" -ginkgo.label-filter="$(TEST_LABEL)"

.PHONY: download-api7ee3-chart
download-api7ee3-chart:
Expand Down
31 changes: 0 additions & 31 deletions config/rbac/gatewayproxy_editor_role.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions config/rbac/gatewayproxy_viewer_role.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion test/e2e/api7/gatewayproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test GatewayProxy", func() {
var _ = Describe("Test GatewayProxy", Label("apisix.apache.org", "v1alpha1", "gatewayproxy"), func() {
s := scaffold.NewDefaultScaffold()

var defaultGatewayClass = `
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("APISIX Standalone Basic Tests", func() {
var _ = Describe("APISIX Standalone Basic Tests", Label("apisix.apache.org", "v2", "basic"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

type Headers map[string]string

var _ = Describe("Test ApisixConsumer", func() {
var _ = Describe("Test ApisixConsumer", Label("apisix.apache.org", "v2", "apisixconsumer"), func() {
var (
s = scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/globalrule.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
scope: "Namespace"
`

var _ = Describe("Test GlobalRule", func() {
var _ = Describe("Test GlobalRule", Label("apisix.apache.org", "v2", "apisixglobalrule"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/pluginconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
scope: "Namespace"
`

var _ = Describe("Test ApisixPluginConfig", func() {
var _ = Describe("Test ApisixPluginConfig", Label("apisix.apache.org", "v2", "apisixpluginconfig"), func() {
var (
s = scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test ApisixRoute", func() {
var _ = Describe("Test ApisixRoute", Label("apisix.apache.org", "v2", "apisixroute"), func() {
var (
s = scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/apisix/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var Cert = strings.TrimSpace(framework.TestServerCert)

var Key = strings.TrimSpace(framework.TestServerKey)

var _ = Describe("Test ApisixTls", func() {
var _ = Describe("Test ApisixTls", Label("apisix.apache.org", "v2", "apisixtls"), func() {
var (
s = scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/crds/backendtrafficpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test BackendTrafficPolicy base on HTTPRoute", func() {
var _ = Describe("Test BackendTrafficPolicy base on HTTPRoute", Label("apisix.apache.org", "v1alpha1", "backendtrafficpolicy"), func() {
s := scaffold.NewDefaultScaffold()

var defaultGatewayProxy = `
Expand Down Expand Up @@ -156,7 +156,7 @@ spec:
})
})

var _ = Describe("Test BackendTrafficPolicy base on Ingress", func() {
var _ = Describe("Test BackendTrafficPolicy base on Ingress", Label("apisix.apache.org", "v1alpha1", "backendtrafficpolicy"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/crds/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test Consumer", func() {
var _ = Describe("Test Consumer", Label("apisix.apache.org", "v1alpha1", "consumer"), func() {
s := scaffold.NewDefaultScaffold()

var defaultGatewayProxy = `
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gatewayapi/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Check if controller cache gets synced with correct resources", func() {
var _ = Describe("Check if controller cache gets synced with correct resources", Label("networking.k8s.io", "basic"), func() {

var gatewayProxyYaml = `
apiVersion: apisix.apache.org/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gatewayapi/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func createSecret(s *scaffold.Scaffold, secretName string) {
assert.Nil(GinkgoT(), err, "create secret error")
}

var _ = Describe("Test Gateway", func() {
var _ = Describe("Test Gateway", Label("networking.k8s.io", "gateway"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gatewayapi/gatewayclass.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test GatewayClass", func() {
var _ = Describe("Test GatewayClass", Label("networking.k8s.io", "gatewayclass"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gatewayapi/gatewayproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test GatewayProxy", func() {
var _ = Describe("Test GatewayProxy", Label("apisix.apache.org", "v1alpha1", "gatewayproxy"), func() {
s := scaffold.NewDefaultScaffold()

var defaultGatewayClass = `
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gatewayapi/httproute.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"github.com/apache/apisix-ingress-controller/test/e2e/scaffold"
)

var _ = Describe("Test HTTPRoute", func() {
var _ = Describe("Test HTTPRoute", Label("networking.k8s.io", "httproute"), func() {
s := scaffold.NewDefaultScaffold()

var gatewayProxyYaml = `
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/ingress/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func createSecret(s *scaffold.Scaffold, secretName string) {
assert.Nil(GinkgoT(), err, "create secret error")
}

var _ = Describe("Test Ingress", func() {
var _ = Describe("Test Ingress", Label("networking.k8s.io", "ingress"), func() {
s := scaffold.NewScaffold(&scaffold.Options{
ControllerName: "apisix.apache.org/apisix-ingress-controller",
})
Expand Down
Loading