Skip to content

Commit 9d5a45c

Browse files
committed
Clean up WASM CI workarounds
1 parent 6051e62 commit 9d5a45c

2 files changed

Lines changed: 0 additions & 45 deletions

File tree

.github/workflows/publish-wasm-extension-artifact.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,6 @@ jobs:
8787
working-directory: wordpress-playground
8888
run: npm ci --ignore-scripts
8989

90-
- name: Configure Docker DNS
91-
run: |
92-
echo '{"dns": ["8.8.8.8", "1.1.1.1"]}' | sudo tee /etc/docker/daemon.json
93-
sudo systemctl restart docker
94-
for i in 1 2 3 4 5 6 7 8 9 10; do
95-
if docker info >/dev/null 2>&1; then break; fi
96-
sleep 2
97-
done
98-
9990
- name: Build wp_mysql_parser side module
10091
working-directory: sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike
10192
env:
@@ -119,17 +110,6 @@ jobs:
119110
if-no-files-found: error
120111
retention-days: ${{ github.event.inputs.retention-days || '30' }}
121112

122-
- name: Upload diagnostic logs on failure
123-
if: failure()
124-
uses: actions/upload-artifact@v4
125-
with:
126-
name: wasm-extension-publish-failure-php${{ matrix.php }}
127-
path: |
128-
sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike/dist/
129-
sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike/*.log
130-
if-no-files-found: ignore
131-
retention-days: 14
132-
133113
package:
134114
name: Package extension manifest
135115
runs-on: ubuntu-latest

.github/workflows/wasm-spike.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,6 @@ jobs:
8181
working-directory: wordpress-playground
8282
run: npm ci --ignore-scripts
8383

84-
- name: Configure Docker DNS
85-
run: |
86-
# GitHub-hosted runners occasionally have a Docker daemon whose
87-
# default bridge network can't resolve archive.ubuntu.com. Pin
88-
# explicit public resolvers so apt-get inside the base image build
89-
# can reach the Ubuntu mirrors.
90-
echo '{"dns": ["8.8.8.8", "1.1.1.1"]}' | sudo tee /etc/docker/daemon.json
91-
sudo systemctl restart docker
92-
# Wait for Docker to come back up.
93-
for i in 1 2 3 4 5 6 7 8 9 10; do
94-
if docker info >/dev/null 2>&1; then break; fi
95-
sleep 2
96-
done
97-
9884
- name: Build wp_mysql_parser side module
9985
working-directory: sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike
10086
env:
@@ -138,14 +124,3 @@ jobs:
138124
path: sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike/dist/
139125
if-no-files-found: error
140126
retention-days: 14
141-
142-
- name: Upload diagnostic logs on failure
143-
if: failure()
144-
uses: actions/upload-artifact@v4
145-
with:
146-
name: wasm-spike-failure-php${{ matrix.php }}-${{ matrix.async-mode }}
147-
path: |
148-
sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike/dist/
149-
sqlite-database-integration/packages/php-ext-wp-mysql-parser/wasm-spike/*.log
150-
if-no-files-found: ignore
151-
retention-days: 14

0 commit comments

Comments
 (0)