Refactor code generator for deepcopy files (#2580)

* Refactor code generator for deep copy files
* Add timeout to push PR workflow
* Add timeout for the fission-dump command
* Update helm and kind versions

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-10-27 16:24:59 +05:30
committed by GitHub
parent 3a9e5ab65d
commit 2bd005c387
31 changed files with 368 additions and 351 deletions
+7 -4
View File
@@ -22,8 +22,8 @@ on:
workflow_dispatch:
env:
HELM_VERSION: v3.9.0
KIND_VERSION: v0.14.0
HELM_VERSION: v3.10.1
KIND_VERSION: v0.17.0
jobs:
# Job to run change detection
@@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
kindversion: ["v1.19.16", "v1.20.15", "v1.21.12"]
kindversion: ["v1.19.16", "v1.20.15", "v1.21.14"]
os: [ubuntu-latest]
steps:
- name: Checkout sources
@@ -102,6 +102,7 @@ jobs:
sudo chmod +x /usr/local/bin/fission
- name: Build and Install Fission
timeout-minutes: 10
run: |
kubectl create ns fission
make create-crds
@@ -117,9 +118,11 @@ jobs:
fission version
- name: Integration tests
timeout-minutes: 90
run: ./test/kind_CI.sh
- name: Collect Fission Dump
timeout-minutes: 5
if: ${{ always() }}
run: |
command -v fission && fission support dump
@@ -130,7 +133,7 @@ jobs:
kind export logs --name kind kind-logs
- name: Archive fission dump
if: ${{ failure() }}
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v3
with:
name: fission-dump-${{ github.run_id }}-${{ matrix.kindversion }}