Update API version attributes
This commit is contained in:
@@ -8,6 +8,9 @@ metadata:
|
||||
component: http-source
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: http-source
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -8,6 +8,9 @@ metadata:
|
||||
component: log
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: log
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
labels:
|
||||
app: kafka
|
||||
component: kafka-broker
|
||||
type: stream-ats
|
||||
type: stream-ats-kafka
|
||||
spec:
|
||||
ports:
|
||||
- port: 9092
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
labels:
|
||||
app: kafka
|
||||
component: kafka-zk
|
||||
type: stream-ats
|
||||
type: stream-ats-kafka
|
||||
spec:
|
||||
ports:
|
||||
- name: client
|
||||
|
||||
@@ -8,6 +8,9 @@ metadata:
|
||||
component: log
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: log
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -8,6 +8,9 @@ metadata:
|
||||
component: time
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: time
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user