Skip to content

Commit bc04ddf

Browse files
committed
ci: add GitHub Actions workflows for CI/CD pipeline and release management
1 parent eb2d451 commit bc04ddf

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,30 @@ jobs:
122122
sudo apt-get update
123123
sudo apt-get install -y docker.io git curl
124124
125+
- name: Debug Workspace (Before Script)
126+
run: |
127+
echo "GITHUB_WORKSPACE is: $GITHUB_WORKSPACE"
128+
echo "Listing $GITHUB_WORKSPACE:"
129+
ls -la $GITHUB_WORKSPACE
130+
echo "Touching $GITHUB_WORKSPACE/integration-report.md"
131+
touch $GITHUB_WORKSPACE/integration-report.md
132+
echo "Listing $GITHUB_WORKSPACE after touch:"
133+
ls -la $GITHUB_WORKSPACE
134+
125135
- name: Run integration tests
126136
run: |
137+
chmod +x install.sh # Ensure root install.sh is executable BEFORE test script copies it
127138
chmod +x .github/scripts/test-integration.sh
128139
./.github/scripts/test-integration.sh
129140
141+
- name: Debug Workspace (After Script)
142+
if: always() # Run this even if the script fails
143+
run: |
144+
echo "Listing $GITHUB_WORKSPACE after script execution:"
145+
ls -la $GITHUB_WORKSPACE
146+
echo "Contents of $GITHUB_WORKSPACE/integration-report.md (if it exists):"
147+
cat $GITHUB_WORKSPACE/integration-report.md || echo "integration-report.md not found by cat command"
148+
130149
- name: Upload integration report
131150
if: always()
132151
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,4 @@ jobs:
143143
prerelease: false
144144

145145
- name: Output Release URL
146-
env:
147-
RELEASE_URL: ${{ steps.create_release.outputs.html_url }}
148-
run: echo "Release URL: $RELEASE_URL"
146+
run: echo "Release URL: ${{ steps.create_release.outputs.html_url }}"

0 commit comments

Comments
 (0)