Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KafkaSource to released YAMLs #1415

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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 $@