Skip to content

Commit

Permalink
test: review
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <[email protected]>
  • Loading branch information
RealAnna committed Apr 13, 2023
1 parent 1197205 commit b0e0fbf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/integration/expose-keptn-metric/00-teststep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commands: # generating job and metric based on namespace to avoid interference b
- script: |
export NAME=$( echo $NAMESPACE | tr -d -)
echo "installing first job"
envsubst < no-metrics.yaml | kubectl apply -f -
envsubst < job-no-metric.yaml | kubectl apply -f -
- script: |
export NAME=$( echo $NAMESPACE | tr -d -)
echo "asserting first job"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/expose-keptn-metric/01-teststep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commands:
- script: | # generating job and metric based on namespace to avoid interference between runs
export NAME=$( echo $NAMESPACE | tr -d -)
echo "installing second job"
envsubst < metrics.yaml | kubectl apply -f -
envsubst < job-existing-metric.yaml | kubectl apply -f -
- script: | # generating job assertion file
export NAME=$( echo $NAMESPACE | tr -d -)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: $NAME-job1
namespace: $NAMESPACE
spec:
backoffLimit: 3
backoffLimit: 0
template:
spec:
containers:
Expand All @@ -19,7 +19,6 @@ spec:
then
exit 1
fi
exit 0
- name: test-api-endpoint
image: curlimages/curl:8.00.1
args:
Expand All @@ -31,5 +30,4 @@ spec:
then
exit 1
fi
exit 0
restartPolicy: Never

0 comments on commit b0e0fbf

Please sign in to comment.