Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Oct 29, 2024
1 parent 7c00bd1 commit 3dadc4f
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 165 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
apiVersion: apps/v1
kind: Deployment
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
labels:
app: test
name: test
name: waiter-waiter
namespace: allowed-ns-test
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkloadVersion
metadata:
name: waiter-waiter-0.4
namespace: allowed-ns-test
status:
readyReplicas: 2
currentPhase: Completed
deploymentStatus: Succeeded
postDeploymentEvaluationStatus: Succeeded
postDeploymentStatus: Succeeded
postDeploymentTaskStatus:
- status: Succeeded
definitionName: pre-deployment-hello
preDeploymentEvaluationStatus: Succeeded
preDeploymentStatus: Succeeded
preDeploymentTaskStatus:
- status: Succeeded
definitionName: pre-deployment-hello

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ spec:
file: 00-install.yaml
- assert:
file: 00-assert.yaml
- name: step-01
try:
- assert:
file: 01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ metadata:
app: test
name: test
namespace: not-allowed-ns-test
status:
readyReplicas: 2
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 2
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand All @@ -16,7 +7,6 @@ spec:
commit-id: "1234"
stage: dev
---

apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkloadVersion
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: batch/v1
kind: Job
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 2
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 2
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand Down
9 changes: 0 additions & 9 deletions test/chainsaw/integration/simple-deployment/00-assert.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
app: statefultest
name: statefultest
status:
replicas: 2
availableReplicas: 2
readyReplicas: 2
---
apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkload
metadata:
Expand All @@ -18,7 +7,6 @@ spec:
commit-id: "1234"
stage: dev
---

apiVersion: lifecycle.keptn.sh/v1
kind: KeptnWorkloadVersion
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: v1
kind: Pod
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,3 @@ apiVersion: lifecycle.keptn.sh/v1
kind: KeptnAppVersion
metadata:
name: waiter-0.4-6b86b273
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: test
status:
readyReplicas: 1
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ kind: Deployment
metadata:
name: test
status:
readyReplicas: 2
replicas: 2
unavailableReplicas: 0
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: test
name: test
status:
readyReplicas: 1
---
apiVersion: v1
kind: Pod
metadata:
Expand Down
9 changes: 0 additions & 9 deletions test/chainsaw/testcertificate/cert-recreates/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ metadata:
name: keptn-certs
namespace: keptn-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: keptn-system
labels:
control-plane: lifecycle-operator
status:
readyReplicas: 1
---
apiVersion: v1
kind: Pod
metadata:
Expand Down
9 changes: 0 additions & 9 deletions test/chainsaw/testcertificate/cert-recreates/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ metadata:
name: keptn-certs
namespace: keptn-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: keptn-system
labels:
control-plane: lifecycle-operator
status:
readyReplicas: 1
---
apiVersion: v1
kind: Pod
metadata:
Expand Down
9 changes: 0 additions & 9 deletions test/chainsaw/testcertificate/cert-recreates/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ metadata:
annotations:
mycert: "true" # make sure this is the latest secret
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
control-plane: lifecycle-operator
namespace: keptn-system
status:
readyReplicas: 1
---
apiVersion: v1
kind: Pod
metadata:
Expand Down

0 comments on commit 3dadc4f

Please sign in to comment.