Added fission upgrade workflow (#2050)
* Adding upgrade workflow file * Update upgrade_test.yaml * Update push_pr.yaml * Update upgrade_test.yaml * adding kube A * Update upgrade_test.yaml * adding script for upgrade testing * adding fission cli from soource * changing order * correcting typo * adding fission fn * restructirung upgrade test scripts * restructirung upgrade test scripts * adding fission cli build * script arrangment * script arrangment * changing job name * adding supporting scripts * adding supporting scripts * adding supporting scripts * script re-ordered * script re-ordered * script modifcation * moved scripts under /test * separated function test blocks * added a sleep * reverting main workflow changes * added stable version installation step * added stable version installation step * stable fn test * adding latest version build * adding latest version build * adding new tests * adding new tests * adding new tests * adding new tests * adding new tests * adding new tests * adding new tests * adding new tests * adding new stable release * adding new stable release * disabling skaffold build and using docker build * disabling skaffold build and using docker build * disabling skaffold build and using docker build * disabling skaffold build and using docker build * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * fission upgrade using helm * adding helm upgrade with dependency update * cleanup scripts * added crd deletion step before helm upgrade * added crd deletion step before helm upgrade * added crd deletion step before helm upgrade * adding run tests * added test apache deployment * change in repo name * helm list added * changed pullpolicy * troubleshooting * troubleshooting * troubleshooting * troubleshooting * troubleshooting * troubleshooting * removed hardcoded enteries from helm charts * fixing alignment * cleanup * cleanup * cleanup * cleanup * cleanup * removed temp files [cleanup] * removed timeout * adding preupgradechecks image build * adding fission object creation after upgrade * removing fissin object creation after upgrading... * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * workflow step split-up * clean-up * clean-up * output formatting * added a sleep to re-create resources * added a sleep to re-create resources * added a sleep to re-create resources * excluded examples from upgrade work flow * removed helm stable update step from workflow * removed helm stable update step from workflow * added pr corrections * typo correction * troubleshooting * troubleshooting * troubleshooting * pr corrections * pr corrections * pr corrections * removed sleep after helm upgrade * fixing typo * remvoed sleep after fn creation * clean-up * clean-up * added workflow_dispatch * added workflow_dispatch * added workflow_dispatch * added workflow_dispatch Co-authored-by: Jithindevasia <jithindevasia@Infraclouds-MacBook-Pro.local> Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
co-authored by
Jithindevasia
Sanket Sudake
parent
bef677678b
commit
5b1883802e
@@ -0,0 +1,53 @@
|
||||
name: Upgrade functionality test
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
|
||||
upgrade-functionality-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout action sources
|
||||
uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v2.1.3
|
||||
with:
|
||||
go-version: '1.15.12'
|
||||
|
||||
- name: Setup Helm
|
||||
uses: Azure/setup-helm@v1
|
||||
with:
|
||||
version: v3.3.4
|
||||
|
||||
- name: Setup Kind Clutser
|
||||
uses: engineerd/setup-kind@v0.5.0
|
||||
with:
|
||||
config: kind.yaml
|
||||
|
||||
- name: Setup kubectl & fetch node information
|
||||
run: |
|
||||
kubectl cluster-info --context kind-kind
|
||||
kind get kubeconfig --internal >$HOME/.kube/config
|
||||
kubectl get nodes
|
||||
|
||||
- name: Dump system info
|
||||
run: |
|
||||
source ./test/upgrade_test/fission_objects.sh dump_system_info
|
||||
|
||||
- name: Install and configure previous stable fission
|
||||
run: |
|
||||
source ./test/upgrade_test/fission_objects.sh install_stable_release \
|
||||
&& create_fission_objects \
|
||||
&& test_fission_objects
|
||||
|
||||
- name: Upgrade fission to latest
|
||||
run: |
|
||||
source ./test/upgrade_test/fission_objects.sh build_docker_images \
|
||||
&& kind_image_load \
|
||||
&& install_current_release \
|
||||
&& install_fission_cli
|
||||
|
||||
- name: Test previously created fission objects with new release
|
||||
run: |
|
||||
source ./test/upgrade_test/fission_objects.sh test_fission_objects
|
||||
Reference in New Issue
Block a user