Skip to content

Commit ed005a8

Browse files
authored
ci: fix cat logs for metachaos (#18491)
1 parent a3273de commit ed005a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/artifact_meta_container_failure/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
for name in "test-databend-meta-0" "test-databend-meta-1" "test-databend-meta-2" "databend-metaverifier"
1515
do
1616
echo "cat logs of $name"
17-
kubectl exec -i $name -n databend -- cat-logs > logs/$name.log
17+
kubectl exec -i $name -n databend -- /cat-logs.sh > logs/$name.log
1818
done
1919
tar -zcf logs/failure-${{ inputs.name }}.tar.gz logs/*
2020
- uses: actions/upload-artifact@v4

docker/meta-chaos/meta.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ RUN apt-get update -y && \
1010
rm -rf /var/cache/apt/*
1111
COPY ./distro/$TARGETPLATFORM/databend-meta /usr/bin/databend-meta
1212
COPY ./distro/$TARGETPLATFORM/databend-metactl /usr/bin/databend-metactl
13-
COPY ./distro/$TARGETPLATFORM/cat-logs.sh /usr/bin/cat-logs
13+
COPY ./distro/$TARGETPLATFORM/cat-logs.sh /cat-logs.sh
1414
ENTRYPOINT ["databend-meta"]

0 commit comments

Comments
 (0)