Skip to content

Commit

Permalink
fix: Disable fluentbit deployment for local ac tests (#21072)
Browse files Browse the repository at this point in the history
  • Loading branch information
xpuska513 authored Jan 5, 2023
1 parent 2d0d30c commit 2485576
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tools/bin/acceptance_test_kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if [ -n "$CI" ]; then
wait
fi

if [ -n "$CI" ]; then
echo "Deploying fluentbit"
helm repo add fluent https://fluent.github.io/helm-charts
helm repo update fluent
Expand All @@ -29,7 +30,7 @@ helm install --values tools/bin/fluent_values.yaml --set env[1].name="AWS_ACCESS
--set env[3].name="AWS_S3_BUCKET" --set env[3].value=${AWS_S3_BUCKET} \
--set env[4].name="SUITE_TYPE" --set env[4].value="kustomize-logs" \
--generate-name fluent/fluent-bit

fi

echo "Starting app..."

Expand Down
3 changes: 2 additions & 1 deletion tools/bin/acceptance_test_kube_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kubectl patch configmap/coredns \
--type merge \
-p '{"data":{"NodeHosts": "${DOCKER_HOST_IP} host.docker.internal" }}'


if [ -n "$CI" ]; then
echo "Deploying fluentbit"
helm repo add fluent https://fluent.github.io/helm-charts
helm repo update fluent
Expand All @@ -26,6 +26,7 @@ helm install --values tools/bin/fluent_values.yaml --set env[1].name="AWS_ACCESS
--set env[3].name="AWS_S3_BUCKET" --set env[3].value=${AWS_S3_BUCKET} \
--set env[4].name="SUITE_TYPE" --set env[4].value="helm-logs" \
--generate-name fluent/fluent-bit
fi

echo "Replacing default Chart.yaml and values.yaml with a test one"
mv charts/airbyte/Chart.yaml charts/airbyte/Chart.yaml.old
Expand Down

0 comments on commit 2485576

Please sign in to comment.