Skip to content

Commit

Permalink
Update current feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fjammes committed Jul 20, 2024
1 parent 6e71c48 commit 75b08fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions e2e/argocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,14 @@ argocd app set fink-broker -p image.repository="$CIUX_IMAGE_REGISTRY" \

argocd app sync -l app.kubernetes.io/instance=fink

# TODO Wait for kafkatopic to exist
retry kubectl wait --for condition=ready kafkatopics -n kafka ztf-stream-sim
kafka_topic="ztf-stream-sim"
echo "Wait for kafkatopic $kafka_topic to exist"
retry kubectl wait --for condition=ready kafkatopics -n kafka "$kafka_topic"

# Check if kafka namespace exists,
# if yes, it means that the e2e tests are running
if kubectl get namespace kafka; then
echo "Retrieve kafka secrets"
echo "Retrieve kafka secrets for e2e tests"
if [[ "$CIUX_IMAGE_URL" =~ "-noscience" ]];
then
FINKCONFIG="$DIR/finkconfig_noscience"
Expand Down

0 comments on commit 75b08fd

Please sign in to comment.