Skip to content

Commit

Permalink
Add KafkaSource to released YAMLs (#1415)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
  • Loading branch information
pierDipi authored Nov 5, 2021
1 parent c108f41 commit f8f2a9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ source $(dirname $0)/data-plane.sh
source $(dirname $0)/control-plane.sh

export EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT="eventing-kafka-controller.yaml"
export EVENTING_KAFKA_SOURCE_ARTIFACT="eventing-kafka-source.yaml"
export EVENTING_KAFKA_BROKER_ARTIFACT="eventing-kafka-broker.yaml"
export EVENTING_KAFKA_SINK_ARTIFACT="eventing-kafka-sink.yaml"
export EVENTING_KAFKA_ARTIFACT="eventing-kafka.yaml"
Expand All @@ -35,6 +36,7 @@ function fail() {
function build_release() {

[ -f "${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT}" ] && rm "${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT}"
[ -f "${EVENTING_KAFKA_SOURCE_ARTIFACT}" ] && rm "${EVENTING_KAFKA_SOURCE_ARTIFACT}"
[ -f "${EVENTING_KAFKA_BROKER_ARTIFACT}" ] && rm "${EVENTING_KAFKA_BROKER_ARTIFACT}"
[ -f "${EVENTING_KAFKA_SINK_ARTIFACT}" ] && rm "${EVENTING_KAFKA_SINK_ARTIFACT}"

Expand All @@ -50,11 +52,12 @@ function build_release() {

{
cat ${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT}
cat ${EVENTING_KAFKA_SOURCE_ARTIFACT}
cat ${EVENTING_KAFKA_BROKER_ARTIFACT}
cat ${EVENTING_KAFKA_SINK_ARTIFACT}
} >>${EVENTING_KAFKA_ARTIFACT}

export ARTIFACTS_TO_PUBLISH=("${EVENTING_KAFKA_ARTIFACT} ${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT} ${EVENTING_KAFKA_BROKER_ARTIFACT} ${EVENTING_KAFKA_SINK_ARTIFACT}")
export ARTIFACTS_TO_PUBLISH=("${EVENTING_KAFKA_ARTIFACT} ${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT} ${EVENTING_KAFKA_SOURCE_ARTIFACT} ${EVENTING_KAFKA_BROKER_ARTIFACT} ${EVENTING_KAFKA_SINK_ARTIFACT}")
}

main $@

0 comments on commit f8f2a9b

Please sign in to comment.