Skip to content

Commit

Permalink
Upgrade plan test (#702)
Browse files Browse the repository at this point in the history
* Upgrade plan test

* Bad indentation

* Do not assert plan completed

* Yaml format fix

* Label the right object
  • Loading branch information
alenkacz authored and kudo-ci committed Aug 8, 2019
1 parent aa31c5a commit bf8362c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/integration/upgrade-command/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ spec:
parameters:
replicas: "4"
status:
activePlan: {}
activePlan: {}
---
apiVersion: kudo.dev/v1alpha1
kind: PlanExecution
metadata:
labels:
kudo.dev/operator-version: upgrade-operator-0.2.0
ownerReferences:
- kind: Instance
name: upgrade-instance
status:
name: upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ plans:
- name: everything
tasks:
- app
upgrade:
strategy: serial
phases:
- name: upgrade
strategy: parallel
steps:
- name: everything
tasks:
- app

0 comments on commit bf8362c

Please sign in to comment.