Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

combine declarative test cases into one test case #60

Merged
merged 5 commits into from
Aug 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ jobs:
e2e: "test/sync-http/e2e.yaml"
- name: Sync Cloudevent e2e test
e2e: "test/sync-cloudevent/e2e.yaml"
- name: Declarative Sync HTTP e2e test
e2e: "test/declarative/sync-http/e2e.yaml"
- name: Declarative Sync Cloudevent e2e test
e2e: "test/declarative/sync-cloudevent/e2e.yaml"
- name: Declarative multiple Sync HTTP e2e test
e2e: "test/declarative/sync-http-multiple/e2e.yaml"
- name: Declarative multiple Sync Cloudevent e2e test
e2e: "test/declarative/sync-cloudevent-multiple/e2e.yaml"
- name: Declarative multiple functions with variables e2e test
e2e: "test/declarative/sync-http-variables/e2e.yaml"
steps:
Expand Down
8 changes: 7 additions & 1 deletion plugin/skywalking/test/binding-event/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Expand Down
8 changes: 7 additions & 1 deletion plugin/skywalking/test/topic-event/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Expand Down
7 changes: 6 additions & 1 deletion test/bindings/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ setup:
- name: install dapr
command: |
dapr -v || (wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash)
dapr init -k --log-as-json
dapr init -k --runtime-version 1.8.1 --log-as-json --wait --timeout 600
wait:
- namespace: dapr-system
resource: pod
label-selector: app.kubernetes.io/name=dapr
for: condition=Ready

- name: install helm
command: |
Expand Down
2 changes: 1 addition & 1 deletion test/bindings/sender/Dockerfile.bindings.sender
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine
FROM golang:1.17

ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
Expand Down
2 changes: 1 addition & 1 deletion test/bindings/target/Dockerfile.bindings.target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine
FROM golang:1.17

ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
Expand Down

This file was deleted.

24 changes: 0 additions & 24 deletions test/declarative/sync-cloudevent-multiple/cloudevent.go

This file was deleted.

48 changes: 0 additions & 48 deletions test/declarative/sync-cloudevent-multiple/e2e.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions test/declarative/sync-cloudevent-multiple/expected.data.yaml

This file was deleted.

85 changes: 0 additions & 85 deletions test/declarative/sync-cloudevent-multiple/main.go

This file was deleted.

62 changes: 0 additions & 62 deletions test/declarative/sync-cloudevent-multiple/manifests.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions test/declarative/sync-cloudevent-multiple/verify.sh

This file was deleted.

12 changes: 0 additions & 12 deletions test/declarative/sync-cloudevent/Dockerfile.sync.cloudevent

This file was deleted.

18 changes: 0 additions & 18 deletions test/declarative/sync-cloudevent/cloudevent.go

This file was deleted.

Loading