refactory: move pkg and plugin to internal directory since they're no… #999
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: e2e-thrift | |
on: [push, pull_request] | |
env: | |
ISTIO_VERSION: 1.16.5 | |
ISTIO_NAMESPACE: istio-system | |
SCRIPTS_DIR: test/e2e/scripts | |
COMMON_DIR: test/e2e/common | |
AERAKI_IMG_PULL_POLICY: Never | |
jobs: | |
TestSidecarOutboundConfig: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: true | |
name: TestSidecarOutboundConfig | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/tools/cmd/goimports@latest | |
- 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 Istio | |
run: bash ${SCRIPTS_DIR}/istio.sh | |
- name: Install aeraki | |
run: bash ${SCRIPTS_DIR}/aeraki.sh | |
- name: test | |
run: go test -v github.com/aeraki-mesh/aeraki/test/e2e/thrift/ -run TestSidecarOutboundConfig | |
TestSidecarInboundConfig: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: true | |
name: TestSidecarInboundConfig | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/tools/cmd/goimports@latest | |
- 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 Istio | |
run: bash ${SCRIPTS_DIR}/istio.sh | |
- name: Install aeraki | |
run: bash ${SCRIPTS_DIR}/aeraki.sh | |
- name: test | |
run: go test -v github.com/aeraki-mesh/aeraki/test/e2e/thrift/ -run TestSidecarInboundConfig | |
TestVersionRouting: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: true | |
name: TestVersionRouting | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/tools/cmd/goimports@latest | |
- 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 Istio | |
run: bash ${SCRIPTS_DIR}/istio.sh | |
- name: Install aeraki | |
run: bash ${SCRIPTS_DIR}/aeraki.sh | |
- name: test | |
run: go test -v github.com/aeraki-mesh/aeraki/test/e2e/thrift/ -run TestVersionRouting |