Skip to content

Commit 6106e2b

Browse files
committed
test: using e2e framework to test flagd via go-sdk-contrib flagd provider
Signed-off-by: Simon Schrottner <[email protected]>
1 parent 8396f0d commit 6106e2b

File tree

8 files changed

+989
-278
lines changed

8 files changed

+989
-278
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -124,32 +124,5 @@ jobs:
124124
with:
125125
go-version-file: 'flagd/go.mod'
126126

127-
- name: Install envoy
128-
run: |
129-
wget -O- https://apt.envoyproxy.io/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
130-
echo "deb [signed-by=/etc/apt/keyrings/envoy-keyring.gpg] https://apt.envoyproxy.io jammy main" | sudo tee /etc/apt/sources.list.d/envoy.list
131-
sudo apt-get update
132-
sudo apt-get install envoy
133-
envoy --version
134-
135-
- name: Workspace init
136-
run: make workspace-init
137-
138-
- name: Build flagd binary
139-
run: make build
140-
141-
- name: Run flagd binary in background
142-
run: |
143-
./bin/flagd start \
144-
-f file:${{ github.workspace }}/test-harness/flags/testing-flags.json \
145-
-f file:${{ github.workspace }}/test-harness/flags/custom-ops.json \
146-
-f file:${{ github.workspace }}/test-harness/flags/evaluator-refs.json \
147-
-f file:${{ github.workspace }}/test-harness/flags/zero-flags.json \
148-
-f file:${{ github.workspace }}/test-harness/flags/edge-case-flags.json &
149-
150-
- name: Run envoy proxy in background
151-
run: |
152-
envoy -c ./test/integration/config/envoy.yaml &
153-
154127
- name: Run evaluation test suite
155128
run: make workspace-clean && cd test/integration && go clean -testcache && go test -cover

test-harness

test/integration/config/envoy.yaml

Lines changed: 0 additions & 49 deletions
This file was deleted.

test/integration/evaluation_test.go

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)