41
41
run : echo "[Evergreen Task](${{ github.event.inputs.evergreen_task_url }})" >> $GITHUB_STEP_SUMMARY
42
42
test :
43
43
name : ${{ matrix.package }} test ${{ matrix.test }} (${{ matrix.hadron-distribution }})
44
+ timeout-minutes : 30
44
45
strategy :
45
46
fail-fast : false
46
47
matrix :
55
56
- windows_msi
56
57
- windows_setup
57
58
- linux_deb
58
- # TODO: Re-enable (see https://github.com/mongodb-js/compass/actions/runs/13281152689/job/37079619474)
59
- # - linux_tar
60
- # TODO: Enable (needs a docker container)
59
+ # TODO(COMPASS-9061): Fix and enable the linux_tar smoke tests
60
+ # - linux_tar
61
61
- linux_rpm
62
62
hadron-distribution :
63
63
- compass
@@ -93,10 +93,11 @@ jobs:
93
93
runs-on : ubuntu-latest
94
94
arch : x64
95
95
hadron-platform : linux
96
- # - package: linux_tar
97
- # runs-on: ubuntu-latest
98
- # arch: x64
99
- # hadron-platform: linux
96
+ # TODO(COMPASS-9061): Fix and enable the linux_tar smoke tests
97
+ # - package: linux_tar
98
+ # runs-on: ubuntu-latest
99
+ # arch: x64
100
+ # hadron-platform: linux
100
101
- package : linux_rpm
101
102
runs-on : ubuntu-latest
102
103
arch : x64
@@ -120,12 +121,6 @@ jobs:
120
121
install-update-server : true
121
122
122
123
exclude :
123
- # TODO: See https://github.com/mongodb-js/compass/actions/runs/13281152689/job/37079620322
124
- - package : osx_dmg
125
- test : auto-update-from
126
- # TODO: See https://github.com/mongodb-js/compass/actions/runs/13281152689/job/37079621700
127
- - package : windows_setup
128
- test : auto-update-from
129
124
# Skip auto-update tests for isolated and readonly distributions for now
130
125
# This is not supported by the update server we're using in the test harness
131
126
- hadron-distribution : compass-isolated
@@ -136,18 +131,34 @@ jobs:
136
131
test : auto-update-from
137
132
- hadron-distribution : compass-readonly
138
133
test : auto-update-to
139
- # Temporary skip failing auto-update-to tests
134
+
135
+
136
+ # TODO(COMPASS-9067): auto-update-from does not work for windows. Not
137
+ # even manually. It downloads the releases file, the toast appears
138
+ # that says it is downloading the update, the log appears that says
139
+ # thatit is downloading the update, but it never makes the request to
140
+ # the update server to actually download the .nupkg file. Strangely
141
+ # auto-update-to works. (which starts with the latest release and then
142
+ # updates to the newly packaged one) and auto-updating from an old dev
143
+ # version also works. it seems to be the fact that it is actually
144
+ # downgrading from the new package to the most recent release that
145
+ # breaks it? Can't see any other difference.
146
+ - test : auto-update-from
147
+ package : windows_setup
148
+
149
+ # Skip auto-update-to tests for anything except the one release
150
+ # package we install for that platform and arch, because that's the
151
+ # only one that gets installed and therefore updated.
152
+ # See https://github.com/10gen/compass-mongodb-com/blob/ae1ce87c54ab8702e94b154ffe2bfb9997b56661/src/routes/update.js#L320-L411
153
+ # ie. only leave osx_dmg, windows_setup, linux_deb, linux_rpm
140
154
- test : auto-update-to
141
- package : osx_dmg
155
+ package : osx_zip
142
156
- test : auto-update-to
143
157
package : windows_zip
144
158
- test : auto-update-to
145
159
package : windows_msi
146
160
- test : auto-update-to
147
- package : windows_setup
148
- # Waiting for https://github.com/10gen/compass-mongodb-com/pull/122 to be released
149
- - test : auto-update-to
150
- package : linux_deb
161
+ package : linux_tar
151
162
- test : auto-update-to
152
163
package : linux_rpm
153
164
@@ -221,3 +232,11 @@ jobs:
221
232
working-directory : packages/compass-smoke-tests
222
233
# Using --skipUninstalling --skipCleanup because the runners are ephemeral
223
234
run : npm start -- --package ${{ matrix.package }} --tests ${{ matrix.test }} --skipUninstall --skipCleanup
235
+
236
+ - name : ' Upload logs'
237
+ uses : actions/upload-artifact@v4
238
+ if : always()
239
+ with :
240
+ name : ${{ matrix.hadron-distribution}}-${{ matrix.hadron-platform}}-${{ matrix.arch }}-${{ matrix.package }}-${{ matrix.test }}-logs
241
+ path : packages/compass-e2e-tests/.log/
242
+ include-hidden-files : true
0 commit comments