Skip to content

Commit 8aa90ad

Browse files
authored
test: update the CI pipeline to remove unnecessary steps and allow some padding room for log collection (#280)
Minor changes Signed-off-by: michaelawyu <chenyu1@microsoft.com>
1 parent 5b1e2a4 commit 8aa90ad

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ jobs:
8585
]
8686
if: needs.detect-noop.outputs.noop != 'true'
8787
steps:
88-
- name: Remove unnecessary files
89-
run: |
90-
sudo rm -rf /usr/share/dotnet
91-
sudo rm -rf /opt/ghc
92-
sudo rm -rf "/usr/local/share/boost"
93-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
94-
9588
- name: Set up Go
9689
uses: actions/setup-go@v6
9790
with:
@@ -135,7 +128,10 @@ jobs:
135128

136129
- name: Collect logs
137130
if: always()
131+
# Wait for a bit before log collection; this gives the agent pods some time to shut down
132+
# gracefully and flush their logs.
138133
run: |
134+
sleep 30
139135
make collect-e2e-logs
140136
env:
141137
KUBECONFIG: '/home/runner/.kube/config'

0 commit comments

Comments
 (0)