-
Notifications
You must be signed in to change notification settings - Fork 141
59 lines (55 loc) · 1.46 KB
/
e2e-kafka-zookeeper.yaml
File metadata and controls
59 lines (55 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
name: e2e-kafka-zookeeper
on:
pull_request_target:
paths-ignore:
- '**.md'
- 'docs/**'
push:
paths-ignore:
- '**.md'
- 'docs/**'
branches:
- '*'
env:
ISTIO_VERSION: 1.8.0
SCRIPTS_DIR: test/e2e/scripts
COMMON_DIR: test/e2e/common
jobs:
test:
runs-on: ubuntu-16.04
timeout-minutes: 60
strategy:
fail-fast: true
name: e2e-test
steps:
- name: Check out code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.14.4
- name: Install dependencies
run: |
go version
go get golang.org/x/tools/cmd/goimports
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build docker
run: make docker-build-e2e
- name: Prepare envrionment
run: bash ${SCRIPTS_DIR}/pre.sh
- name: Install Minikube
run: bash ${SCRIPTS_DIR}/minikube.sh start
- name: Install aeraki
run: bash ${SCRIPTS_DIR}/aeraki.sh
- name: Install Istio
run: bash ${SCRIPTS_DIR}/istio.sh -y -f ${COMMON_DIR}/istio-config.yaml
- name: test
run: make e2e-kafka-zookeeper