Update API version attributes

This commit is contained in:
Soby Chacko
2020-02-12 12:38:09 -05:00
parent e49f28ffce
commit d3a5f600d8
10 changed files with 35 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ metadata:
component: http-source
spec:
replicas: 1
selector:
matchLabels:
app: http-source
template:
metadata:
labels:

View File

@@ -8,6 +8,9 @@ metadata:
component: log
spec:
replicas: 1
selector:
matchLabels:
app: log
template:
metadata:
labels:

View File

@@ -8,6 +8,9 @@ metadata:
component: transform-processor-kafka
spec:
replicas: 1
selector:
matchLabels:
app: transform-processor-kafka
template:
metadata:
labels:
@@ -31,7 +34,7 @@ spec:
value: transformer-out
- name: TRANSFORMER_EXPRESSION
value: payload.toUpperCase()
- name: LOGGING_FILE_NAME
- name: LOGGING_FILE
value: transform-processor-kafka.log
- name: MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE
value: logfile,health,info

View File

@@ -4,10 +4,13 @@ metadata:
name: kafka-broker
labels:
app: kafka
type: stream-ats
type: stream-ats-kafka
component: kafka-broker
spec:
replicas: 1
selector:
matchLabels:
app: kafka
template:
metadata:
labels:

View File

@@ -5,7 +5,7 @@ metadata:
labels:
app: kafka
component: kafka-broker
type: stream-ats
type: stream-ats-kafka
spec:
ports:
- port: 9092

View File

@@ -4,10 +4,13 @@ metadata:
name: kafka-zk
labels:
app: kafka
type: stream-ats
type: stream-ats-kafka
component: kafka-zk
spec:
replicas: 1
selector:
matchLabels:
app: kafka-zk
template:
metadata:
labels:

View File

@@ -5,7 +5,7 @@ metadata:
labels:
app: kafka
component: kafka-zk
type: stream-ats
type: stream-ats-kafka
spec:
ports:
- name: client

View File

@@ -8,6 +8,9 @@ metadata:
component: log
spec:
replicas: 1
selector:
matchLabels:
app: log
template:
metadata:
labels:

View File

@@ -8,6 +8,9 @@ metadata:
component: time
spec:
replicas: 1
selector:
matchLabels:
app: time
template:
metadata:
labels:

View File

@@ -66,6 +66,11 @@ function delete_acceptance_test_components() {
kubectl delete pod,deployment,rc,service -l type="stream-ats"
}
function delete_acceptance_test_infra() {
kubectl delete pod,deployment,rc,service -l type="stream-ats-kafka"
}
#Main script starting
SECONDS=0
@@ -102,7 +107,7 @@ then
duration=$SECONDS
echo "Total time: Build took $(($duration / 60)) minutes and $(($duration % 60)) seconds to complete."
delete_acceptance_test_infra
exit $BUILD_RETURN_VALUE
fi
@@ -123,10 +128,12 @@ then
duration=$SECONDS
echo "Total time: Build took $(($duration / 60)) minutes and $(($duration % 60)) seconds to complete."
delete_acceptance_test_infra
exit $BUILD_RETURN_VALUE
fi
delete_acceptance_test_infra
duration=$SECONDS
echo "Cumulative Build Time Across All Tests: Build took $(($duration / 60)) minutes and $(($duration % 60)) seconds to complete."