Use latest release for upgrade tests (#2097)

Fix upgrade CI flow and added checks at places required
This commit is contained in:
Sanket Sudake
2021-07-02 15:48:02 +05:30
committed by GitHub
parent 154fe0d447
commit 2cf2c6979e
4 changed files with 92 additions and 87 deletions
+7 -5
View File
@@ -14,7 +14,6 @@ on:
branches:
- master
paths:
- '.github/workflows/*'
- '**.go'
- 'charts/**'
- 'test/**'
@@ -55,7 +54,7 @@ jobs:
uses: engineerd/setup-kind@v0.5.0
with:
image: ${{ matrix.kindimage }}
version: v0.11.0
version: v0.11.1
- name: Configuring and testing the Installation
run: |
@@ -84,9 +83,8 @@ jobs:
- name: Build and Install Fission CLI
run: |
go build -o fission cmd/fission-cli/main.go
sudo mv fission /usr/local/bin
fission version
sudo make install-fission-cli
sudo chmod +x /usr/local/bin/fission
- name: Port-forward fission components
run: |
@@ -94,6 +92,10 @@ jobs:
kubectl port-forward svc/controller 8889:80 -nfission &
kubectl port-forward svc/nats-streaming 8890:4222 -nfission &
- name: Get fission version
run: |
fission version
- name: Integration tests
run: ./test/kind_CI.sh
+9 -3
View File
@@ -23,7 +23,12 @@ on:
jobs:
upgrade-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
kindimage : [ 'kindest/node:v1.19.11' ]
os: [ ubuntu-latest ]
steps:
- name: Checkout action sources
uses: actions/checkout@v2.3.4
@@ -41,13 +46,14 @@ jobs:
- name: Setup Kind Clutser
uses: engineerd/setup-kind@v0.5.0
with:
config: kind.yaml
image: ${{ matrix.kindimage }}
version: v0.11.1
- name: Setup kubectl & fetch node information
run: |
kubectl cluster-info --context kind-kind
kind get kubeconfig --internal >$HOME/.kube/config
kubectl get nodes
kubectl get storageclasses.storage.k8s.io
- name: Dump system info
run: |