Skip to content

Commit 0c2a95c

Browse files
committed
remove debug step
1 parent 21abaa1 commit 0c2a95c

1 file changed

Lines changed: 0 additions & 49 deletions

File tree

.github/workflows/build-citus-community-nightlies.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -69,55 +69,6 @@ jobs:
6969
- name: Install python requirements
7070
run: python -m pip install -r tools/packaging_automation/requirements.txt
7171

72-
- name: Debug run packaging container directly and capture logs
73-
if: startsWith(matrix.platform, 'debian/') || startsWith(matrix.platform, 'ubuntu/')
74-
env:
75-
GITHUB_TOKEN: ${{ steps.app.outputs.token }}
76-
CONTAINER_BUILD_RUN_ENABLED: "true"
77-
run: |
78-
set -euo pipefail
79-
mkdir -p container_logs
80-
mkdir -p "$(pwd)/packages/${{ matrix.platform }}"
81-
rm -f container_logs/stdout.txt container_logs/stderr.txt
82-
83-
os="${{ matrix.platform }}"
84-
os="${os%%/*}" # debian or ubuntu
85-
rel="${{ matrix.platform }}"
86-
rel="${rel##*/}" # bookworm/trixie/jammy/noble
87-
88-
IMAGE="citus/packaging:${os}-${rel}-all"
89-
echo "Using image: $IMAGE"
90-
91-
docker run --rm \
92-
-v "$(pwd)/packages/${{ matrix.platform }}":/packages \
93-
-v "$(pwd)/packaging":/buildfiles:ro \
94-
-e GITHUB_TOKEN \
95-
-e CONTAINER_BUILD_RUN_ENABLED \
96-
-e PACKAGE_ENCRYPTION_KEY \
97-
-e UNENCRYPTED_PACKAGE \
98-
-e MSRUSTUP_PAT \
99-
-e CRATES_IO_MIRROR_FEED_TOKEN \
100-
-e INSTALL_RUST \
101-
-e CI \
102-
"$IMAGE" nightly \
103-
> container_logs/stdout.txt 2> container_logs/stderr.txt || true
104-
105-
echo "===== STDERR (first 200 lines) ====="
106-
sed -n '1,200p' container_logs/stderr.txt || true
107-
echo "===== STDOUT (first 200 lines) ====="
108-
sed -n '1,200p' container_logs/stdout.txt || true
109-
110-
echo "===== STDERR (last 200 lines) ====="
111-
tail -n 200 container_logs/stderr.txt || true
112-
echo "===== STDOUT (last 200 lines) ====="
113-
tail -n 200 container_logs/stdout.txt || true
114-
115-
- uses: actions/upload-artifact@v4
116-
if: always() && (startsWith(matrix.platform, 'debian/') || startsWith(matrix.platform, 'ubuntu/'))
117-
with:
118-
name: container-logs-${{ matrix.platform }}
119-
path: container_logs/
120-
12172
- name: Build packages
12273
run: |
12374
python -m tools.packaging_automation.citus_package \

0 commit comments

Comments
 (0)