asd
This commit is contained in:
23
.github/workflows/test-e2e.yml
vendored
23
.github/workflows/test-e2e.yml
vendored
@@ -17,17 +17,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
- name: Install docker
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y apt-transport-https ca-certificates curl software-properties-common
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
||||||
apt update
|
|
||||||
apt install -y docker-ce docker-ce-cli containerd.io
|
|
||||||
dockerd &
|
|
||||||
docker --version
|
|
||||||
|
|
||||||
- name: Install kubectl
|
- name: Install kubectl
|
||||||
run: |
|
run: |
|
||||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl"
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl"
|
||||||
@@ -46,15 +35,11 @@ jobs:
|
|||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
run: kind create cluster
|
run: kind create cluster
|
||||||
|
|
||||||
# - name: Move network
|
|
||||||
# run: |
|
|
||||||
# docker network disconnect kind kind-control-plane
|
|
||||||
# docker network connect bridge kind-control-plane
|
|
||||||
|
|
||||||
# - name: Sleep for cluster create
|
|
||||||
# run: sleep 600
|
|
||||||
|
|
||||||
- name: Running Test e2e
|
- name: Running Test e2e
|
||||||
run: |
|
run: |
|
||||||
go mod tidy
|
go mod tidy
|
||||||
make test-e2e
|
make test-e2e
|
||||||
|
|
||||||
|
- name: Delete kind cluster
|
||||||
|
run: kind delete cluster
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user